Mercurial > mm7
diff Build/Visual Studio 2012/World of Might and Magic.vcxproj @ 2037:7a9477135943
Renamed Math.h -> OurMath.h (file resolution was sometimes ambiguous)
Added custom pre-compile build step (.swig -> .cxx)
author | Nomad |
---|---|
date | Fri, 22 Nov 2013 10:34:22 +0200 |
parents | a453996ed5ac |
children | d4cc4d71d9cf |
line wrap: on
line diff
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj Thu Nov 21 14:08:35 2013 +0200 +++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj Fri Nov 22 10:34:22 2013 +0200 @@ -44,6 +44,9 @@ <IntDir>$(Configuration)\</IntDir> <OutDir>$(WoMM_MM7_INSTALL_DIR)\</OutDir> <GenerateManifest>false</GenerateManifest> + <CustomBuildBeforeTargets> + </CustomBuildBeforeTargets> + <IncludePath>$(SolutionDirectory)../../;$(IncludePath)</IncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <LinkIncremental>false</LinkIncremental> @@ -65,6 +68,7 @@ </Link> <PostBuildEvent> <Command>XCOPY "$(SolutionDir)../../Scripts" "$(OutDir)data/scripts/lua/core" /E /I /F /R /Y</Command> + <Message>-------------------------------------------------------Post-Build Event</Message> </PostBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -145,8 +149,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" /> @@ -174,6 +176,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" /> @@ -323,7 +326,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" /> @@ -377,6 +379,11 @@ </ItemGroup> <ItemGroup> <None Include="..\..\lib\legacy_dx\d3dvec.inl" /> + <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> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets">