-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from rdumusc/master
Fix CPack config. Update default hostname for Geneva setup.
- Loading branch information
Showing
5 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,22 +5,17 @@ | |
# General CPack configuration | ||
# Info: http://www.itk.org/Wiki/CMake:Component_Install_With_CPack | ||
|
||
set(CPACK_PACKAGE_EXECUTABLES "${STREAMER_APP_NAME}") | ||
set(CPACK_PACKAGE_NAME "${STREAMER_APP_NAME}") | ||
set(CPACK_PACKAGE_EXECUTABLES "${DESKTOPSTREAMER_APP_NAME}") | ||
set(CPACK_PACKAGE_NAME "${DESKTOPSTREAMER_APP_NAME}") | ||
set(CPACK_PACKAGE_CONTACT "Daniel Nachbaur <[email protected]>") | ||
set(CPACK_PACKAGE_VENDOR "http://www.tacc.utexas.edu/tacc-software/displaycluster") | ||
set(CPACK_PACKAGE_VENDOR "https://github.com/BlueBrain/Deflect") | ||
|
||
set(CPACK_COMPONENT_DESKTOPSTREAMER_DISPLAY_NAME "DesktopStreamer Application") | ||
set(CPACK_COMPONENT_DESKTOPSTREAMER_DESCRIPTION "DesktopStreamer is an application that lets you stream your desktop to a running DisplayCluster instance.") | ||
|
||
set(CPACK_COMPONENT_CORE_DISPLAY_NAME "DisplayCluster Application") | ||
set(CPACK_COMPONENT_DEV_DISPLAY_NAME "Development headers and libraries") | ||
set(CPACK_COMPONENT_DOC_DISPLAY_NAME "Documentation") | ||
|
||
set(CPACK_COMPONENT_DESKTOPSTREAMER_DEPENDS Deflect) | ||
|
||
# Currently we only package desktopstreamer | ||
set(CPACK_COMPONENTS_ALL desktopstreamer Deflect) | ||
# Currently we only package desktopstreamer and the Deflect library | ||
set(CPACK_COMPONENTS_ALL desktopstreamer lib) | ||
|
||
# Linux Debian specific settings | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-core, libqt4-gui, libqt4-network, libturbojpeg" ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
# Copyright (c) 2013-2014, EPFL/Blue Brain Project | ||
# Copyright (c) 2013-2015, EPFL/Blue Brain Project | ||
# Raphael Dumusc <[email protected]> | ||
|
||
set(DESKTOPSTREAMER_MOC_HEADERS | ||
|
@@ -39,8 +39,12 @@ if(APPLE) | |
${DESKTOPSTREAMER_SOURCES} ${MOC_OUTFILES} ${QRC_SOURCES} | ||
${DESKTOPSTREAMER_ICON_FILE}) # include the icns file in the target | ||
|
||
# Configure the bundle property file using current version and year | ||
string(TIMESTAMP CURRENT_YEAR "%Y") | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in | ||
${CMAKE_CURRENT_BINARY_DIR}/Info.plist @ONLY) | ||
set_target_properties(${DESKTOPSTREAMER_APP_NAME} PROPERTIES | ||
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) | ||
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist) | ||
|
||
elseif(WIN32) | ||
set(DESKTOPSTREAMER_APP_NAME desktopstreamer) | ||
|
@@ -60,6 +64,7 @@ target_link_libraries(${DESKTOPSTREAMER_APP_NAME} ${DESKTOPSTREAMER_LINK_LIBRARI | |
|
||
install(TARGETS ${DESKTOPSTREAMER_APP_NAME} | ||
RUNTIME DESTINATION bin COMPONENT desktopstreamer | ||
BUNDLE DESTINATION . COMPONENT desktopstreamer) | ||
BUNDLE DESTINATION . COMPONENT desktopstreamer | ||
) | ||
|
||
include(CPackConfig) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters