Mercurial > trustbridge
annotate packaging/CMakeLists.txt @ 1300:a3b0f5de3eeb
(issue149) licenses: Mozilla completed.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 16:30:39 +0200 |
parents | a72d59f8c3ea |
children |
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) |
1139
1c9001db6ea2
Split up linux installer in to be able to create a uninstaller (TODO).
Sascha Wilde <wilde@intevation.de>
parents:
1118
diff
changeset
|
5 configure_file (linux-installer.inc linux-installer.inc COPYONLY) |
1150 | 6 configure_file (linux-uninstaller.inc linux-uninstaller.inc COPYONLY) |
1139
1c9001db6ea2
Split up linux installer in to be able to create a uninstaller (TODO).
Sascha Wilde <wilde@intevation.de>
parents:
1118
diff
changeset
|
7 configure_file (linux-installer-common.inc.in linux-installer-common.inc @ONLY) |
1c9001db6ea2
Split up linux installer in to be able to create a uninstaller (TODO).
Sascha Wilde <wilde@intevation.de>
parents:
1118
diff
changeset
|
8 configure_file (linux-installer-uninstall.inc linux-installer-uninstall.inc COPYONLY) |
1010
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
9 configure_file (linux-installer.l10n-de linux-installer.l10n-de COPYONLY) |
1150 | 10 configure_file (linux-uninstaller.l10n-de linux-uninstaller.l10n-de COPYONLY) |
1149
96ecd345c961
Split up l10n matching the new split up installer files.
Sascha Wilde <wilde@intevation.de>
parents:
1139
diff
changeset
|
11 configure_file (linux-installer-common.l10n-de linux-installer-common.l10n-de COPYONLY) |
96ecd345c961
Split up l10n matching the new split up installer files.
Sascha Wilde <wilde@intevation.de>
parents:
1139
diff
changeset
|
12 configure_file (linux-installer-uninstall.l10n-de linux-installer-uninstall.l10n-de COPYONLY) |
1010
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
13 |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
14 if (WIN32) |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
15 # Build the nss safer plugin. |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
16 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
|
17 |
1118
fd85a02d771d
(issue54) Implement a privilege drop to execute the program after installation.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
1010
diff
changeset
|
18 add_library(desktopshellrun SHARED desktopshellrun.cpp) |
fd85a02d771d
(issue54) Implement a privilege drop to execute the program after installation.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
1010
diff
changeset
|
19 target_link_libraries(desktopshellrun |
1010
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
20 trustbridge_common |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
21 -luserenv |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
22 -lshell32 |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
23 -lcrypt32 |
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
24 -lssp |
1118
fd85a02d771d
(issue54) Implement a privilege drop to execute the program after installation.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
1010
diff
changeset
|
25 -lshlwapi |
1010
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
26 ${POLARSSL_LIBRARIES}) # trustbridge_common pulls it in. |
1118
fd85a02d771d
(issue54) Implement a privilege drop to execute the program after installation.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
1010
diff
changeset
|
27 set_target_properties(desktopshellrun PROPERTIES PREFIX "") |
fd85a02d771d
(issue54) Implement a privilege drop to execute the program after installation.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
1010
diff
changeset
|
28 set_target_properties(desktopshellrun PROPERTIES OUTPUT_NAME "DesktopShellRun") |
1010
1c1964c27b39
(issue54) commit work in progress on start after installation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
29 endif() |