Add to your CMakeLists.txt:
include(FetchContent)
FetchContent_Declare(
trueform
GIT_REPOSITORY https://github.com/xlabmedical/trueform.git
GIT_TAG main
)
FetchContent_MakeAvailable(trueform)
add_executable(my_app main.cpp)
target_link_libraries(my_app PRIVATE tf::trueform)
Include the main header and build:
#include <trueform/trueform.hpp>
int main() {
return 0;
}
Then build:
mkdir build && cd build
cmake ..
make -j