You can find the documentation in the cpmbits website.
pip3 install cpm-cli
CPM depends on CMake and ninja for the build process.
cpm create DeathStartLaserBackend
cd DeathStartLaserBackend
cpm build
After creating the project, the binary will be available in the project build
directory.
./build/DeathStartLaserBackend
CPM manages your project dependencies through CPM-Hub. In order to install a bit, declare it in the project descriptor:
build:
bits:
sqlite3: '3.32.3'
test:
bits:
cest: '1.0'
Then use the command line to install all dependencies.
cpm install
cpm test
Test sources reside in the tests
directory. cpm
will consider as test suites any files that match the expression
test_*.cpp
.