Files
boost_beast/test/CMakeLists.txt
T

27 lines
567 B
CMake
Raw Normal View History

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
${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
config.cpp
2016-05-07 14:57:15 -04:00
core.cpp
http.cpp
version.cpp
websocket.cpp
2016-10-18 19:43:36 -04:00
zlib.cpp
2016-04-28 07:54:36 -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})
endif()
2016-09-23 14:35:46 +03:00
if (MINGW)
set_target_properties(lib-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj")
endif()