From 3ee9f8dc52b876c2f733b764a6838939e390117c Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 26 Jun 2017 11:50:21 +0200 Subject: [PATCH] Added all header files to cmake install target. Also added -O3 to one test on travis --- .travis.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2b6b746..3a2f59e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ script: make && CTEST_OUTPUT_ON_FAILURE=1 make test && rm -r * && - CXX=g++ cmake -DCMAKE_CXX_FLAGS=\"-Werror -DUSE_STANDALONE_ASIO\" .. && + CXX=g++ cmake -DCMAKE_CXX_FLAGS=\"-Werror -O3 -DUSE_STANDALONE_ASIO\" .. && make && CTEST_OUTPUT_ON_FAILURE=1 make test " diff --git a/CMakeLists.txt b/CMakeLists.txt index 58775de..8fbb907 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,4 +49,4 @@ endif() enable_testing() add_subdirectory(tests) -install(FILES server_http.hpp client_http.hpp server_https.hpp client_https.hpp utility.hpp DESTINATION include/simple-web-server) +install(FILES server_http.hpp client_http.hpp server_https.hpp client_https.hpp crypto.hpp utility.hpp status_code.hpp DESTINATION include/simple-web-server)