drogon/nosql_lib/redis/tests/CMakeLists.txt
Greisberger Christophe 28518b7bba
Fix HttpController regex path matching (#1439)
* Fixed wrong controller method called on regex paths

* Fixed test executables not linking on Windows

* Fixed compilation conversion warnings with explicit casts
2022-11-17 21:56:12 +08:00

21 lines
663 B
CMake

link_libraries(${PROJECT_NAME})
if(WIN32)
link_libraries(iphlpapi)
endif(WIN32)
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)
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)