diff options
Diffstat (limited to 'src/dmclock/src/CMakeLists.txt')
-rw-r--r-- | src/dmclock/src/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dmclock/src/CMakeLists.txt b/src/dmclock/src/CMakeLists.txt new file mode 100644 index 00000000..d13229e4 --- /dev/null +++ b/src/dmclock/src/CMakeLists.txt @@ -0,0 +1,14 @@ +set(dmc_srcs dmclock_util.cc ../support/src/run_every.cc) + +add_library(dmclock STATIC ${dmc_srcs}) +add_library(dmclock::dmclock ALIAS dmclock) + +target_compile_options(dmclock PRIVATE + "-Wno-write-strings" "-Wall") +target_include_directories(dmclock PUBLIC + $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src> + $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/support/src>) + +target_link_libraries(dmclock + PUBLIC Boost::boost + PRIVATE Threads::Threads) |