mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
28518b7bba
* Fixed wrong controller method called on regex paths * Fixed test executables not linking on Windows * Fixed compilation conversion warnings with explicit casts
21 lines
663 B
CMake
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)
|