continuable/test/playground/CMakeLists.txt
2019-01-13 17:05:28 +01:00

25 lines
566 B
CMake

set(INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
file(GLOB_RECURSE LIB_SOURCES CONFIGURE_DEPENDS ${INCLUDE_DIR}/*.hpp)
set(TEST
${CMAKE_CURRENT_LIST_DIR}/test-playground.cpp)
add_executable(test-playground
${LIB_SOURCES}
${TEST})
group_sources(${CMAKE_CURRENT_LIST_DIR}
${CMAKE_SOURCE_DIR}/include/)
target_link_libraries(test-playground
PRIVATE
gtest
continuable
continuable-features-flags
continuable-features-warnings
continuable-features-noexcept)
add_test(NAME continuable-playground-tests
COMMAND test-playground)