forked from boostorg/beast
cmake: Use static libs to speed up builds
This commit is contained in:
1 parent
b01d692ad7
commit
b38901887b
60 files changed
+369
-91
No files matched your search
@@ -8,20 +8,17 @@
|
||||
#
|
||||
|
||||
GroupSources (include/boost/beast beast)
|
||||
GroupSources (example/common common)
|
||||
GroupSources (test/extras/include/boost/beast extras)
|
||||
GroupSources (test/bench/wsload "/")
|
||||
|
||||
remove_definitions (-DBOOST_BEAST_INCLUDE_TEST_MAIN)
|
||||
remove_definitions (-DBOOST_ASIO_SEPARATE_COMPILATION)
|
||||
remove_definitions (-DBOOST_BEAST_SPLIT_COMPILATION)
|
||||
|
||||
add_executable (bench-wsload
|
||||
${BOOST_BEAST_FILES}
|
||||
${COMMON_FILES}
|
||||
${EXTRAS_FILES}
|
||||
Jamfile
|
||||
wsload.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(bench-wsload
|
||||
lib-asio
|
||||
lib-beast
|
||||
)
|
||||
|
||||
set_property(TARGET bench-wsload PROPERTY FOLDER "tests-bench")
|
||||
Reference in new issue
Block a user