forked from boostorg/beast
Only build and run tests in variant=coverage
This commit is contained in:
1 parent
3cb1451a43
commit
9c4b3ed2a7
13 files changed
+123
-96
No files matched your search
+16
-14
@@ -44,18 +44,20 @@ target_link_libraries(http-tests
|
||||
${Boost_CONTEXT_LIBRARY}
|
||||
)
|
||||
|
||||
add_executable (http-bench
|
||||
${BEAST_INCLUDES}
|
||||
${EXTRAS_INCLUDES}
|
||||
nodejs_parser.hpp
|
||||
message_fuzz.hpp
|
||||
../../extras/beast/unit_test/main.cpp
|
||||
nodejs_parser.cpp
|
||||
parser_bench.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-bench
|
||||
Beast
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
if (NOT "${VARIANT}" STREQUAL "coverage")
|
||||
add_executable (http-bench
|
||||
${BEAST_INCLUDES}
|
||||
${EXTRAS_INCLUDES}
|
||||
nodejs_parser.hpp
|
||||
message_fuzz.hpp
|
||||
../../extras/beast/unit_test/main.cpp
|
||||
nodejs_parser.cpp
|
||||
parser_bench.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(http-bench
|
||||
Beast
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
Reference in new issue
Block a user