annotate nss-cmake-static.cmake @ 4:b513267f632f tip

Build DBM module
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 05 Aug 2014 18:58:03 +0200
parents a945361df361
children
rev   line source
1
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 # Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 # Software engineering by Intevation GmbH
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 #
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
4 # This file is Free Software under the GNU GPL (v>=2)
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
5 # and comes with ABSOLUTELY NO WARRANTY!
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
6 # See LICENSE.txt for details.
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
7
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
8 if (NOT EXISTS "${NSS_STATIC_PATH}")
2
a945361df361 Fix NSS_LIBRARIES variable
Andre Heinecke <andre.heinecke@intevation.de>
parents: 1
diff changeset
9 message (STATUS "using current source ${NSS_STATIC_PATH}")
1
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 set (NSS_STATIC_PATH ${CMAKE_CURRENT_SOURCE_DIR})
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11 endif()
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
12
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
13 set(NSS_INCLUDE_DIRS
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
14 ${CMAKE_CURRENT_BINARY_DIR}
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
15 ${NSS_STATIC_PATH}/sqlite
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
16 ${NSS_STATIC_PATH}/nspr/pr/include
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
17 ${NSS_STATIC_PATH}/nspr/pr/include/private
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
18 ${NSS_STATIC_PATH}/nspr/lib/ds
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
19 ${NSS_STATIC_PATH}/nspr/lib/libc/include
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
20
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
21 ${NSS_STATIC_PATH}/nss/lib/base
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
22 ${NSS_STATIC_PATH}/nss/lib/certdb
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
23 ${NSS_STATIC_PATH}/nss/lib/certhigh
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
24 ${NSS_STATIC_PATH}/nss/lib/cryptohi
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
25 ${NSS_STATIC_PATH}/nss/lib/dev
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
26 ${NSS_STATIC_PATH}/nss/lib/freebl
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
27 ${NSS_STATIC_PATH}/nss/lib/freebl/ecl
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
28 ${NSS_STATIC_PATH}/nss/lib/freebl/mpi
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
29 ${NSS_STATIC_PATH}/nss/lib/nss
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
30 ${NSS_STATIC_PATH}/nss/lib/pk11wrap
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
31 ${NSS_STATIC_PATH}/nss/lib/pkcs7
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
32 ${NSS_STATIC_PATH}/nss/lib/pki
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
33 ${NSS_STATIC_PATH}/nss/lib/smime
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
34 ${NSS_STATIC_PATH}/nss/lib/softoken
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
35 ${NSS_STATIC_PATH}/nss/lib/ssl
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
36 ${NSS_STATIC_PATH}/nss/lib/util
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
37 )
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
38
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
39 set(NSS_LIBRARIES nss_static nspr_static)
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
40
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
41 if (WIN32)
2
a945361df361 Fix NSS_LIBRARIES variable
Andre Heinecke <andre.heinecke@intevation.de>
parents: 1
diff changeset
42 set(NSS_LIBRARIES ${NSS_LIBRARIES} winmm ws2_32)
1
247cffdc9b89 Add a pesodo config file for inlcude directories and library names
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
43 endif()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)