Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packaging/CMakeLists.txt Tue Sep 02 14:25:40 2014 +0200 @@ -0,0 +1,22 @@ +# Configure packaging script for testing +configure_file (win-createpackage.sh.in win-createpackage.sh @ONLY) +configure_file (create-dist-package.sh.in create-dist-package.sh @ONLY) +configure_file (linux-createpackage.sh.in linux-createpackage.sh @ONLY) +configure_file (linux-installer.inc.in linux-installer.inc @ONLY) +configure_file (linux-installer.l10n-de linux-installer.l10n-de COPYONLY) + +if (WIN32) + # Build the nss safer plugin. + include_directories(${CMAKE_SOURCE_DIR}/common) + + add_library(saferrunas SHARED safer_run_as.c) + target_link_libraries(saferrunas + trustbridge_common + -luserenv + -lshell32 + -lcrypt32 + -lssp + ${POLARSSL_LIBRARIES}) # trustbridge_common pulls it in. + set_target_properties(saferrunas PROPERTIES PREFIX "") + set_target_properties(saferrunas PROPERTIES OUTPUT_NAME "SaferRunAs") +endif()