Satoshi Yasushima
829b21581f
build Windows DLL on CMake
...
like below.
* libcrypto-38.dll
* libssl-39.dll
* libtls-11.dll
2016-08-25 18:17:27 +09:00
Satoshi Yasushima
971892766d
build MinGW on CMake
2016-08-25 18:17:12 +09:00
Brent Cook
1fde1eaa44
properly enable strnlen checks for MSVC
2016-07-31 17:10:39 -05:00
Brent Cook
618c32e4a1
don't build nc with MSVC
2016-07-11 03:14:23 -05:00
Brent Cook
5582be55b4
Land #190 , Enable cmake on Solaris
2016-05-02 02:00:55 -05:00
kinichiro
49eabdcb16
organize enabling asm condition in cmake
...
- add amd64 as same as x86_64
- add solaris(i386)
2016-04-15 14:24:00 +09:00
kinichiro
08089a1b20
fix cmake on Solaris
...
- add Solaris specific compiler flags and library
- merge message when SMALL_TIME_T is true
- confirmed on SunOS Release 5.11 Version 11.3 64-bit Solaris i386
2016-04-15 01:47:20 +09:00
kinichiro
bda62f7fe4
add cmake build options
...
- add cmake build options as configure provides
* -DENABLE_ASM (default ON)
* -DENABLE_EXTRATESTS (default OFF)
* -DENABLE_NC (default OFF)
* -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl)
- add biotest and pidwraptest if ENABLE_EXTRATESTS is ON
- add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin
to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
2016-04-14 15:16:52 +09:00
kinichiro
c94670a8cd
add cmake uninstall functionality
...
- add uninstall functionality
* see https://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
2016-04-09 13:37:09 -05:00
Brent Cook
752ad82d33
Land #188 , add ASM support for cmake builds
2016-04-09 12:08:26 -05:00
kinichiro
2510a5e6f9
modify cmake to build nc
...
- modify structure of CMakeLists.txt under apps/
* move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build
* create new apps/nc/CMakeLists.txt for nc build
* modify apps/CMakeLists.txt just add_subdirectory()
- add checking and compile of arc4random_uniform()
- add installing man files, openssl.1 and nc.1
2016-04-09 12:06:40 -05:00
Brent Cook
9a98de6c34
Land #185 , fix MINGW and CYGWIN builds with cmake
2016-04-09 11:50:37 -05:00
Brent Cook
d9b0838432
Land #183 , fix cmake on HP-UX
2016-04-09 11:49:29 -05:00
kinichiro
e1f8a1e160
modify cmake to build ASM
...
- add functionality compiling ASM with cmake
- to enable ASM, `cmake -DENABLE_ASM=on ..`
2016-04-08 15:09:07 +09:00
kinichiro
177e13159b
add condition for setting BUILD_SHARED (cmake)
...
- add MINGW and CYGWIN for win build
2016-04-05 15:35:21 +09:00
kinichiro
3207606f11
fix cmake on HP-UX
...
- CMakeLists.txt
* add OS specific compiler flags and library
* add checking size of time_t
* add checking memmem()
- tests/CMakeLists.txt
* add if(HAVE_MEMMEM) for explicit_bzero
* add checking SMALL_TIME_T for rfc5280time
- crypto/CMakeLists.txt
* add getentropy_hpux.c
- tls/CMakeLists.txt
* fix checking strsep
2016-04-04 14:27:43 +09:00
kinichiro
2997b8577c
set project LANGUAGES to C
2016-03-30 16:10:19 +09:00
kinichiro
02b00b5c07
set cmake_minimum_required to 2.8.8
...
`OBJECT` library type of add_library was introduced by CMake 2.8.8.
2016-03-30 12:52:16 +09:00
Brent Cook
05f3422a9b
fix check for strlcat
...
fixes #175
2016-03-12 17:10:03 -06:00
Brent Cook
dadeeb0a2e
check for timegm in cmake builds
2015-10-15 14:32:16 -05:00
Brent Cook
2af9873259
add -lrt check for linux
2015-09-11 09:11:08 -05:00
Brent Cook
adfb2bf722
Do not build lib-objects targets if we are just building static libs.
...
This confuses some cmake targets.
2015-09-09 06:03:52 -05:00
Brent Cook
ca56c332e3
disable shared CMake builds for OS X / Windows for now
2015-09-07 01:05:33 -05:00
Brent Cook
61fe482d46
derive version numbers from VERSION files
2015-08-19 19:18:03 -05:00
Jeff Davey
5461dea7f1
Add install targets and shared libraries to CMake
2015-08-18 13:20:19 -06:00
Brent Cook
75b90b157c
MSVC is not yet ready to build all of the tests
2015-08-03 07:05:40 -05:00
Brent Cook
6527c32039
initial Linux cmake suppport
...
tested on Ubuntu 14.04
2015-08-01 05:33:19 -05:00
Brent Cook
a9122f74e0
add cmake tests
2015-07-21 22:21:14 -05:00
Brent Cook
3614acd62e
tests aren't ready for cmake, skip for now
2015-07-21 20:01:00 -05:00
Brent Cook
5d8a1cf715
add initial CMake and Visual Studio build support
...
This moves the compatibility include files from include to
include/compat so we can use the awful MS C compiler
<../include/> trick to emulate the GNU #include_next extension.
This also removes a few old compat files we do not need anymore.
2015-07-21 12:08:18 -05:00