Davide Beatrici
b339104f4f
Cedar: Add "BLAKE2" submodule
...
OpenSSL provides BLAKE2s, but it only supports an output of 32 bytes. For WireGuard we need a 16 bytes output as well.
The minimum CMake version is bumped to 3.10 because it adds HAS_SSE2 to cmake_host_system_information(): https://cmake.org/cmake/help/v3.10/command/cmake_host_system_information.html
2021-03-01 02:49:57 +01:00
Davide Beatrici
dbd4dd5ae7
Link to Windows libraries in CMake project, remove related #pragma directives
...
In addition to making the code cleaner, this also prevents potential issues due to #pragma directives being in headers.
2021-02-28 20:35:25 +01:00
Davide Beatrici
6903f9b89f
CMake: build targets with versioning info on Windows
2018-11-27 05:26:21 +01:00
Davide Beatrici
e1bd84d7f3
CMake: set PDB output directory, don't set default build type
2018-11-18 04:18:42 +01:00
Davide Beatrici
c1f522c10e
CMake: add support for Windows (Visual C++ 2017 toolset)
2018-10-24 21:25:57 +02:00
Davide Beatrici
b72292edd1
Try to fix macOS build
2018-10-20 13:31:45 +02:00
Davide Beatrici
3429e1bf31
CMake: build Cedar and Mayaqua as shared libraries, create "common" package
2018-10-20 13:12:49 +02:00
Davide Beatrici
39858d7017
CMake: fix date/time leading 0 removal regex and print both during configuration
...
The previous regex expression removed all the 0s present in the input string, meaning that it caused the build to fail in case one of the date/time values was effectively 0.
2018-09-13 22:54:03 +02:00
Davide Beatrici
9d601c2745
CMake: set build info as compiler macros
2018-08-27 05:50:40 +02:00
Andy Walsh
0bbf08fea7
cmake: lib cleanup and use cmake package_find
...
* use OPENSSL_ROOT_DIR
* add special .configure handling for osx
* move readline, curses to cedar
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-31 18:11:13 +02:00
Davide Beatrici
07ed7e1626
src: split CMakeLists.txt for each subdirectory
2018-07-26 06:44:19 +02:00