andre@1010: # Configure packaging script for testing andre@1010: configure_file (win-createpackage.sh.in win-createpackage.sh @ONLY) andre@1010: configure_file (create-dist-package.sh.in create-dist-package.sh @ONLY) andre@1010: configure_file (linux-createpackage.sh.in linux-createpackage.sh @ONLY) wilde@1139: configure_file (linux-installer.inc linux-installer.inc COPYONLY) wilde@1139: configure_file (linux-installer-common.inc.in linux-installer-common.inc @ONLY) wilde@1139: configure_file (linux-installer-uninstall.inc linux-installer-uninstall.inc COPYONLY) andre@1010: configure_file (linux-installer.l10n-de linux-installer.l10n-de COPYONLY) andre@1010: andre@1010: if (WIN32) andre@1010: # Build the nss safer plugin. andre@1010: include_directories(${CMAKE_SOURCE_DIR}/common) andre@1010: andre@1118: add_library(desktopshellrun SHARED desktopshellrun.cpp) andre@1118: target_link_libraries(desktopshellrun andre@1010: trustbridge_common andre@1010: -luserenv andre@1010: -lshell32 andre@1010: -lcrypt32 andre@1010: -lssp andre@1118: -lshlwapi andre@1010: ${POLARSSL_LIBRARIES}) # trustbridge_common pulls it in. andre@1118: set_target_properties(desktopshellrun PROPERTIES PREFIX "") andre@1118: set_target_properties(desktopshellrun PROPERTIES OUTPUT_NAME "DesktopShellRun") andre@1010: endif()