]> git.zndr.dk Git - dotfiles.git/commitdiff
Fix for msbuild
authorJannik ZANDER <jzander@grundfos.com>
Thu, 21 Jul 2016 20:13:45 +0000 (22:13 +0200)
committerJannik ZANDER <jzander@grundfos.com>
Thu, 21 Jul 2016 20:57:03 +0000 (22:57 +0200)
.config/bash/aliases
bin/build.cmd
bin/prebuild.cmd [deleted file]
bin/rte.cmd [new file with mode: 0644]

index a7031de599424fe807524e02ab926fbd39ae3f77..9f4c943e987ad15efa286d747bf82e12efdefbe6 100644 (file)
@@ -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"'
index 078d6b7304c3e8b143f23798863d2444b26d7f10..a72a87dfb55b55512c6db63e52fa69be2a4b9252 100644 (file)
@@ -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 (file)
index 3272439..0000000
+++ /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 (file)
index 0000000..fb59fc4
--- /dev/null
@@ -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