drogon/nosql_lib/redis/tests/CMakeLists.txt

18 lines
613 B
CMake
Raw Normal View History

2021-03-13 11:13:54 +00:00
link_libraries(${PROJECT_NAME})
add_executable(redis_test
redis_test.cc
)
set_property(TARGET redis_test PROPERTY CXX_STANDARD ${DROGON_CXX_STANDARD})
set_property(TARGET redis_test PROPERTY CXX_STANDARD_REQUIRED ON)
2022-09-13 02:30:51 +00:00
set_property(TARGET redis_test PROPERTY CXX_EXTENSIONS OFF)
add_executable(redis_subscriber_test
redis_subscriber_test.cc
)
set_property(TARGET redis_subscriber_test PROPERTY CXX_STANDARD ${DROGON_CXX_STANDARD})
set_property(TARGET redis_subscriber_test PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET redis_subscriber_test PROPERTY CXX_EXTENSIONS OFF)