diff Build/Visual Studio 2012/World of Might and Magic.vcxproj @ 2036:a453996ed5ac

Post-build Event to copy scripts from project dir to game dir.
author Nomad
date Thu, 21 Nov 2013 14:08:35 +0200
parents e78fa9082174
children 7a9477135943
line wrap: on
line diff
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj	Thu Nov 21 15:16:25 2013 +0600
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj	Thu Nov 21 14:08:35 2013 +0200
@@ -63,6 +63,9 @@
       <AdditionalDependencies>..\..\lib\legacy_dx\lib\ddraw.lib;..\..\lib\legacy_dx\lib\dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
       <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
     </Link>
+    <PostBuildEvent>
+      <Command>XCOPY "$(SolutionDir)../../Scripts" "$(OutDir)data/scripts/lua/core" /E /I /F /R /Y</Command>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <ClCompile>
@@ -343,7 +346,6 @@
     <ClInclude Include="..\..\PlayerFrameTable.h" />
     <ClInclude Include="..\..\Random.h" />
     <ClInclude Include="..\..\Render.h" />
-    <ClInclude Include="..\..\resource.h" />
     <ClInclude Include="..\..\SaveLoad.h" />
     <ClInclude Include="..\..\Spells.h" />
     <ClInclude Include="..\..\SpriteObject.h" />