2016-04-28 07:54:36 -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 "/")
|
2016-04-28 07:54:36 -04:00
|
|
|
|
2016-05-07 14:57:15 -04:00
|
|
|
add_executable (lib-tests
|
2016-04-29 06:04:40 -04:00
|
|
|
${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
|
2017-04-10 19:24:27 -07:00
|
|
|
config.cpp
|
2016-05-07 14:57:15 -04:00
|
|
|
core.cpp
|
2016-05-01 12:33:35 -04:00
|
|
|
http.cpp
|
|
|
|
|
version.cpp
|
|
|
|
|
websocket.cpp
|
2016-10-18 19:43:36 -04:00
|
|
|
zlib.cpp
|
2016-04-28 07:54:36 -04:00
|
|
|
)
|
|
|
|
|
|
2016-04-29 06:04:40 -04:00
|
|
|
if (NOT WIN32)
|
2017-03-31 08:54:12 +03:00
|
|
|
target_link_libraries(lib-tests ${Boost_LIBRARIES} Threads::Threads)
|
|
|
|
|
else()
|
2016-05-10 11:55:39 -04:00
|
|
|
target_link_libraries(lib-tests ${Boost_LIBRARIES})
|
2016-04-29 06:04:40 -04:00
|
|
|
endif()
|
2016-09-23 14:35:46 +03:00
|
|
|
|
|
|
|
|
if (MINGW)
|
|
|
|
|
set_target_properties(lib-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj")
|
|
|
|
|
endif()
|