Brent Cook
73b371073e
remove xcode annotations for windows
2019-01-20 23:37:44 -06:00
Brent Cook
f553a9fe63
consider masm/mingw assembly flavors from cmake
2019-01-20 21:18:34 -06:00
Brent Cook
7c4d13138a
fix build
2019-01-19 05:09:13 -06:00
Brent Cook
0f0bec5a76
build crypto_lock_win.c in-place
2019-01-01 15:44:11 -06:00
Brent Cook
a256df7fe9
build lock functions with CMake
2018-11-11 11:05:21 -06:00
Brent Cook
1cb05b51c1
Land #439 , Add portable scaffold for SM3
2018-11-11 09:14:41 -06:00
Brent Cook
9c6e9f0995
initial 32-bit arm assembly optimization support
2018-11-11 00:24:35 -06:00
bobsayshilol
34394e7ee0
Misc fixes to bring portable in line with upstream.
2018-11-07 23:45:17 +00:00
kinichiro
0b8343ace3
Fix cmake to generate proper Libs.private in .pc files
2018-10-05 22:59:44 +09:00
kinichiro
f819a2bce7
Fix cmake linking libraries
2018-10-03 20:35:36 +09:00
Jack Lloyd
d4803f134f
Add portable scaffold for SM3
2018-08-14 15:16:36 -04:00
Bi11
981cbcc2a2
Fix build with cmake -G Xcode
2018-07-06 02:58:23 +08:00
Brent Cook
64b6951576
make headers under include/compat private again
2018-06-14 04:48:59 -05:00
Brent Cook
4fcfc82d83
scope private/public headers when embedding into other projects
...
thanks to Cameron Palmer
2018-05-29 05:46:54 -05:00
Don
26bebfc564
Use BUILD_SHARED_LIBS to specify library type
2018-03-21 10:24:52 -07:00
Brent Cook
366071c2cf
add new init functions
2018-03-18 10:43:16 -05:00
Brent Cook
1b84f79f4c
Land #402 , Remove CMAKE_HOST_ references
2018-03-18 09:53:37 -05:00
Brent Cook
c9c8e32fbe
Land #400 , Use groups in CMake install command for libraries
2018-03-18 09:52:27 -05:00
Don
09590953d0
Remove CMAKE_HOST_ references
...
CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake.
2018-03-16 14:59:53 -07:00
Don
5fb488de9f
Use groups in CMake install command for libraries
...
On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
2018-03-16 13:59:26 -07:00
Don
3625c50f44
Use binary directory for symbol exports generation
...
Currently the CMake files generate symbols into the source tree when they should go into the build tree.
2018-03-16 12:15:30 -07:00
Brent Cook
3fb9e63b90
bump base requirement to Windows Vista, use builtin inet_ntop/pton
2018-03-14 07:29:04 -05:00
kinichiro
413956f494
Add bio_meth.c
2018-02-26 22:49:46 +09:00
kinichiro
f4d2b810cb
Remove rsa/rsa_ssl.c
2017-09-01 23:37:09 +09:00
Brent Cook
94e4224f5f
don't build empty object files
2017-08-12 10:05:30 -05:00
d3x0r
a4d80ca56a
Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
...
Fix merge conflicts from GNUInstallDirs merge to master.
2017-07-06 23:11:11 -07:00
d3x0r
2557dd7439
Add option LIBRESSL_SKIP_INSTALL
...
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.
2017-07-06 02:09:44 -07:00
d3x0r
a2bd5ebaba
use GNUInstallDirs from cmake to specify install paths.
...
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
2017-07-06 01:49:43 -07:00
kinichiro
63042e98f8
Add HKDF functionality
2017-05-13 23:59:59 +09:00
kinichiro
048625cf2b
Add freezero support
2017-04-22 23:37:20 +09:00
Brent Cook
d5b247cc4f
Land #297 , Add recallocarray
2017-03-16 19:23:36 -05:00
Brent Cook
8622dc7536
Land #288 , update conditions under which getentropy, arc4random* are exported
2017-03-16 18:53:12 -05:00
kinichiro
c61c9821e8
Add support for getpagesize
2017-03-15 22:02:11 +09:00
kinichiro
8877e9bc55
Add recallocarray
2017-03-09 23:00:04 +09:00
kinichiro
f2c14deb58
Add crypto/evp/m_md5_sha1.c
2017-03-05 11:17:20 +09:00
kinichiro
5297e9d486
Fix condition of arc4random* and getentropy for Cygwin build
...
- Fix the condition of exporting getentropy
- Modify the CMake condition of including arc4random_uniform as same as autoconf
2017-02-20 11:50:47 +09:00
kinichiro
91a8bd7914
Move strsep.c to crypto/compat/ and add ocspcheck build to CMake
2017-01-25 21:31:04 +09:00
Brent Cook
fa149b8c8c
updates for new tests and layout
2017-01-22 20:00:52 -06:00
Brent Cook
91f771f981
add missing ecp_nist*.c files
2017-01-18 22:59:09 -06:00
Brent Cook
301d50eaa3
check if EXTRA_EXPORT is set, fix cmake builds on OpenBSD
2017-01-18 22:59:09 -06:00
kinichiro
3276be122f
Add export symbol support to CMake for libcrypto
2017-01-18 21:05:28 +09:00
Matt Stancliff
63add73d0b
Define CMake library object lists globally
...
OBJECT collections in CMake don't generate any artifacts so these
are safe to hoist out and define globally.
library OBJECT targets are just a list of filenames. It can be useful for
other projects to include lists of sources directly regardless of build mode
(shared, static, or library).
2017-01-12 13:46:22 +08:00
kinichiro
5f187770f3
Add curve25519 to portable
2016-11-06 04:57:23 +09:00
Brent Cook
5842215600
remove duplicate libcrypto static link
2016-11-06 00:24:56 +09:00
Brent Cook
348362416d
remove krb5 from cmake
2016-11-05 06:24:55 -05:00
Brent Cook
19457d72b0
enable preprocessor on all ASM files with cmake
2016-11-05 06:16:19 -05:00
kinichiro
62f2a73061
export DLLs functions for MSVC with CMake
...
- 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
2016-10-30 21:39:36 -05:00
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
Tamer Saadeh
2d987d32e6
compat gentroy() for macs is called gentropy_osx.c
2016-08-07 11:56:14 +02:00