Skip to content

Commit

Permalink
Tweaks to build_static.bat - run from anywhere, avoid warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
randomascii committed Jun 6, 2015
1 parent 95fe655 commit 138ac96
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions UIforETW/build_static.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@

@setlocal

pushd %~dp0

call "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat"

sed "s/UseOfMfc>Dynamic/UseOfMfc>Static/" <UIforETW.vcxproj >UIforETWStatic.vcxproj
sed "s/UIforETW.vcxproj/UIforETWStatic.vcxproj/" <UIforETW.sln >UIforETWStatic.sln
rmdir Release /s/q
rmdir x64\Release /s/q
if exist Release rmdir Release /s/q
if exist x64\Release rmdir x64\Release /s/q
devenv /rebuild "release|Win32" UIforETWStatic.sln
devenv /rebuild "release|x64" UIforETWStatic.sln
del UIforETWStatic.vcxproj
Expand Down

0 comments on commit 138ac96

Please sign in to comment.