-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAssets.targets
More file actions
30 lines (26 loc) · 1.52 KB
/
Assets.targets
File metadata and controls
30 lines (26 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="CopyBurgerAssetsDebug" BeforeTargets="Build"
Condition="'$(Configuration)' == 'DebugBurger'">
<Message Text="Copying Burger assets" Importance="high" />
<Exec Command="rd /s /q "$(ProjectDir)GameAssets"" />
<Exec Command="xcopy "$(ProjectDir)..\GameAssetsBurger" "$(ProjectDir)GameAssets\" /Y /S " />
</Target>
<Target Name="CopyBurgerAssets" BeforeTargets="Build"
Condition="'$(Configuration)' == 'ReleaseBurger'">
<Message Text="Copying Burger assets" Importance="high" />
<Exec Command="rd /s /q "$(ProjectDir)GameAssets"" />
<Exec Command="xcopy "$(ProjectDir)..\GameAssetsBurger" "$(ProjectDir)GameAssets\" /Y /S" />
</Target>
<Target Name="CopyNormalAssets" BeforeTargets="Build"
Condition="'$(Configuration)' == 'Release'">
<Message Text="Copying McD assets" Importance="high" />
<Exec Command="rd /s /q "$(ProjectDir)GameAssets"" />
<Exec Command="xcopy "$(ProjectDir)..\GameAssets" "$(ProjectDir)GameAssets\" /Y /S" />
</Target>
<Target Name="CopyNormalAssetsDebug" BeforeTargets="Build"
Condition="'$(Configuration)' == 'Debug'">
<Message Text="Copying McD assets" Importance="high" />
<Exec Command="rd /s /q "$(ProjectDir)GameAssets"" />
<Exec Command="xcopy "$(ProjectDir)..\GameAssets" "$(ProjectDir)GameAssets\" /Y /S" />
</Target>
</Project>