diff options
| author | Petr Mrázek | 2011-03-15 01:53:01 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2011-03-15 01:53:01 +0100 |
| commit | 115a256ff5a2f8a461eb3ebbbb20cd8da6930b1a (patch) | |
| tree | 9848586824aafc1184f2b6b4747b7ef1973fc4ab | |
| parent | 3cf985be77908c52d8a17815bc7a58c65b3e28a7 (diff) | |
| download | dfhack-115a256ff5a2f8a461eb3ebbbb20cd8da6930b1a.tar.gz dfhack-115a256ff5a2f8a461eb3ebbbb20cd8da6930b1a.tar.bz2 dfhack-115a256ff5a2f8a461eb3ebbbb20cd8da6930b1a.tar.xz | |
More build script rearrangement
| -rwxr-xr-x | build/linux-MSVC-2008.sh | 51 | ||||
| -rw-r--r-- | build/linux-remote.bat (renamed from build/auto.bat) | 4 | ||||
| -rw-r--r-- | build/linux-remote.expect (renamed from build/buildremote.expect) | 2 | ||||
| -rwxr-xr-x | build/linux-remote.sh (renamed from build/linux-remote-MSVC-2008.sh) | 2 |
4 files changed, 4 insertions, 55 deletions
diff --git a/build/linux-MSVC-2008.sh b/build/linux-MSVC-2008.sh deleted file mode 100755 index a3000cb0..00000000 --- a/build/linux-MSVC-2008.sh +++ /dev/null @@ -1,51 +0,0 @@ -#/bin/sh - -#build with MSVC2008 under wine. VERY EXPERIMENTAL. - -# VARS -export WINEARCH=win32 -export WINEPREFIX=$HOME/.wine-mscv/ -export WINEDEBUG=-all -export DFHACK_VER=0.5.6 -export PKG=dfhack-bin-$DFHACK_VER -export VCBUILD="/home/peterix/.wine-mscv/drive_c/Program Files/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe" -export TARGET=Release -export PROJECTS="library\\dfhack.vcproj -tools\\supported\\dfattachtest.vcproj -tools\\supported\\dfautosearch.vcproj -tools\\supported\\dfcleanmap.vcproj -tools\\supported\\dfcleartask.vcproj -tools\\supported\\dfdoffsets.vcproj -tools\\supported\\dfexpbench.vcproj -tools\\supported\\dfflows.vcproj -tools\\supported\\dfincremental.vcproj -tools\\supported\\dfliquids.vcproj -tools\\supported\\dfmode.vcproj -tools\\supported\\dfpause.vcproj -tools\\supported\\dfposition.vcproj -tools\\supported\\dfprobe.vcproj -tools\\supported\\dfprospector.vcproj -tools\\supported\\dfreveal.vcproj -tools\\supported\\dfsuspend.vcproj -tools\\supported\\dfunstuck.vcproj -tools\\supported\\dfvdig.vcproj -tools\\supported\\dfweather.vcproj" - -# let's build it all -rm -r build-real -mkdir build-real -cd build-real -wine cmake ..\\.. -G"Visual Studio 9 2008" -for proj in $PROJECTS -do -wine "$VCBUILD" $proj $TARGET -done - -echo "Creating package..." -cd ../../output/$TARGET -rm -r $PKG -rm $PKG.zip -mkdir $PKG -mv *.exe *.dll *.html *.txt *.xml $PKG -zip -r $PKG.zip $PKG -echo "DONE"
\ No newline at end of file diff --git a/build/auto.bat b/build/linux-remote.bat index 6ce36433..bbf03d44 100644 --- a/build/auto.bat +++ b/build/linux-remote.bat @@ -1,5 +1,5 @@ -mkdir build-real -cd build-real +mkdir linux-remote +cd linux-remote cmake ..\.. -G"Visual Studio 10" msbuild ALL_BUILD.vcxproj /p:Configuration=Release echo FINISHED_BUILD
\ No newline at end of file diff --git a/build/buildremote.expect b/build/linux-remote.expect index 50e56aee..c694a755 100644 --- a/build/buildremote.expect +++ b/build/linux-remote.expect @@ -29,7 +29,7 @@ if { $rez == 0 } { send "\"C:\\Program Files (x86)\\MSVC10\\VC\\vcvarsall.bat\" x86\r\n" expect "build" set timeout -1 - send "auto.bat\r\n" + send "linux-remote.bat\r\n" # can detect build errors here, pass them out using 'exit' expect "FINISHED_BUILD" send "exit\r" diff --git a/build/linux-remote-MSVC-2008.sh b/build/linux-remote.sh index 033bab16..333e682b 100755 --- a/build/linux-remote-MSVC-2008.sh +++ b/build/linux-remote.sh @@ -10,7 +10,7 @@ export TARGET=Release # let's build it all VBoxManage startvm "7 Prof" sleep 20 -expect buildremote.expect $TARGET +expect linux-remote.expect $TARGET echo "Creating package..." cd ../output/$TARGET |
