forked from boostorg/beast
fix #461 This target allows other CMake projects to acquire the Beast headers and link libraries easily.
24 lines
470 B
CMake
24 lines
470 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast extras)
|
|
GroupSources(include/beast beast)
|
|
GroupSources(test "/")
|
|
|
|
add_executable (lib-tests
|
|
${BEAST_INCLUDES}
|
|
${EXTRAS_INCLUDES}
|
|
../extras/beast/unit_test/main.cpp
|
|
config.cpp
|
|
core.cpp
|
|
http.cpp
|
|
version.cpp
|
|
websocket.cpp
|
|
zlib.cpp
|
|
)
|
|
|
|
target_link_libraries(lib-tests Beast Boost::program_options)
|
|
|
|
if (MINGW)
|
|
set_target_properties(lib-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj")
|
|
endif()
|