Commit Graph

48 Commits

Author SHA1 Message Date
Luca Schlecker
44f51f4750 Crow's current features (ssl and compression) can now be enabled through 'CROW_FEATURES' instead of their own CMake variables.
The default features are the ones Crow was installed with but can be overridden by setting 'CROW_FEATURES' before the 'find_package' call.

Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2022-04-04 20:36:57 +02:00
Navid Jalali
115d6c7922 Moving cmake_uninstall.cmake.in to cmake directory and changing the path in CMakeLists.txt 2021-12-19 10:57:17 +03:30
Navid Jalali
e72559d35c Introducing the uninstall (custom) target to CMake 2021-12-18 10:30:51 +03:30
The-EDev
3b61ce9447 updated ssl test to only be added to CMake if CROW_ENABLE_SSL is on 2021-09-28 00:54:27 +03:00
The-EDev
b3638a3b83 Merge remote-tracking branch 'refs/remotes/origin/revamped_setup'
Conflicts:
	.drone.yml
2021-09-27 19:04:01 +03:00
The-EDev
5ceb5f5cba Compile tests in debug mode (no optimization)
This helps make coverage more consistent, and should make any future problems easier to find
2021-09-27 14:56:17 +03:00
The-EDev
ab27164e61 Updated release script such that all you need to do is run the script and make a couple of commits to have a full release. 2021-09-22 06:34:12 +03:00
Luca Schlecker
042fa06445 set the default value for building the examples, building the tests and installing Crow based on Crow being the top-level project. 2021-09-09 17:39:18 +02:00
Luca Schlecker
4c5b8d31cf inform about not executed tests if ssl or compression aren't enabled. 2021-09-01 09:29:12 +02:00
Luca Schlecker
fda2cddc70 add find_package support. 2021-09-01 09:29:12 +02:00
Luca Schlecker
28acb2c5a7 rework cmake configs.
See #160 for more info.
2021-09-01 09:29:02 +02:00
Farook Al-Sammarraie
84878ae4b1
Merge branch 'master' into ssl_test 2021-08-18 13:13:29 +03:00
Igor Mróz
1d270fae19
Add release script. Change server name to use release version to build name. 2021-07-03 22:02:32 +02:00
The-EDev
798f190fc8 added initial ssl testing 2021-04-17 02:33:35 +03:00
The-EDev
eeaa08281b changed crow_all.h generating command to python3
Should probably change it to run the script like a program. For now this is just to get drone running.
2021-04-01 08:59:40 +03:00
rittelle
71576b7578
Fixed CMakeLists.txt
Replaced `${CMAKE_SOURCE_DIR}` with `${CMAKE_CURRENT_SOURCE_DIR}`.
2021-02-09 13:19:06 +01:00
Michele Adduci
bc250a3f66 Cleaned up indentation, added comments, bumped Boost minimum version to 1.64 2021-01-12 13:31:33 +01:00
Michele Adduci
761ddce949 Reenabling tests and examples by default 2021-01-11 07:04:46 +01:00
Michele Adduci
96e1b2c157 Fixed issue with compiler options 2021-01-11 06:59:32 +01:00
Michele Adduci
3cb9222054 Updated cmake 2021-01-08 16:23:15 +01:00
Michele Adduci
6d4c7d8a9b New CMake refactoring 2021-01-08 16:13:39 +01:00
Michele Adduci
e3cc251202 Improving CMakeLists.txt
- Added options BUILD_EXAMPLES and BUILD_TESTING to switch examples on/off during compilationusing standard CMake variable to set the C++ Standard, independently from the compiler
- Using OpenSSL only if BUILD_EXAMPLES are activated, since it's required by Boost ASIO only at runtime as dynamic library
2021-01-06 08:10:59 +01:00
ayaankhan98
4d7283bc2b cmake install rules 2020-12-05 12:51:00 +05:30
Srivatsan Iyer
267694dbbc Fix #include for example_with_all. Using relative directories like "../build/crow_all.h" might not work in all settings. 2020-11-18 22:15:38 +05:30
The-EDev
0ff2ef3e15 added new middlewares folder to CMakeLists.txt 2020-11-12 00:33:37 +03:00
The-EDev
f93d9a8a22 updated paths to merge_all.py, c++ version in cmake, and logo in readme 2020-10-31 21:22:34 +03:00
Igor Mróz
7b8b72bd11
Remove conanfile. Update mustache specification jsons. Remove compilation warnings. Update CMake version. Change test framework to Catch2. 2020-10-19 18:32:16 +02:00
Igor Mróz
103178aa81
Fixed CMakeLists - merge_all.py script takes output path. 2020-07-10 22:47:51 +02:00
ipknHama
274aad86e7 Remove amalgamation result (crow_all.h) from the repository 2017-09-18 05:15:41 +09:00
Jaeseung Ha
08acc7c0be Merge branch 'master' into master 2017-09-18 00:43:42 +09:00
Jaeseung Ha
69ed5c0a8e Merge pull request #147 from thedrow/patch-2
Enable ccache if found for faster builds
2017-09-17 23:27:20 +09:00
Javier Jerónimo Suárez
c03d3b2d5a Make it compatible with conan.io (but optional). 2016-11-22 17:50:06 +01:00
Javier Jerónimo Suárez
e9c97b1350 More 2016-11-19 12:02:04 +01:00
Javier Jerónimo Suárez
990a8a34d0 Trying to add support for conan.io dependency system... 2016-11-19 11:18:21 +01:00
yorickdewid
f4f6b02403 Set cast type without dereferencing pointer 2016-10-03 13:47:22 +02:00
Jaeseung Ha
2cf77c7053 Skip building SSL example if OpenSSL is not found 2016-09-06 09:40:55 +09:00
ipknHama
e161da45e0 Remove warnings: manually applying #101, #104 2016-08-27 18:03:49 +09:00
ipknHama
107ca813a3 Remove unused dependency
- boost datetime, filesystem
2016-08-27 14:24:02 +09:00
Omer Katz
810e7f45fe Enable ccache if found for faster builds. 2016-07-29 10:35:53 +03:00
ipknHama
686e5e220b Add working example for VS2013 and update CMakeList.txt 2015-02-21 05:46:28 +09:00
Xenosoz Hwang
2e67eff80e Add missing dynamic shared object info
A linker option '-lpthread' was required on my Gentoo system.
2014-12-12 05:38:29 +09:00
ipknHama
3e5e91c424 Now amalgamation will be updated automatically. 2014-09-27 20:03:51 +09:00
ipknHama
a7e6787a2c travis update boost-latest, CMakeLists.txt boost version update 2014-09-12 16:55:42 +09:00
ipkn
b70a190077 tcmalloc linking added 2014-08-14 19:22:02 -04:00
ipknHama
001c66b378 amalgamation added 2014-08-08 01:14:27 +09:00
ipknHama
c36aa219e2 now crow becomes completely header only 2014-08-07 08:31:27 +09:00
ipknHama
e70380e003 cmake update, added template test 2014-08-07 04:46:28 +09:00
ipknHama
031615ac86 source resturcturing + CMake 2014-08-07 01:18:33 +09:00