changeset 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 cef3439340fa
children 7a9477135943 6971834a0d81
files Build/Visual Studio 2012/World of Might and Magic.vcxproj Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
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" />
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters	Thu Nov 21 15:16:25 2013 +0600
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters	Thu Nov 21 14:08:35 2013 +0200
@@ -570,7 +570,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" />