cmake: Use static libs to speed up builds

This commit is contained in:
Vinnie Falco committed 2019-03-23 17:50:38 -07:00
1 parent b01d692ad7
commit b38901887b
60 files changed
+369 -91

No files matched your search

+6 -3
View File
@@ -8,15 +8,18 @@
#
GroupSources (include/boost/beast beast)
GroupSources (test/extras/include/boost/beast extras)
GroupSources (test/bench/buffers "/")
add_executable (bench-buffers
${BOOST_BEAST_FILES}
${EXTRAS_FILES}
${TEST_MAIN}
Jamfile
bench_buffers.cpp
)
target_link_libraries(bench-buffers
lib-asio
lib-beast
lib-test
)
set_property(TARGET bench-buffers PROPERTY FOLDER "tests-bench")
+6 -3
View File
@@ -8,14 +8,11 @@
#
GroupSources (include/boost/beast beast)
GroupSources (test/extras/include/boost/beast extras)
GroupSources (test/beast/http "/")
GroupSources (test/bench/parser "/")
add_executable (bench-parser
${BOOST_BEAST_FILES}
${EXTRAS_FILES}
${TEST_MAIN}
Jamfile
${PROJECT_SOURCE_DIR}/test/beast/http/message_fuzz.hpp
nodejs_parser.hpp
@@ -23,4 +20,10 @@ add_executable (bench-parser
bench_parser.cpp
)
target_link_libraries(bench-parser
lib-asio
lib-beast
lib-test
)
set_property(TARGET bench-parser PROPERTY FOLDER "tests-bench")
+6 -3
View File
@@ -8,15 +8,18 @@
#
GroupSources (include/boost/beast beast)
GroupSources (test/extras/include/boost/beast extras)
GroupSources (test/bench/utf8_checker "/")
add_executable (bench-utf8-checker
${BOOST_BEAST_FILES}
${EXTRAS_FILES}
${TEST_MAIN}
Jamfile
bench_utf8_checker.cpp
)
target_link_libraries(bench-utf8-checker
lib-asio
lib-beast
lib-test
)
set_property(TARGET bench-utf8-checker PROPERTY FOLDER "tests-bench")
+5 -8
View File
@@ -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")
+5 -3
View File
@@ -8,7 +8,6 @@
#
GroupSources (include/boost/beast beast)
GroupSources (test/extras/include/boost/beast extras)
GroupSources (test/extern/zlib-1.2.11 zlib)
GroupSources (test/bench/zlib "/")
@@ -18,12 +17,15 @@ endif()
add_executable (bench-zlib
${BOOST_BEAST_FILES}
${EXTRAS_FILES}
${ZLIB_SOURCES}
${TEST_MAIN}
Jamfile
deflate_stream.cpp
inflate_stream.cpp
)
target_link_libraries(bench-zlib
lib-asio
lib-beast
lib-test
)
set_property(TARGET bench-zlib PROPERTY FOLDER "tests-bench")