changeset 2055:95e9a5141338

PlayerModule.swig
author Ritor1
date Sat, 30 Nov 2013 20:08:51 +0600
parents 29e16f184db8
children a35d173cd99c
files Build/Visual Studio 2012/World of Might and Magic.vcxproj Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters lib/swig.bat
diffstat 3 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj	Fri Nov 29 09:45:35 2013 +0600
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj	Sat Nov 30 20:08:51 2013 +0600
@@ -387,6 +387,11 @@
       <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename)_wrap.cxx</Outputs>
     </CustomBuild>
     <None Include="..\..\lib\swig.bat" />
+    <CustomBuild Include="..\..\PlayerModule.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">
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters	Fri Nov 29 09:45:35 2013 +0600
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters	Sat Nov 30 20:08:51 2013 +0600
@@ -607,5 +607,6 @@
     <CustomBuild Include="..\..\NewUI\Core\UIControlModule.swig">
       <Filter>NewUI\Core</Filter>
     </CustomBuild>
+    <CustomBuild Include="..\..\PlayerModule.swig" />
   </ItemGroup>
 </Project>
\ No newline at end of file
--- a/lib/swig.bat	Fri Nov 29 09:45:35 2013 +0600
+++ b/lib/swig.bat	Sat Nov 30 20:08:51 2013 +0600
@@ -1,15 +1,16 @@
-echo 1 %1
-echo 2 %2
-echo 3 %3
-echo 4 %4
-echo 5 %5
-echo 6 %6
+@echo off
+rem echo 1 %1
+rem echo 2 %2
+rem echo 3 %3
+rem echo 4 %4
+rem echo 5 %5
+rem echo 6 %6
 
-echo xcopy %4 "../../lib/swig/swigwin-2.0.11" /y
+rem echo xcopy %4 "../../lib/swig/swigwin-2.0.11" /y
 xcopy %4 "../../lib/swig/swigwin-2.0.11" /y
 
 cd ../../lib/swig/swigwin-2.0.11
 swig -c++ -lua %3
 
-echo xcopy "%6" %5"%2" /y
+rem echo xcopy "%6" %5"%2" /y
 xcopy "%6" %5"%2" /y
\ No newline at end of file