A C++ template to quickly start your own project.
This template includes a simplest runnable helloworld program, which breaks down into a helloworld lib (see src/ and include/helloworld/) and an executable (see bin/main.cpp).
$ ./bootstrap.shmkdir build; cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
# or cmake -DCMAKE_BUILD_TYPE=Release ..
# for more options, see CMakeLists.txt
make -j$ ./bin/main
hello world!# to install libs and headers
sudo make install
# to uninstall
cat install_manifest.txt | sudo xargs rm -rfclang-format is an opt-in if you would like to use.
sudo apt install clang-formatdoxygen is supported if needed.
To generate a document and open it
doxygen Doxyfile
open html/index.html