projen-cmake
v0.1.1
Published
CMake project type for Projen
Downloads
3
Readme
projen-cmake
CMake project type for Projen
Motive
C++ is a language I enjoy working in. However, I've never really been happy with any build systems I ever used. CMake is probably the best, but it still lacks a degree of user-friendliness and intuitiveness. I want a nicer build tool.
In addition, I find myself gravitating towards giving my C++ projects a very similar structure. And many elements of that structure (like unit testing setup) are repetitive and feel ripe for being automated. I want those things automated.
Usage
Be sure you've installed Projen with npm install projen
.
Run the command npx projen new --from projen-cmake
to create a default CMake project. Once this is done, make edits to your .projenrc.ts
and regenerate with npx projen
toapply changes to your project's generated files.
Plan
- [ ] Craft simple
CMakeLists.txt
files- [ ] Project declaration
- [ ] Add executables and libraries
- [ ] Find packages
- [ ] Add target libraries, compiler options, etc. from packages
- [ ] Generate good Catch2 test configuration
- [ ] Generate individual unit tests
- [ ] Set up project using Pitchfork Layout rules by default
- [ ] Glean and implement best ideas from Lectem's boilerplate