diff options
author | Mike DePaulo <mikedep333@gmail.com> | 2014-03-05 22:06:48 -0500 |
---|---|---|
committer | Mike DePaulo <mikedep333@gmail.com> | 2014-03-05 22:06:48 -0500 |
commit | 3897f4afc038f640a6ab9f7d2a7d87f1d0be8562 (patch) | |
tree | 61a95e544089c9d23d38915bfbf5c7ab4a150906 | |
parent | 79193c380f90eac5a44ff13ba0de857d327abd08 (diff) | |
download | buildscripts-3897f4afc038f640a6ab9f7d2a7d87f1d0be8562.tar.gz buildscripts-3897f4afc038f640a6ab9f7d2a7d87f1d0be8562.tar.bz2 buildscripts-3897f4afc038f640a6ab9f7d2a7d87f1d0be8562.zip |
Make debug (console) an option. Disabled by default.
-rw-r--r-- | nsis-builder.bat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nsis-builder.bat b/nsis-builder.bat new file mode 100644 index 0000000..5a857a4 --- /dev/null +++ b/nsis-builder.bat @@ -0,0 +1,22 @@ +call "D:\Qt\4.8.5\bin\qtvars.bat"
+set PATH=%PATH%;D:\MinGW\libexec\gcc\mingw32\4.4.0\
+set PATH=%PATH%;C:\Program Files (x86)\Git\bin\
+set PATH=%PATH%;D:\x2goclient-contrib\upx\3.91_bin\
+set PATH=%PATH%;C:\Program Files (x86)\NSIS\
+echo "hello" > D:\test.txt
+D:
+cd D:\Build\GIT\nightly\x2goclient
+rem use msysgit's sed
+rem enable debug
+if "%1"=="--console" sed -i 's/#CONFIG += console/CONFIG += console/' x2goclient.pro
+%COMSPEC% /c config_win.bat
+mingw32-make
+dir release\x2goclient.exe
+cd nsis
+mkdir x2goclient
+xcopy /S D:\Build\scripts\current_files\x2goclient x2goclient
+copy ..\release\x2goclient.exe x2goclient\
+upx x2goclient\x2goclient.exe
+makensis x2goclient.nsi
+
+
|