From 47d066605083fce24022ff4b718f030b286c68d8 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Thu, 21 Jul 2016 22:13:45 +0200 Subject: [PATCH] Fix for msbuild --- .config/bash/aliases | 2 +- bin/build.cmd | 2 +- bin/prebuild.cmd | 3 --- bin/rte.cmd | 6 ++++++ 4 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 bin/prebuild.cmd create mode 100644 bin/rte.cmd diff --git a/.config/bash/aliases b/.config/bash/aliases index a7031de..9f4c943 100644 --- a/.config/bash/aliases +++ b/.config/bash/aliases @@ -90,4 +90,4 @@ alias startvnc='vncserver -geometry 1870x980 -depth 24' alias startvnc4='vnc4server -geometry 1870x980 -depth 24' alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME' alias genilog='$HOME/repos/genilog/genilog.py' - +alias msbuild='winpty "c:/program files (x86)/msbuild/12.0/bin/msbuild.exe"' diff --git a/bin/build.cmd b/bin/build.cmd index 078d6b7..a72a87d 100644 --- a/bin/build.cmd +++ b/bin/build.cmd @@ -1 +1 @@ -@call msbuild.exe -m -nologo -v:q -property:GenerateFullPaths=true %* +@call "c:\program files (x86)\msbuild\12.0\bin\msbuild.exe" -m -nologo -v:q -property:GenerateFullPaths=true %* diff --git a/bin/prebuild.cmd b/bin/prebuild.cmd deleted file mode 100644 index 3272439..0000000 --- a/bin/prebuild.cmd +++ /dev/null @@ -1,3 +0,0 @@ -@call "c:\program files (x86)\python35-32\python.exe" bbRTE_Release\RTE_Release\rtepreproc.py --dryrun --testsonly --o=_appBUILD -cd _appBUILD\AllTestCases -cmake -G "Visual Studio 12 2013" diff --git a/bin/rte.cmd b/bin/rte.cmd new file mode 100644 index 0000000..fb59fc4 --- /dev/null +++ b/bin/rte.cmd @@ -0,0 +1,6 @@ +@if "%1" == "-C" pushd "%2" +@call "c:\program files (x86)\python35-32\python.exe" bbRTE_Release\RTE_Release\rtepreproc.py --dryrun --testsonly --o . +pushd AllTestCases +@call "c:\programs\cmake\bin\cmake.exe" -G "Visual Studio 12 2013" +@popd +@popd -- 2.43.0