Commit Graph

186 Commits (openssl)

Author SHA1 Message Date
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 6 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
Dmitry Marakasov 4485d6fdf4
Fix flags
-stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used.
7 years ago
R4SAS 100f3380c4
fix upnp definitions and make cmake silent (#999) 7 years ago
orignal 88ba494701 fixed build error 7 years ago
redfish 291f28fcce 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.
7 years ago
redfish 8179e7dbf8 cmake: issue a non-fatal warning for openssl >=1.1 7 years ago
redfish 94bba69dee cmake: check openssl version
See #835 for memory leak issues with OpenSSL >= 1.1
7 years ago
Darknet Villain 05c2adeefd fix typo 7 years ago
Jeff Becker 4e5c2ff620 add AVX option to cmake build system 7 years ago
Jeff Becker 8a3bb50143 fix cmake compile error with websockets 7 years ago
Jeff Becker cf3f8a796a fix path 7 years ago
Jeff Becker 4cc3b7f9fb restructure build to separate the 3 main components into 3 subdirectories
libi2pd for core libs

libi2pd_client for i2pd client libs

daemon for i2pd daemon libs
7 years ago
Jeff Becker 9b62f238ed add option for client tunnels to build tunnels such that OBEP==IBGW 7 years ago
orignal af2a3f3a65 Gost.cpp added 7 years ago
Jeff Becker 0d83a34cfd add initial WebSOCKS implementation 8 years ago
Jeff Becker 79e1d54e4c implement simple bloom filter 8 years ago
atnaguzin 3a3b0cc847 New logo 8 years ago
Jeff Becker e5f5f96771
merge webui code 8 years ago
Jeff Becker 9575f70f38
fix conflicts 8 years ago
Jeff Becker b4e9ed7d18 add web socket ui 8 years ago
Jeff Becker 6688f9a5ef
update cmake for i2lua 8 years ago
brain5lug 5a796a86d7 thread sanitizer configuration option have been added 8 years ago
orignal 315f672254 Timestamp.cpp added 8 years ago
brain5lug 6c7316408b address sanitizer configuration option have been added 8 years ago
Solomenchuk, Vlad f3a61007a7 build instruction for iOS 8 years ago
Dmitry Marakasov 959843ee9c Find miniupnpc library as well as header 8 years ago
Jeff Becker 2e74d91ddc
try fixing https://github.com/PurpleI2P/i2pd/issues/612 8 years ago
hagen fac6229e43 * cmake debug (closes #562) 8 years ago
Jeff Becker 346b0c9d68
disable testnet by default 8 years ago
Jeff Becker f2dde98e2f
add meshnet option to cmake build files 8 years ago
hagen 6350f5e6e8 * Base.cpp : extract gzip classes to separate file 8 years ago
hagen c84468dbed * fix cmake build with upnp=on 8 years ago
hagen 5c9a69e0e8 * drop boost_regex from build deps 8 years ago
orignal 67f1e07508 I2CP added 8 years ago
hagen 06a1a8690d * add HTTP.{cpp,h} to build 8 years ago
Mikhail Titov 0a08765d73 Win32: hide to tray, webconsole menu item
Standard icon works for me on Windows 8
8 years ago
Mikhail Titov abdef67ccc _WIN32_WINNT drove nuts 64 bit MSVC builds
TODO: figure out why
8 years ago
Mikhail Titov daad975f5d fixup! invoke win32app functions from main 8 years ago
Mikhail Titov 18c00f0a4b Avoid debug symbol files (PDB) collision with MSVC 8 years ago
hagen 55315fca80 Merge branch 'openssl' into new-fs
Conflicts:
	AddressBook.cpp
	NetDb.cpp
	filelist.mk
8 years ago
orignal f1d4818045 Family.cpp added 8 years ago
hagen 6f4271c054 * update buildsystems 8 years ago
orignal b97f095de4 Merge pull request #360 from AMDmi3/build-type
Do not force build type
8 years ago
orignal 10e2b35483 Merge pull request #359 from AMDmi3/system-include-dirs
Include system directories as SYSTEM
8 years ago
orignal 16920a89f3 Merge pull request #358 from AMDmi3/local-include-dirs-before
Always place local include directories before all others
8 years ago
Dmitry Marakasov 4ef183fee6 Do not force build type 8 years ago
Dmitry Marakasov 2115ce6606 Do not try to use miniupnp if upnp support is disabled 8 years ago
Dmitry Marakasov 61d1b733f7 Include system directories as SYSTEM 8 years ago
Dmitry Marakasov 4978edb8be Always place local include directories before all others 8 years ago
hagen 209934ad67 * update buildsystems to include Config.cpp 9 years ago
hagen b2ae30eba1 * fix cmake output library name (#315) 9 years ago
Mikhail Titov 8e04218c95 Install optional miniupnpc.dll if exist 9 years ago
Mikhail Titov 95a5473051 Initial CMake based packaging 9 years ago
Mikhail Titov 5f8223ebb5 Patch for 64-bit zlib build with MSVC assembly 9 years ago
Mikhail Titov 51146d4152 MSVC optimization & hardening 9 years ago
Mikhail Titov 3334281949 Search for patch tool with CMake
This is to enable static build of "bundled" zlib with MSVC
9 years ago
Mikhail Titov edd9a18257 Cleanup some CMake msys specifics
* Exclude MSYS from -z relro
* WIN32_LEAN_AND_MEAN
9 years ago
Mikhail Titov 65f993677f Remove unnecessary thread & chrono Boost libs
Prevent boost thread auto-link erroneous attempts with MSVC
9 years ago
Mikhail Titov bc775140bb appveyor.yml 9 years ago
Mikhail Titov 4b2bd6e18f Include dir for precompiled headers with gcc 9 years ago
Mikhail Titov 9d70851eb9 Respect static for zlib with CMake 9 years ago
Mikhail Titov 759dfb28ce Increase PCH heap limit for MSVC 9 years ago
Mikhail Titov ff356b1f21 Use assembly language when building zlib for MSVC++ 9 years ago
Mikhail Titov 76549d0a4a Fix win32 resource compilation with msys
squash! Fix win32 resource

winres.h is missing for mingw
9 years ago
Mikhail Titov e5c72cae83 Fix CMake stuff for msys2 9 years ago
orignal d01a21a867 backport openbsd support 9 years ago
Mikhail Titov c15c26a233 Bring CMake stuff in agreement with #294 discussion 9 years ago
Mikhail Titov 4a2fcb9deb Use OpenSSL & zlib with CMake instead of Crypto++ 9 years ago
Mikhail Titov efe7e469ce Missing libdl for UPnP 9 years ago
Mikhail Titov 0354685e35 Precompiled headers
Sample times:
MSVC 2013, debug x64: 5min 15sec -> 2min 15sec
Ubuntu 15.04, with hardening, static, release: 5min 21sec -> 3min 24sec
9 years ago
Mikhail Titov ba2b792916 Cleanup cryptopp headers path search 9 years ago
Mikhail Titov 44768e92ad CMake: fix static builds, add LTO for MinSizeRel 9 years ago
orignal 9a9b38a8c3 Merge pull request #199 from mlt/cmake-msvc
MSVC specific debug symbols don't belong to other platforms
9 years ago
Mikhail Titov b5ee997da9 MSVC specific debug symbols don't belong to other platforms 9 years ago
Mikhail Titov 046ffd8648 Fix UPnP for Win32
* find_package for headers
* Swap includes order to pass compilation with MSVC 2013
* Enforce SO address resolution checks
* Change SO/DLL name on Windows
* Portable sleep from C++11

This closes #186
9 years ago
Mikhail Titov a3b08c0016 Fix Win32 build with CMake and MSVC 9 years ago
apprb c266cff956
CMakeLists.txt: compilation speed up 9 years ago
Yuri Sevatz 20310cb109 Fix -lboost_date_time missing from CMakeLists.txt 9 years ago