annotate packaging/CMakeLists.txt @ 1010:1c1964c27b39 runafterinstall

(issue54) commit work in progress on start after installation
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 02 Sep 2014 14:25:40 +0200
parents
children fd85a02d771d
rev   line source
1010
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 # Configure packaging script for testing
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 configure_file (win-createpackage.sh.in win-createpackage.sh @ONLY)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 configure_file (create-dist-package.sh.in create-dist-package.sh @ONLY)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
4 configure_file (linux-createpackage.sh.in linux-createpackage.sh @ONLY)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
5 configure_file (linux-installer.inc.in linux-installer.inc @ONLY)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
6 configure_file (linux-installer.l10n-de linux-installer.l10n-de COPYONLY)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
7
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
8 if (WIN32)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
9 # Build the nss safer plugin.
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 include_directories(${CMAKE_SOURCE_DIR}/common)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
12 add_library(saferrunas SHARED safer_run_as.c)
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
13 target_link_libraries(saferrunas
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
14 trustbridge_common
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
15 -luserenv
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
16 -lshell32
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
17 -lcrypt32
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
18 -lssp
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
19 ${POLARSSL_LIBRARIES}) # trustbridge_common pulls it in.
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
20 set_target_properties(saferrunas PROPERTIES PREFIX "")
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
21 set_target_properties(saferrunas PROPERTIES OUTPUT_NAME "SaferRunAs")
1c1964c27b39 (issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
22 endif()

http://wald.intevation.org/projects/trustbridge/