Made use of libfuzzer
This commit is contained in:
parent
8e82428740
commit
f6df4cde4e
9 changed files with 107 additions and 13 deletions
|
|
@ -4,6 +4,7 @@ project (Simple-Web-Server)
|
|||
|
||||
option(USE_STANDALONE_ASIO "set ON to use standalone Asio instead of Boost.Asio" OFF)
|
||||
option(BUILD_TESTING "set ON to build library tests" OFF)
|
||||
option(BUILD_FUZZING "set ON to build library fuzzers" OFF)
|
||||
option(USE_OPENSSL "set OFF to build without OpenSSL" ON)
|
||||
|
||||
add_library(simple-web-server INTERFACE)
|
||||
|
|
@ -79,7 +80,9 @@ if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
|||
install(FILES asio_compatibility.hpp server_http.hpp client_http.hpp server_https.hpp client_https.hpp crypto.hpp utility.hpp status_code.hpp mutex.hpp DESTINATION include/simple-web-server)
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
enable_testing()
|
||||
if(BUILD_TESTING OR BUILD_FUZZING)
|
||||
if(BUILD_TESTING)
|
||||
enable_testing()
|
||||
endif()
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue