Use different tamp folders for different build types (so side-by-side builds with different MSVC versions are possible)

develop
Petr Mrázek 2011-03-15 01:44:26 +01:00
parent 9d962d6303
commit 3cf985be77
9 changed files with 17 additions and 18 deletions

@ -1,5 +1,5 @@
mkdir build-real
cd build-real
mkdir MINGW32-debug
cd MINGW32-debug
cmake ..\.. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE:string=Debug
mingw32-make
pause

@ -1,6 +0,0 @@
mkdir build-real
cd build-real
cmake ..\.. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE:string=Release --trace > trace-stdout.txt 2> trace-stderr.txt
mingw32-make 2> log.txt
pause
dir file.xxx

@ -1,5 +1,5 @@
mkdir build-real
cd build-real
mkdir MINGW32-release
cd MINGW32-release
cmake ..\.. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE:string=Release
mingw32-make 2> log.txt
pause

@ -30,6 +30,7 @@ if { $rez == 0 } {
expect "build"
set timeout -1
send "auto.bat\r\n"
# can detect build errors here, pass them out using 'exit'
expect "FINISHED_BUILD"
send "exit\r"
expect eof

@ -1,4 +1,4 @@
mkdir build-real
cd build-real
mkdir VC2005
cd VC2005
cmake ..\.. -G"Visual Studio 8 2005"
pause

@ -1,4 +1,4 @@
mkdir build-real
cd build-real
mkdir VC2008
cd VC2008
cmake ..\.. -G"Visual Studio 9 2008"
pause

@ -1,4 +1,4 @@
mkdir build-real
cd build-real
mkdir VC2010
cd VC2010
cmake ..\.. -G"Visual Studio 10"
pause

@ -1,5 +1,7 @@
#/bin/sh
#build with MSVC2008 under wine. VERY EXPERIMENTAL.
# VARS
export WINEARCH=win32
export WINEPREFIX=$HOME/.wine-mscv/

@ -1,13 +1,15 @@
#/bin/sh
# Remote into a virtualbox VM to build with MSVC.
# Very specific to my own local setup. ~px
# VARS
# VARS. TODO: parametrize
export DFHACK_VER=0.5.7
export PKG=dfhack-bin-$DFHACK_VER
export TARGET=Release
# let's build it all
VBoxManage startvm "7 Prof"
sleep 5
sleep 20
expect buildremote.expect $TARGET
echo "Creating package..."