diff Build/Visual Studio 2010/World of Might and Magic.vcxproj @ 2041:ea8e801fdeab

swig.bat
author Ritor1
date Mon, 25 Nov 2013 16:44:53 +0600
parents cef3439340fa
children 28cb79ae2f6f
line wrap: on
line diff
--- a/Build/Visual Studio 2010/World of Might and Magic.vcxproj	Fri Nov 22 23:28:02 2013 +0600
+++ b/Build/Visual Studio 2010/World of Might and Magic.vcxproj	Mon Nov 25 16:44:53 2013 +0600
@@ -44,6 +44,7 @@
     <IntDir>$(Configuration)\</IntDir>
     <OutDir>$(WoMM_MM7_INSTALL_DIR)\</OutDir>
     <GenerateManifest>false</GenerateManifest>
+    <IncludePath>$(SolutionDir)../../;$(IncludePath)</IncludePath>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <LinkIncremental>false</LinkIncremental>
@@ -63,6 +64,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>
@@ -142,8 +146,6 @@
     <ClCompile Include="..\..\lib\lua\lua-5.2.2\lundump.c" />
     <ClCompile Include="..\..\lib\lua\lua-5.2.2\lvm.c" />
     <ClCompile Include="..\..\lib\lua\lua-5.2.2\lzio.c" />
-    <ClCompile Include="..\..\lib\swig\swigwin-2.0.11\TestModule_wrap.cxx" />
-    <ClCompile Include="..\..\lib\swig\swigwin-2.0.11\UIControlModule_wrap.cxx" />
     <ClCompile Include="..\..\lib\zlib\adler32.c" />
     <ClCompile Include="..\..\lib\zlib\compress.c" />
     <ClCompile Include="..\..\lib\zlib\crc32.c" />
@@ -171,6 +173,7 @@
     <ClCompile Include="..\..\mm7_data.cpp" />
     <ClCompile Include="..\..\Monsters.cpp" />
     <ClCompile Include="..\..\Mouse.cpp" />
+    <ClCompile Include="..\..\NewUI\Core\UIControlModule_wrap.cxx" />
     <ClCompile Include="..\..\NewUI\MainMenu.cpp" />
     <ClCompile Include="..\..\NPC.cpp" />
     <ClCompile Include="..\..\ObjectList.cpp" />
@@ -320,7 +323,6 @@
     <ClInclude Include="..\..\LOD.h" />
     <ClInclude Include="..\..\Log.h" />
     <ClInclude Include="..\..\MapInfo.h" />
-    <ClInclude Include="..\..\Math.h" />
     <ClInclude Include="..\..\MM7.h" />
     <ClInclude Include="..\..\mm7_data.h" />
     <ClInclude Include="..\..\Monsters.h" />
@@ -333,6 +335,7 @@
     <ClInclude Include="..\..\OSAPI.h" />
     <ClInclude Include="..\..\OSInfo.h" />
     <ClInclude Include="..\..\OSWindow.h" />
+    <ClInclude Include="..\..\OurMath.h" />
     <ClInclude Include="..\..\Outdoor.h" />
     <ClInclude Include="..\..\Outdoor_stuff.h" />
     <ClInclude Include="..\..\Overlays.h" />
@@ -375,6 +378,13 @@
   </ItemGroup>
   <ItemGroup>
     <None Include="..\..\lib\legacy_dx\d3dvec.inl" />
+    <None Include="..\..\lib\swig.bat" />
+    <CustomBuild Include="..\..\NewUI\Core\UIControlModule.swig">
+      <FileType>Document</FileType>
+      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">call "../../lib/swig" "%(FileName)" %(RelativeDir) "%(FileName)%(Extension)" "%(FullPath)" "$(SolutionDir)" %(Filename)_wrap.cxx</Command>
+      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename)_wrap.cxx</Outputs>
+    </CustomBuild>
+    <None Include="..\..\lib\swig\swigwin-2.0.11\UIControlModule.swig" />
   </ItemGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">