Have you ever felt overwhelmed trying to kickstart a professional C++ project? Fret not! The ASAP project is here to rescue your time and sanity.
Why You Need ASAP
The C++ development landscape can feel daunting, especially with unit tests, robust workflows, change logs, and more. It’s akin to trying to build a complex Lego castle without a guide—spending hours figuring out how pieces fit instead of having fun crafting your masterpiece. ASAP is that essential instruction manual you’ve been missing!
Key Features of ASAP
- CMake as the build system for easier management
- Cross-platform portability on Linux, OS X, and Windows
- Support for multiple compilers: clang, g++, and MSVC
- Modular structure allowing for self-contained modules
- Integrated unit testing using Google Test (with options for other frameworks)
- Effortless integration of code quality tools like valgrind and clang-tidy
- Faster rebuilds with ccache caching
- CMake package management through CPM
Getting Started with ASAP
Ready to jump into the action? Follow this simple guide to get started!
1. Create a New Repository from the ASAP Template
Start by generating a new project repository using ASAP’s templates.
git clone https://github.com/abdes/asap.git
2. Customize Your New Project
In this stage, you’ll clean and customize your repository. It’s like sprucing up your new home to fit your style!
cd asap
rm -rf .git
git init
3. Start Coding!
With ASAP, you can easily add modules—kind of like adding a new room to your Lego castle. Implement your iconic “Hello World!” program with a breeze.
int main() {
std::cout << "Hello World!" << std::endl;
return 0;
}
Troubleshooting
As you embark on your C++ journey with ASAP, you may encounter a few hiccups:
- Issue: Multiple configurations not working.
- Solution: Ensure you're using the correct CMake presets.
- Issue: Unit tests are failing.
- Solution: Check your test cases against the latest code updates for discrepancies.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Contributing to ASAP
If you're interested in contributing to the ASAP project, you can easily fork the repository on GitHub and submit a pull request. It’s important to align your code with existing conventions for clarity. Each contribution licenses your work under BSD-3-Clause, fostering an open and collaborative environment.
Credits
- Credit to Swift Navigation for their CMake common tools.
- Thank you to all the open-source projects that have inspired this one!
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

