Add TrackEditor files to Windows installer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8236 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 2a2dccb4c411d4bb027575a94aaf110e75900490 Former-commit-id: 84dbf2af9897996723a77bab3dfc114354285d06
This commit is contained in:
parent
49e853d93f
commit
e4958c82c6
3 changed files with 18 additions and 2 deletions
|
@ -86,7 +86,7 @@ Section "!Base System" SEC01
|
||||||
|
|
||||||
; Executable and DLLs ... but no mod tool (see later)
|
; Executable and DLLs ... but no mod tool (see later)
|
||||||
SetOutPath "$INSTDIR\bin"
|
SetOutPath "$INSTDIR\bin"
|
||||||
File /x sd2-*.* /x *.lib "${BUILD_INST_DIR}\bin\*.*"
|
File /x sd2-*.* /x *.lib /x *.jar "${BUILD_INST_DIR}\bin\*.*"
|
||||||
|
|
||||||
; Core loadable modules (physics and graphics engines, track loader, ...)
|
; Core loadable modules (physics and graphics engines, track loader, ...)
|
||||||
SetOutPath "$INSTDIR\lib\modules\graphic"
|
SetOutPath "$INSTDIR\lib\modules\graphic"
|
||||||
|
@ -236,6 +236,14 @@ Section /o "Basic mod Tools" SEC02
|
||||||
File "${BUILD_INST_DIR}\bin\sd2-*.*"
|
File "${BUILD_INST_DIR}\bin\sd2-*.*"
|
||||||
File "${BUILD_INST_DIR}\bin\*.lib"
|
File "${BUILD_INST_DIR}\bin\*.lib"
|
||||||
|
|
||||||
|
; Java trackeditor
|
||||||
|
File "${BUILD_INST_DIR}\bin\*.jar"
|
||||||
|
|
||||||
|
SetShellVarContext all
|
||||||
|
; Start menu entries
|
||||||
|
CreateDirectory "$SMPROGRAMS\${GAME_VERSIONNED_NAME}"
|
||||||
|
CreateShortCut "$SMPROGRAMS\${GAME_VERSIONNED_NAME}\${TRACKEDITOR_VERSIONNED_NAME}.lnk" "$INSTDIR\bin\${TRACKEDITOR_JAR_NAME}.jar" "" "" 0 SW_SHOWNORMAL "" "Track Editor"
|
||||||
|
|
||||||
; Cmake macros for robot developers
|
; Cmake macros for robot developers
|
||||||
SetOutPath "$INSTDIR\data\cmake"
|
SetOutPath "$INSTDIR\data\cmake"
|
||||||
File /r "${BUILD_INST_DIR}\data\cmake\*.*"
|
File /r "${BUILD_INST_DIR}\data\cmake\*.*"
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
!define GAME_UNINST_REGKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GAME_NAME}"
|
!define GAME_UNINST_REGKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GAME_NAME}"
|
||||||
!define GAME_DIR_REGKEY "Software\${GAME_PUBLISHER}\${GAME_NAME}"
|
!define GAME_DIR_REGKEY "Software\${GAME_PUBLISHER}\${GAME_NAME}"
|
||||||
|
|
||||||
|
; TrackEditor Items
|
||||||
|
!define TRACKEDITOR_JAR_NAME "sd2-trackeditor"
|
||||||
|
!define TRACKEDITOR_VERSIONNED_NAME "SD2 TrackEditor"
|
||||||
|
|
||||||
; Folder where the build system installed everything
|
; Folder where the build system installed everything
|
||||||
!ifndef BUILD_INST_DIR
|
!ifndef BUILD_INST_DIR
|
||||||
!define BUILD_INST_DIR "\${GAME_FS_NAME}-build"
|
!define BUILD_INST_DIR "\${GAME_FS_NAME}-build"
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
!define GAME_VERSIONNED_NAME "${GAME_SHORT_NAME} ${GAME_VERSION}"
|
!define GAME_VERSIONNED_NAME "${GAME_SHORT_NAME} ${GAME_VERSION}"
|
||||||
!define GAME_LONG_VERSION "${GAME_VERSION}-${VER_REVISION}"
|
!define GAME_LONG_VERSION "${GAME_VERSION}-${VER_REVISION}"
|
||||||
!define GAME_LONG_NAME "${GAME_SHORT_NAME} ${GAME_LONG_VERSION}"
|
!define GAME_LONG_NAME "${GAME_SHORT_NAME} ${GAME_LONG_VERSION}"
|
||||||
!define GAME_PUBLISHER "the Speed Dreams Team"
|
!define GAME_PUBLISHER "The Speed Dreams Team"
|
||||||
!define GAME_WEB_SITE "http://www.speed-dreams.org"
|
!define GAME_WEB_SITE "http://www.speed-dreams.org"
|
||||||
!define GAME_BUG_TRACKER "http://sourceforge.net/p/speed-dreams/tickets/"
|
!define GAME_BUG_TRACKER "http://sourceforge.net/p/speed-dreams/tickets/"
|
||||||
!define GAME_DOWNLOAD_URL "http://sourceforge.net/projects/speed-dreams/files/${VER_MAJOR}.${VER_MINOR}.${VER_PATCH}"
|
!define GAME_DOWNLOAD_URL "http://sourceforge.net/projects/speed-dreams/files/${VER_MAJOR}.${VER_MINOR}.${VER_PATCH}"
|
||||||
|
@ -63,6 +63,10 @@
|
||||||
!define GAME_UNINST_REGKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GAME_NAME}"
|
!define GAME_UNINST_REGKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GAME_NAME}"
|
||||||
!define GAME_DIR_REGKEY "Software\${GAME_PUBLISHER}\${GAME_NAME}"
|
!define GAME_DIR_REGKEY "Software\${GAME_PUBLISHER}\${GAME_NAME}"
|
||||||
|
|
||||||
|
; TrackEditor Items
|
||||||
|
!define TRACKEDITOR_JAR_NAME "sd2-trackeditor"
|
||||||
|
!define TRACKEDITOR_VERSIONNED_NAME "SD2 TrackEditor"
|
||||||
|
|
||||||
; Folder where the build system installed everything
|
; Folder where the build system installed everything
|
||||||
!ifndef BUILD_INST_DIR
|
!ifndef BUILD_INST_DIR
|
||||||
; !define BUILD_INST_DIR "\${GAME_FS_NAME}-build"
|
; !define BUILD_INST_DIR "\${GAME_FS_NAME}-build"
|
||||||
|
|
Loading…
Reference in a new issue