110 lines
5.5 KiB
XML
110 lines
5.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
<ItemGroup Label="ProjectConfigurations">
|
||
|
<ProjectConfiguration Include="Debug|Win32">
|
||
|
<Configuration>Debug</Configuration>
|
||
|
<Platform>Win32</Platform>
|
||
|
</ProjectConfiguration>
|
||
|
<ProjectConfiguration Include="Release|Win32">
|
||
|
<Configuration>Release</Configuration>
|
||
|
<Platform>Win32</Platform>
|
||
|
</ProjectConfiguration>
|
||
|
</ItemGroup>
|
||
|
<PropertyGroup Label="Globals">
|
||
|
<RootNamespace>RunSwigPython</RootNamespace>
|
||
|
<Keyword>ManagedCProj</Keyword>
|
||
|
</PropertyGroup>
|
||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||
|
<ConfigurationType>Application</ConfigurationType>
|
||
|
<CharacterSet>MultiByte</CharacterSet>
|
||
|
<CLRSupport>OldSyntax</CLRSupport>
|
||
|
</PropertyGroup>
|
||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||
|
<ConfigurationType>Application</ConfigurationType>
|
||
|
<CharacterSet>MultiByte</CharacterSet>
|
||
|
<CLRSupport>OldSyntax</CLRSupport>
|
||
|
</PropertyGroup>
|
||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||
|
<ImportGroup Label="ExtensionSettings">
|
||
|
</ImportGroup>
|
||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||
|
</ImportGroup>
|
||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||
|
</ImportGroup>
|
||
|
<PropertyGroup Label="UserMacros" />
|
||
|
<PropertyGroup>
|
||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../python</OutDir>
|
||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../obj/$(ProjectName)-$(Configuration)-VC10\</IntDir>
|
||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../python</OutDir>
|
||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../obj/$(ProjectName)-$(Configuration)-VC10\</IntDir>
|
||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||
|
</PropertyGroup>
|
||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||
|
<ClCompile>
|
||
|
<Optimization>Disabled</Optimization>
|
||
|
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||
|
<MinimalRebuild>false</MinimalRebuild>
|
||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||
|
<WarningLevel>Level3</WarningLevel>
|
||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||
|
</ClCompile>
|
||
|
<CustomBuildStep>
|
||
|
<Message>Running C:\swig\swig.exe to generate Python wrapper code</Message>
|
||
|
<Command>C:\swig\swig.exe -Fmicrosoft -c++ -python -module AriaPy -DWIN32 -DAREXPORT -outdir $(ProjectDir) -o AriaPy_wrap.cpp -I$(ProjectDir)\..\include $(ProjectDir)\..\include\wrapper.i
|
||
|
</Command>
|
||
|
<Inputs>../include/wrapper.i;%(Inputs)</Inputs>
|
||
|
<Outputs>AriaPy.py;AriaPy_wrap.cpp;AriaPy_wrap.h;%(Outputs)</Outputs>
|
||
|
</CustomBuildStep>
|
||
|
<Link>
|
||
|
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
|
||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||
|
<AssemblyDebug>true</AssemblyDebug>
|
||
|
</Link>
|
||
|
</ItemDefinitionGroup>
|
||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||
|
<ClCompile>
|
||
|
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||
|
<MinimalRebuild>false</MinimalRebuild>
|
||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||
|
<WarningLevel>Level3</WarningLevel>
|
||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||
|
</ClCompile>
|
||
|
<CustomBuildStep>
|
||
|
<Message>Running C:\swig\swig.exe to generate Python wrapper code</Message>
|
||
|
<Command>echo ProjectDir is $(ProjectDir)
|
||
|
cd "$(ProjectDir)"
|
||
|
del "$(ProjectDir)\AriaPy_wrap.cpp"
|
||
|
del "$(ProjectDir)\AriaPy_wrap.h"
|
||
|
del "$(ProjectDir)\AriaPy.py"
|
||
|
C:\swig\swig.exe -Fmicrosoft -c++ -python -module AriaPy -DWIN32 -DAREXPORT -outdir . -o AriaPy_wrap.cpp -I..\include ..\include\wrapper.i
|
||
|
</Command>
|
||
|
<Inputs>../include/wrapper.i;%(Inputs)</Inputs>
|
||
|
<Outputs>AriaPy.py;AriaPy_wrap.cpp;AriaPy_wrap.h;%(Outputs)</Outputs>
|
||
|
</CustomBuildStep>
|
||
|
<Link>
|
||
|
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
|
||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||
|
<AdditionalDependencies>
|
||
|
</AdditionalDependencies>
|
||
|
</Link>
|
||
|
<ProjectReference>
|
||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||
|
</ProjectReference>
|
||
|
</ItemDefinitionGroup>
|
||
|
<ItemGroup>
|
||
|
<ClInclude Include="..\include\wrapper_ExtraClasses.h" />
|
||
|
<ClInclude Include="..\include\wrapper_Functors.h" />
|
||
|
</ItemGroup>
|
||
|
<ItemGroup>
|
||
|
<None Include="..\include\wrapper.i" />
|
||
|
</ItemGroup>
|
||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||
|
<ImportGroup Label="ExtensionTargets">
|
||
|
</ImportGroup>
|
||
|
</Project>
|