mirror of
https://bitbucket.org/King_DuckZ/keepupnpup.git
synced 2024-11-07 21:29:00 +00:00
24 lines
527 B
Text
24 lines
527 B
Text
|
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
|
||
|
)
|