add cmake integration
Browse files- CMakeLists.txt +4 -0
- ac-test-data-whisper-dir.in.h +2 -0
CMakeLists.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
add_library(ac-test-data-whisper INTERFACE)
|
2 |
+
add_library(ac-test-data::whisper ALIAS ac-test-data-whisper)
|
3 |
+
configure_file(ac-test-data-whisper-dir.in.h "${PROJECT_SOURCE_DIR}/gen/ac-test-data-whisper-dir.h")
|
4 |
+
target_include_directories(ac-test-data-whisper INTERFACE "${PROJECT_SOURCE_DIR}/gen")
|
ac-test-data-whisper-dir.in.h
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
#pragma once
|
2 |
+
#define AC_TEST_DATA_WHISPER_DIR "@CMAKE_CURRENT_SOURCE_DIR@"
|