kraken: add 'config.h'

This commit is contained in:
Bruno BELANYI 2022-03-12 02:00:05 +01:00
parent 12f458cf94
commit 7f5f1f9e04
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@ add_subdirectory(csv)
add_subdirectory(parse) add_subdirectory(parse)
add_subdirectory(utils) add_subdirectory(utils)
configure_file(config.h.in config.h)
target_link_libraries(kraken PRIVATE target_link_libraries(kraken PRIVATE
csv csv
parse parse

3
src/config.h.in Normal file
View file

@ -0,0 +1,3 @@
#pragma once
#cmakedefine CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@"