aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* set SMALL_TIME_T when sizeof time_t == 4Brent Cook2017-08-141-0/+1
|
* disable signed/unsigned mismatch in vs buildsBrent Cook2017-08-131-0/+6
|
* Merge branch 'master' of https://github.com/libressl-portable/portable into ↵d3x0r2017-07-061-0/+1
|\ | | | | | | | | | | SkipInstall Fix merge conflicts from GNUInstallDirs merge to master.
| * use GNUInstallDirs from cmake to specify install paths.d3x0r2017-07-061-0/+1
| | | | | | | | Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
* | Add option LIBRESSL_SKIP_INSTALLd3x0r2017-07-061-0/+6
|/ | | | | | | | Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled. defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules. This is useful if another project includes and links to this statically. I chose to add a prefix to avoid potential name collision because the options are cached globally. If the installation is skipped, maybe it should also disable building apps? I didn't do that.
* Fix CMake module include pathMatt Stancliff2017-06-151-1/+1
| | | | | Need to search the current directory, not the overall project root directory if this is being included as a sub-dependency of another project.
* add getpagesize check for cmakeBrent Cook2017-03-161-0/+5
|
* Add export symbol support to CMakekinichiro2017-01-181-0/+3
|
* start to enable tlstest for portableBrent Cook2017-01-151-2/+2
| | | | Disabled on Windows for now due to pipe2/socketpair support.
* Use correct CMake base directory offsetMatt Stancliff2017-01-121-3/+3
| | | | | | | | | CMAKE_SOURCE_DIR is the top-level directory of a project, but if you include this as a dependency, the file check locations won't exist at the top level of any parent project. CMAKE_CURRENT_SOURCE_DIR is the actual directory of the current project() regardless of compile mode (standalone or included in another project).
* disable symbol hiding for nowBrent Cook2016-11-051-0/+2
|
* Enable tests on Visual Studiokinichiro2016-10-301-0/+3
| | | | | | | | | | | - add patch for aeadtest.c to undef IN - add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo() - define STDERR_FILENO in unistd.h to build pkcs7test.c - add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio - modify to pass test data file as an argument (aeadtest, evptest) - add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa) - do not build pidwraptest on MSVC - fix some indentations
* modify for Intel C++ Compilerkinichiro2016-10-301-17/+36
| | | | | - define _CRT_SUPPRESS_RESTRICT to avoid compilation error - suppress compilation warnings (suggested by @Johnex)
* export DLLs functions for MSVC with CMakekinichiro2016-10-301-6/+22
| | | | | | | | | | | | - Add 3 DEF files to export functions from Windows DLLs - Add gettimeofday to crypto/crypto.def (*1) - Remove gai_strerrorA from tls/tls.def (*1) - Fix CMakeLists.txt to use DEF files as PRIVATE - Change DLL import library file name since it duplicates with static library - Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1) - Add USE_SHARED option to build openssl.exe with shared libraries (*1) (*1) recommended by @mcnameej
* build Windows DLL on CMakeSatoshi Yasushima2016-08-251-1/+1
| | | | | | | like below. * libcrypto-38.dll * libssl-39.dll * libtls-11.dll
* build MinGW on CMakeSatoshi Yasushima2016-08-251-4/+7
|
* properly enable strnlen checks for MSVCBrent Cook2016-07-311-1/+1
|
* don't build nc with MSVCBrent Cook2016-07-111-0/+4
|
* Land #190, Enable cmake on SolarisBrent Cook2016-05-021-8/+23
|\
| * organize enabling asm condition in cmakekinichiro2016-04-151-6/+10
| | | | | | | | | | - add amd64 as same as x86_64 - add solaris(i386)
| * fix cmake on Solariskinichiro2016-04-151-2/+13
| | | | | | | | | | | | - 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
* | add cmake build optionskinichiro2016-04-141-0/+15
|/ | | | | | | | | | | | | - 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"
* add cmake uninstall functionalitykinichiro2016-04-091-0/+8
| | | | | - add uninstall functionality * see https://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
* Land #188, add ASM support for cmake buildsBrent Cook2016-04-091-1/+8
|\
| * modify cmake to build ASMkinichiro2016-04-081-1/+8
| | | | | | | | | | - add functionality compiling ASM with cmake - to enable ASM, `cmake -DENABLE_ASM=on ..`
* | modify cmake to build nckinichiro2016-04-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | - 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
* | Land #185, fix MINGW and CYGWIN builds with cmakeBrent Cook2016-04-091-1/+1
|\ \
| * | add condition for setting BUILD_SHARED (cmake)kinichiro2016-04-051-1/+1
| |/ | | | | | | - add MINGW and CYGWIN for win build
* | Land #183, fix cmake on HP-UXBrent Cook2016-04-091-0/+27
|\ \
| * | fix cmake on HP-UXkinichiro2016-04-041-0/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | set project LANGUAGES to Ckinichiro2016-03-301-1/+1
| |
* | set cmake_minimum_required to 2.8.8kinichiro2016-03-301-1/+1
|/ | | | `OBJECT` library type of add_library was introduced by CMake 2.8.8.
* fix check for strlcatBrent Cook2016-03-121-1/+1
| | | | fixes #175
* check for timegm in cmake buildsBrent Cook2015-10-151-0/+5
|
* add -lrt check for linuxBrent Cook2015-09-111-0/+7
|
* Do not build lib-objects targets if we are just building static libs.Brent Cook2015-09-091-0/+2
| | | | This confuses some cmake targets.
* disable shared CMake builds for OS X / Windows for nowBrent Cook2015-09-071-0/+4
|
* derive version numbers from VERSION filesBrent Cook2015-08-191-14/+14
|
* Add install targets and shared libraries to CMakeJeff Davey2015-08-181-0/+17
|
* MSVC is not yet ready to build all of the testsBrent Cook2015-08-031-1/+3
|
* initial Linux cmake suppportBrent Cook2015-08-011-1/+8
| | | | tested on Ubuntu 14.04
* add cmake testsBrent Cook2015-07-211-0/+14
|
* tests aren't ready for cmake, skip for nowBrent Cook2015-07-211-1/+0
|
* add initial CMake and Visual Studio build supportBrent Cook2015-07-211-0/+130
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.