Initial structure
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
project(tests)
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS chrono thread unit_test_framework)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/include/dd
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(SOURCE_FILES
|
||||
main.cpp
|
||||
FileWatcherTest.cpp
|
||||
ComponentCopyTest.cpp
|
||||
)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
||||
endif()
|
||||
|
||||
add_executable(tests ${SOURCE_FILES})
|
||||
target_link_libraries(tests
|
||||
daydream
|
||||
${Boost_LIBRARIES}
|
||||
)
|
||||
Reference in New Issue
Block a user