Files
boost_beast/test/websocket/CMakeLists.txt
T

31 lines
716 B
CMake
Raw Normal View History

2016-05-07 07:08:21 -04:00
# Part of Beast
2016-09-02 10:09:45 -04:00
GroupSources(extras/beast extras)
2016-05-07 07:08:21 -04:00
GroupSources(include/beast beast)
GroupSources(test/websocket "/")
add_executable (websocket-tests
${BEAST_INCLUDES}
2016-09-02 10:09:45 -04:00
${EXTRAS_INCLUDES}
2016-05-07 07:08:21 -04:00
../../extras/beast/unit_test/main.cpp
2016-08-26 09:11:06 -04:00
websocket_async_echo_server.hpp
websocket_sync_echo_server.hpp
2016-05-07 07:08:21 -04:00
error.cpp
option.cpp
rfc6455.cpp
stream.cpp
teardown.cpp
2016-09-02 10:09:45 -04:00
frame.cpp
mask.cpp
utf8_checker.cpp
2016-05-07 07:08:21 -04:00
)
if (NOT WIN32)
target_link_libraries(websocket-tests ${Boost_LIBRARIES} Threads::Threads)
2017-03-31 08:54:12 +03:00
else()
target_link_libraries(websocket-tests ${Boost_LIBRARIES})
2016-05-07 07:08:21 -04:00
endif()
2016-09-23 14:35:46 +03:00
if (MINGW)
set_target_properties(websocket-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj -Og")
endif()