Change build output to /{x32,x64}-{Debug,Release}/ instead of /TestBench/{x32,x64}/{Debug,Release}/

This additionally changes the intermediate directory to /{x32,x64}-{Debug,Release}/Obj/ to avoid cluttering the working tree.
This commit is contained in:
Birunthan Mohanathas
2013-10-20 15:30:53 +03:00
parent cfd525c2fc
commit 5f145451b6
8 changed files with 29 additions and 66 deletions

View File

@ -27,13 +27,8 @@
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>if exist ..\testbench\x32\debug\Skins goto skip
mkdir ..\testbench\x32\debug\Skins
if not exist ..\testbench\x32\debug\Layouts (mkdir ..\testbench\x32\debug\Layouts)
echo "Copying skins..."
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x32\debug\Skins
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x32\debug\Layouts
:skip</Command>
<Command>if not exist "$(OutDir)Skins" xcopy /Q /S /Y ..\Build\Skins "$(OutDir)Skins\"
if not exist "$(OutDir)Layouts" xcopy /Q /S /Y ..\Build\Themes "$(OutDir)Layouts\"</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
@ -51,13 +46,8 @@ xcopy /Q /S /Y ..\Build\Themes ..\testbench\x32\debug\Layouts
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>if exist ..\testbench\x64\debug\Skins goto skip
mkdir ..\testbench\x64\debug\Skins
if not exist ..\testbench\x64\debug\Layouts (mkdir ..\testbench\x64\debug\Layouts)
echo "Copying skins..."
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x64\debug\Skins
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x64\debug\Layouts
:skip</Command>
<Command>if not exist "$(OutDir)Skins" xcopy /Q /S /Y ..\Build\Skins "$(OutDir)Skins\"
if not exist "$(OutDir)Layouts" xcopy /Q /S /Y ..\Build\Themes "$(OutDir)Layouts\"</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
@ -79,13 +69,8 @@ xcopy /Q /S /Y ..\Build\Themes ..\testbench\x64\debug\Layouts
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>if exist ..\testbench\x32\release\Skins goto skip
mkdir ..\testbench\x32\release\Skins
if not exist ..\testbench\x32\release\Layouts (mkdir ..\testbench\x32\release\Layouts)
echo "Copying skins..."
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x32\release\Skins
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x32\release\Layouts
:skip</Command>
<Command>if not exist "$(OutDir)Skins" xcopy /Q /S /Y ..\Build\Skins "$(OutDir)Skins\"
if not exist "$(OutDir)Layouts" xcopy /Q /S /Y ..\Build\Themes "$(OutDir)Layouts\"</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>
@ -108,13 +93,8 @@ xcopy /Q /S /Y ..\Build\Themes ..\testbench\x32\release\Layouts
<AdditionalDependencies>Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>if exist ..\testbench\x64\release\Skins goto skip
mkdir ..\testbench\x64\release\Skins
if not exist ..\testbench\x64\release\Layouts (mkdir ..\testbench\x64\release\Layouts)
echo "Copying skins..."
xcopy /Q /S /Y ..\Build\Skins ..\testbench\x64\release\Skins
xcopy /Q /S /Y ..\Build\Themes ..\testbench\x64\release\Layouts
:skip</Command>
<Command>if not exist "$(OutDir)Skins" xcopy /Q /S /Y ..\Build\Skins "$(OutDir)Skins\"
if not exist "$(OutDir)Layouts" xcopy /Q /S /Y ..\Build\Themes "$(OutDir)Layouts\"</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>Application.manifest</AdditionalManifestFiles>