-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For Mac, install everything into an application bundle.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6420 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
telwertowski
committed
Jan 11, 2007
1 parent
6e46041
commit 9126c0d
Showing
9 changed files
with
58 additions
and
6 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
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,2 +1,6 @@ | ||
|
||
SUBDIRS(core ui gui app providers plugins helpviewer) | ||
|
||
IF (APPLE) | ||
SUBDIRS(mac) | ||
ENDIF(APPLE) |
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
SUBDIRS(Contents) |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
############################################################# | ||
# create Info.plist | ||
|
||
EXECUTE_PROCESS(COMMAND grep VERSION ${CMAKE_SOURCE_DIR}/qgsconfig.h | ||
OUTPUT_VARIABLE VERSION | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
STRING(REGEX REPLACE "#define VERSION \"(.*)\"" "\\1" VERSION ${VERSION}) | ||
|
||
EXECUTE_PROCESS(COMMAND grep SVNVERSION ${CMAKE_SOURCE_DIR}/qgssvnversion.h | ||
OUTPUT_VARIABLE SVNVERSION | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
STRING(REGEX REPLACE "#define QGSSVNVERSION \"(.*)\"" "\\1" SVNVERSION ${SVNVERSION}) | ||
|
||
SET(SHORTVERSION ${VERSION}) | ||
|
||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in | ||
${CMAKE_CURRENT_BINARY_DIR}/Info.plist) | ||
|
||
############################################################# | ||
# process subdirs | ||
|
||
SUBDIRS(Resources) | ||
|
||
############################################################# | ||
# install | ||
|
||
INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/Info.plist | ||
DESTINATION ${CMAKE_INSTALL_PREFIX}/..) | ||
|
||
# Update bundle modification date so Finder scans latest plist | ||
INSTALL (CODE "EXECUTE_PROCESS(COMMAND touch ${CMAKE_INSTALL_PREFIX}/../../.)") |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
FILE (GLOB ICONS *.icns) | ||
INSTALL (FILES ${ICONS} | ||
DESTINATION ${CMAKE_INSTALL_PREFIX}/../Resources) |
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