1
0
Fork 0
mirror of https://bitbucket.org/King_DuckZ/keepupnpup.git synced 2024-11-07 21:29:00 +00:00
keepupnpup/test/unit/CMakeLists.txt

24 lines
527 B
Text
Raw Normal View History

2016-09-12 22:38:40 +00:00
project(test_kuu CXX)
add_executable(${PROJECT_NAME}
test_upnp.cpp
)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_EXTENSIONS OFF)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
add_test(
NAME kuu
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${PROJECT_NAME}
)
target_link_libraries(${PROJECT_NAME}
PRIVATE keepupnpup_implem
PRIVATE gtest
PRIVATE gtest_main
PRIVATE rapidcheck_gtest
)
target_include_directories(${PROJECT_NAME}
PRIVATE ${CMAKE_SOURCE_DIR}/src
)