diff --git a/build/linux-MSVC-2008.sh b/build/linux-MSVC-2008.sh deleted file mode 100755 index a3000cb02..000000000 --- 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 similarity index 74% rename from build/auto.bat rename to build/linux-remote.bat index 6ce36433a..bbf03d448 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 similarity index 96% rename from build/buildremote.expect rename to build/linux-remote.expect index 50e56aee8..c694a7554 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 similarity index 92% rename from build/linux-remote-MSVC-2008.sh rename to build/linux-remote.sh index 033bab162..333e682b5 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