-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
35 lines (30 loc) · 1.06 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (C) 2007-2012 LuaDist.
# Submitted by David Manura
# Redistribution and use of this file is allowed according to the terms of the MIT license.
# For details see the COPYRIGHT file distributed with LuaDist.
# Please note that the package source code is licensed under its own license.
project ( openssl C )
cmake_minimum_required ( VERSION 2.8 )
include ( cmake/dist.cmake )
add_definitions ( -DOPENSSL_NO_ASM )
if ( WIN32 AND NOT CYGWIN )
add_definitions ( -DOPENSSL_SYSNAME_WIN32 )
add_definitions ( -DWIN32_LEAN_AND_MEAN )
# avoid conflict: ocsp.h and wincrypt.h
add_definitions ( -D_WINDLL )
# build shared library symbols
endif ( )
add_subdirectory ( crypto )
add_subdirectory ( ssl )
add_subdirectory ( apps )
install_header ( e_os2.h INTO openssl )
install_data ( tools/c_hash tools/c_info tools/c_issuer tools/c_name )
#programs
install_foo ( tools/c_rehash )
# programs
install_doc ( doc/ )
install_data ( FAQ LICENSE PROBLEMS README README.ASN1 README.ENGINE )
#~2DO: man pages
#~2DO: libcrypto.pc libssl.pc openssl.pc
#~2DO: demos?
#~2DO: tests