[rkward-cvs] SF.net SVN: rkward:[4057] trunk/rkward/rkward/CMakeLists.txt

m-eik at users.sourceforge.net m-eik at users.sourceforge.net
Tue Nov 29 13:56:05 UTC 2011


Revision: 4057
          http://rkward.svn.sourceforge.net/rkward/?rev=4057&view=rev
Author:   m-eik
Date:     2011-11-29 13:56:05 +0000 (Tue, 29 Nov 2011)
Log Message:
-----------
declare RKWARD_FRONTEND_LOCATION soon enough

Modified Paths:
--------------
    trunk/rkward/rkward/CMakeLists.txt

Modified: trunk/rkward/rkward/CMakeLists.txt
===================================================================
--- trunk/rkward/rkward/CMakeLists.txt	2011-11-29 13:39:11 UTC (rev 4056)
+++ trunk/rkward/rkward/CMakeLists.txt	2011-11-29 13:56:05 UTC (rev 4057)
@@ -1,3 +1,13 @@
+IF(Q_WS_MAC)
+	SET(RKWARD_FRONTEND_LOCATION ${BIN_INSTALL_DIR}/rkward.frontend.app/Contents/MacOS)
+	SET(CPACK_BUNDLE_ICON rkward.icns)
+	SET(CPACK_BUNDLE_NAME RKWard)
+	SET(CPACK_BUNDLE_STARTUP_COMMAND rkward)
+#	SET(CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/rkward/Info.plist)
+ELSE(Q_WS_MAC)
+	SET(RKWARD_FRONTEND_LOCATION ${LIBEXEC_INSTALL_DIR})
+ENDIF(Q_WS_MAC)
+
 ADD_SUBDIRECTORY( dataeditor )
 ADD_SUBDIRECTORY( settings )
 ADD_SUBDIRECTORY( plugin )
@@ -35,16 +45,6 @@
 GET_DIRECTORY_PROPERTY(R_SHAREDLIBDIR DIRECTORY rbackend LINK_DIRECTORIES)
 LINK_DIRECTORIES(${R_SHAREDLIBDIR})
 
-IF(Q_WS_MAC)
-	SET(RKWARD_FRONTEND_LOCATION ${BIN_INSTALL_DIR}/rkward.frontend.app/Contents/MacOS)
-	SET(CPACK_BUNDLE_ICON rkward.icns)
-	SET(CPACK_BUNDLE_NAME RKWard)
-	SET(CPACK_BUNDLE_STARTUP_COMMAND rkward)
-#	SET(CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/rkward/Info.plist)
-ELSE(Q_WS_MAC)
-	SET(RKWARD_FRONTEND_LOCATION ${LIBEXEC_INSTALL_DIR})
-ENDIF(Q_WS_MAC)
-
 KDE4_ADD_EXECUTABLE(rkward.frontend ${RKWard_Sources})
 
 # wrapper script

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list