Use dev_build flag if you want to build tests also.
cmake -Ddev_build=ON /path/to/cppback/root
Add this project as a subdirectory in your projects CMakeLists.txt
...
add_subdirectory(/path/to/cppback/root)
...
and link your executables/libraries against it
...
add_executable(
some_exe
)
target_link_libraries(
some_exe
cppback
)
target_include_directories(
some_exe
PUBLIC ${cppback_INCLUDE_DIRS}
)
...
or just copy the headers you need and mix with your other stuff.