Commit Graph

163 Commits (7473d8c9aaf3f24f140bbd6949f68783137fb60e)

Author SHA1 Message Date
R4SAS dceb0fb8c5
[cmake] add warning about MESHNET option
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 05c1856389
[cmake] do not use CMAKE_OSX_ARCHITECTURES for check
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS dc5cba60d1
[cmake] add MAC_OSX define for Mac
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS a272a2cb7e
[cmake] update min version, drop PCH
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 43b990afe6
[cmake] disable deprecation warning when OpenSSL 3 is used
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 31242401e5 [cmake] update TargetArch.cmake (#1724)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
r4sas ff0e23d2c4
[cmake] use GNUInstallDirs for libraries destination path (#1672)
Signed-off-by: r4sas <r4sas@i2pmail.org>
3 years ago
R4SAS 9fb8e8a582
[cmake] build translations as library
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 0292227a6b
[cmake] switch to glob instead filling sources list
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS ebce1e34d8
[i18n] enable Ukrainian in source
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 919bf4e144
[i18n] add cmake build
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 62cd9fffa3
Automate AES-NI and AVX detection on runtime, make it default on x86-based systems (#1578)
Rework CPU extensions detection code and build with AES-NI and AVX support by default
4 years ago
orignal 57d6c7a3b3 Added TunnelConfig.cpp. Removed CryptoWroker.h 4 years ago
orignal faae2709d9 removed NTCP 4 years ago
R4SAS db6a0e6ad9
[cmake] remove windows build support (#1517)
Removes support for MSVC, MSYS, MinGW and included NSIS installer in cmake
4 years ago
R4SAS a9436aa9af drop i2lua
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS dd8200e8b0
cleanup websocks
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 2f56547d5f
Merge pull request #1477 from PurpleI2P/drop-websockets
drop websockets support
4 years ago
R4SAS 2ac2da41cf
cmake: fix else statement 4 years ago
R4SAS ed574f9d79
use C++17 if available when configuring with cmake 4 years ago
R4SAS bca0809918
cleanup removed websockets funtions
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 00db527377
drop websockets support
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal f651baab25 ECIESX25519AEADRatchetSession added 5 years ago
orignal 29f0e10411 Elligator added 5 years ago
Alexey Korepanov 7147a3694c link libi2pd to boost and zlib 5 years ago
orignal 39400fd381 move key blinding code from LeaseSet.cpp to Blinding.cpp 5 years ago
l-n-s 1db4076bbd CMake: bump version of ZLib 6 years ago
yangfl 52f3081a40 fix typo 6 years ago
Dmitry Marakasov 41e8ab5383 Limit tampering with standard C++ library to Linux
Otherwise it breaks e.g. FreeBSD build where it is not needed at all
6 years ago
yangfl dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 6 years ago
orignal 86c1984982 NTCP2 added 6 years ago
orignal cd0f75106a moved Ed25519 away from signature 6 years ago
orignal 516f140bef ntcp2 crypto added 6 years ago
R4SAS ce8d701ecb
WITH_LIBRARY usage
closes #1146. Need to be checked before.
6 years ago
Fabrice Fontaine 1d934bd543 Install libi2pdclient
When building with -DBUILD_SHARED_LIBS=ON, libi2pdclient is not
installed on target so install it by calling install. Moreover, rename
i2pdclient to libi2pdclient so library is installed with correct name.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years ago
Fabrice Fontaine 6d15be9a32 Fix cmake error when -DBUILD_SHARED_LIBS=ON
Fixes "CMake Error: TARGETS given no LIBRARY DESTINATION for shared
library target" by adding LIBRARY parameter to INSTALL call

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years ago
orignal f5349dcef9
Merge pull request #1115 from majestrate/aesni-avx-runtime-detect
AESNI/AVX runtime detection [WIP]
6 years ago
Jeff Becker 2277dcb069
add cpu.cpp to cmake 6 years ago
orignal ca057177c7
Merge pull request #1110 from radfish/PR--remove-openssl-1.1-warning
cmake: remove warning for OpenSSL 1.1
6 years ago
redfish f1b8742782 cmake: remove warning for OpenSSL 1.1
Works fine.
6 years ago
redfish 7786c97330 cmake: add stdlib args for clang build on Linux
Otherwise linking fails with undefined symbol ... basic_string ... and
libstdc++: DSO not on included in link command.

or with
Host compiler must support std::atomic!
which is due to
undefined reference to `__gxx_personality_v0' and __cxa_begin_catch and
std::terminate()

This was already patched in 7b537a4e94
PR #972 but it got lost, and also needed some tweaking.

Thested with Clan 5.0.1 on Arch Linux (on armv7h).
6 years ago
yangfl 951f8972c7 replace non-working CheckLibcxxAtomic 7 years ago
yangfl e3238ff75c CMakeLists: autodetect libatomic 7 years ago
Jeff Becker c68c5af856
fix lib name 7 years ago
Jeff Becker 5d557003b6
include cmake stuff 7 years ago
Jeff Becker 3b8c3c1346
try fixing issue #897 7 years ago
Dmitry Marakasov 44d6d4405e
Don't meddle with stdlib
Forgotten part of #1014: -stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used.
7 years ago
R4SAS 6d01a3a7d1 fix (quote) 7 years ago
orignal b71e20dfa3
changed back 7 years ago
orignal 474158dd18
rollback. build error 7 years ago