diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e7ca454..378cd00 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,6 +5,8 @@ add_subdirectory(csv) add_subdirectory(parse) add_subdirectory(utils) +configure_file(config.h.in config.h) + target_link_libraries(kraken PRIVATE csv parse diff --git a/src/config.h.in b/src/config.h.in new file mode 100644 index 0000000..ee2ee87 --- /dev/null +++ b/src/config.h.in @@ -0,0 +1,3 @@ +#pragma once + +#cmakedefine CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@"