Commit graph

59 commits

Author SHA1 Message Date
eidheim
edf99c6426 Fixed OPENSSL_ROOT_DIR for MacOS m1 and m2 setups 2022-09-30 11:59:55 +02:00
eidheim
1bb89e1e8e Fixes #317: Make use of ASIO_STANDALONE when using standalone asio in order to compile on older asio versions without boost 2021-03-26 10:11:39 +01:00
eidheim
dd6094b91c Minor style format correction 2020-10-26 14:28:28 +01:00
eidheim
190e3498c3 Fixes #305: no longer forces on BUILD_TESTING 2020-09-22 16:41:47 +02:00
eidheim
f6df4cde4e Made use of libfuzzer 2020-08-08 11:14:37 +02:00
eidheim
8ee71cddbb Fixes #301: Do not run add_compile_options when Simple-Web-Server is a sub-project 2020-06-26 18:51:22 +02:00
eidheim
ec593ebd93 Fixes #287: fixed STREQUAL expressions in CMakeLists.txt 2020-04-03 11:03:19 +02:00
eidheim
44b787e27a Removed flag -Wsign-conversion for now due to excessive warnings from boost 2019-08-26 14:11:26 +02:00
David Wedderwille
3c251dfadb create the examples only ( http_examples.cpp / https_examples.cpp ) if the boost library is found. 2019-08-13 13:44:23 +02:00
Fabian Sandoval Saldias
c466ed82d5 Add option to build without OpenSSL 2019-07-10 16:07:57 +02:00
eidheim
e1d1404ff7 Fixes #268 : Added mutex.hpp to cmake's install function 2019-07-03 20:25:13 +02:00
eidheim
a743915d72 Made use of clang's Thread Safety Analysis 2019-06-25 11:29:36 +02:00
eidheim
f1327d3bc3 Renamed HAVE_ASIO to ASIO_PATH 2019-06-24 10:20:32 +02:00
eidheim
b0bd7df473 Cleanup of merge request 239 , and reverted changes where examples are not built when standalone asio is used 2019-06-24 10:17:06 +02:00
David Wedderwille
e606f7a4e7 cmake: fixes compile error when "USE_STANDALONE_ASIO" is set.
Signed-off-by: David Wedderwille <davidwe@posteo.de>
2019-06-21 22:08:51 +02:00
eidheim
c2a10cc72a Fixed indentation in last commit 2019-06-19 14:57:01 +02:00
David Wedderwille
a73ce8b148 add asio_compatibility.hpp to the destination directory 2019-06-19 12:07:43 +00:00
eidheim
e334a86fc2 Minor variable name change in CMakeLists.txt 2018-11-14 09:10:00 +01:00
Antoine Villeret
6c548d517e Replace CHECK_INCLUDE_FILE_CXX() with CMake find_file()
the former doesn't work when cross-compiling
2018-11-13 11:42:50 +01:00
taivop
231e5f0065 Update CMake minimum required version to 3.0 (#191) 2018-01-08 13:41:12 +02:00
eidheim
5a7c021dab Added MSVC support to cmake files (not tested, but hopefully it works). Some tests are disabled due to lacking MSVC options. 2017-11-14 19:44:40 +01:00
eidheim
54a3d2ef5a Fixes compilation issue on Debian Jessie when option USE_STANDALONE_ASIO is turned on 2017-11-08 09:47:53 +01:00
eidheim
29f8cc5669 Further CMakeLists.txt improvements and cleanups 2017-11-07 18:26:40 +01:00
eidheim
0d8caeca15 Modernised all CMakeLists.txt files, and made it easier to use Simple-Web-Server as a sub-project 2017-11-07 11:45:17 +01:00
eidheim
64bd58e5da Fixes #149: added and resolved -Wsign-conversion warnings 2017-08-12 15:36:28 +02:00
eidheim
95d44b804d Reverted boost thread removal 2017-07-24 07:37:33 +02:00
eidheim
632bb1ec2f Replaced docker image debian:testing with eidheim/testing, and removed boost.thread and boost.date_time from CMakeLists 2017-07-19 12:56:17 +02:00
eidheim
3ee9f8dc52 Added all header files to cmake install target. Also added -O3 to one test on travis 2017-06-26 11:50:21 +02:00
eidheim
ba4eec7ebe Created Utility.hpp and moved some code into this file. Also improved parse_query_string. 2017-06-22 12:08:56 +02:00
Sébastien Huss
36c2264bdc oups forgot to link to openssl 2016-12-20 22:18:00 +01:00
Sébastien Huss
d4f5fddba3 Made the cache feature secured in #ifdef block and added it to the http
example too
2016-12-20 22:15:58 +01:00
eidheim
6138e95d08 Minor cleanup of CMakeLists.txt 2016-11-23 14:06:58 +01:00
eidheim
8e0d3142bf Added fallback to boost::regex if gcc version<4.9. Fixes #77 2016-10-25 08:33:02 +02:00
eidheim
78d68b063b Now uses std::regex instead of boost::regex 2016-10-24 14:54:09 +02:00
eidheim
7fbb74b456 Fixes #62, required boost version is now 1.53 2016-08-18 12:36:17 +02:00
Alfredo Luque
7ad8de4abc rename include subdirectory to simple-web-server 2016-08-10 15:56:32 -04:00
alfredo
9124a3edd2 Add install target for headers 2016-08-09 20:41:08 -04:00
eidheim
d6f3d55019 Renamed test folder to tests 2016-08-03 12:15:32 +02:00
eidheim
0b397bc697 Added heavy work example 2016-06-29 10:10:34 +02:00
eidheim
dc466e7d1d Fixes #46: library is now fully asynchronous 2016-06-28 12:49:12 +02:00
eidheim
1609f80c38 CMakeLists.txt: extra warning flags and added SYSTEM to system includes. See #45 2016-05-03 09:49:50 +02:00
eidheim
5cca84ee6c Corrected OpenSSL_FOUND to OPENSSL_FOUND. 2015-11-15 21:30:05 +01:00
eidheim
b6080f0a1e A few minor changes to #22. 2015-10-24 16:58:18 +02:00
Øyvind Saltvik
79234c6c6b no static linking 2015-10-15 16:16:26 +02:00
Øyvind Saltvik
7960973793 only build https if openssl found, test msvc14 compiler 2015-10-15 15:00:39 +02:00
Øyvind Saltvik
ec55495562 support visual studio 2015 2015-10-11 16:08:30 +02:00
U-ole-PC\ole
9a708dc7a0 Now supports MSYS2, and parse_test compile with g++-5.2. 2015-09-29 15:19:59 +02:00
Ole Christian Eidheim
d3e0c80e18 Should now compile with g++ 4.8 2015-09-29 14:24:41 +02:00
David Björkevik
57cc062223 Use boost regex instead of std, because of buggy glibc++ in RHEL7 2015-09-28 16:59:03 +02:00
eidheim
e78b321914 Added OPENSSL_ROOT_DIR for OS X. 2015-09-04 18:04:23 +02:00