]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Part of Beast |
2 | ||
3 | GroupSources(extras/beast extras) | |
4 | GroupSources(include/beast beast) | |
5 | GroupSources(test/websocket "/") | |
6 | ||
7 | add_executable (websocket-tests | |
8 | ${BEAST_INCLUDES} | |
9 | ${EXTRAS_INCLUDES} | |
10 | ../../extras/beast/unit_test/main.cpp | |
11 | websocket_async_echo_server.hpp | |
12 | websocket_sync_echo_server.hpp | |
13 | error.cpp | |
14 | option.cpp | |
15 | rfc6455.cpp | |
16 | stream.cpp | |
17 | teardown.cpp | |
18 | frame.cpp | |
19 | mask.cpp | |
20 | utf8_checker.cpp | |
21 | ) | |
22 | ||
23 | if (NOT WIN32) | |
24 | target_link_libraries(websocket-tests ${Boost_LIBRARIES} Threads::Threads) | |
25 | else() | |
26 | target_link_libraries(websocket-tests ${Boost_LIBRARIES}) | |
27 | endif() | |
28 | ||
29 | if (MINGW) | |
30 | set_target_properties(websocket-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj -Og") | |
31 | endif() |