stanimirovb commited on
Commit
5ebf173
1 Parent(s): 4dedbf5

cmake integration

Browse files
Files changed (2) hide show
  1. CMakeLists.txt +4 -0
  2. ac-test-data-llama-dir.in.h +2 -0
CMakeLists.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ add_library(ac-test-data-llama INTERFACE)
2
+ add_library(ac-test-data::llama ALIAS ac-test-data-llama)
3
+ configure_file(ac-test-data-llama-dir.in.h "${PROJECT_SOURCE_DIR}/gen/ac-test-data-llama-dir.h")
4
+ target_include_directories(ac-test-data-llama INTERFACE "${PROJECT_SOURCE_DIR}/gen")
ac-test-data-llama-dir.in.h ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #pragma once
2
+ #define AC_TEST_DATA_LLAMA_DIR "@CMAKE_CURRENT_SOURCE_DIR@"