]>
Commit | Line | Data |
---|---|---|
1 | # Part of Beast | |
2 | ||
3 | GroupSources(extras/beast extras) | |
4 | GroupSources(include/beast beast) | |
5 | GroupSources(test "/") | |
6 | ||
7 | add_executable (lib-tests | |
8 | ${BEAST_INCLUDES} | |
9 | ${EXTRAS_INCLUDES} | |
10 | ../extras/beast/unit_test/main.cpp | |
11 | config.cpp | |
12 | core.cpp | |
13 | http.cpp | |
14 | version.cpp | |
15 | websocket.cpp | |
16 | zlib.cpp | |
17 | ) | |
18 | ||
19 | if (NOT WIN32) | |
20 | target_link_libraries(lib-tests ${Boost_LIBRARIES} Threads::Threads) | |
21 | else() | |
22 | target_link_libraries(lib-tests ${Boost_LIBRARIES}) | |
23 | endif() | |
24 | ||
25 | if (MINGW) | |
26 | set_target_properties(lib-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj") | |
27 | endif() |