f2c726e647
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 10:10:28 up 3 days 21:16, 2 users, load average: 1.44, 1.06, 0.84
12 lines
381 B
CMake
12 lines
381 B
CMake
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
add_library(klib_interface INTERFACE)
|
|
target_include_directories(klib_interface
|
|
INTERFACE
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
|
$<INSTALL_INTERFACE:include/abstract-machine>)
|
|
|
|
add_subdirectory(src)
|
|
# add_subdirectory(tests)
|
|
|
|
install(DIRECTORY include/ DESTINATION include/abstract-machine)
|