103 lines
5.7 KiB
XML
103 lines
5.7 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">
|
|
<ProjectGuid>{7D28CD1A-B1DE-4109-9653-D8B26D0DA521}</ProjectGuid>
|
|
<RootNamespace>ArNetworkingSwigPython</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'">$(SolutionDir)$(Configuration)\</OutDir>
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</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>Custom Build Step: Running C:\swig\swig.exe to generate Python wrapper code</Message>
|
|
<Command>cd $(ProjectDir)
|
|
C:\swig\swig.exe -Fmicrosoft -c++ -python -module ArNetworkingPy -DWIN32 -DAREXPORT -outdir $(ProjectDir) -o ArNetworkingPy_wrap.cpp -I$(ProjectDir)\..\include -I$(ProjectDir)\..\ArNetworking\include $(ProjectDir)\..\ArNetworking\include\wrapper.i
|
|
</Command>
|
|
<Inputs>../ArNetworking/include/wrapper.i;%(Inputs)</Inputs>
|
|
<Outputs>ArNetworkingPy_d.py;ArNetworkingPy_wrap.cpp;ArNetworkingPy_wrap.h;%(Outputs)</Outputs>
|
|
</CustomBuildStep>
|
|
<Link>
|
|
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
|
|
<AdditionalLibraryDirectories>$(PYTHON_LIBDIR);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
<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>(ArNetworkingSwigPython Custom Build Step) Running C:\swig\swig.exe to generate Python wrapper code</Message>
|
|
<Command>del "$(ProjectDir)\ArNetworkingPy_wrap.cpp"
|
|
del "$(ProjectDir)\ArNetworkingPy_wrap.h"
|
|
del "$(ProjectDir)\ArNetworkingPy.py"
|
|
cd $(ProjectDir)
|
|
C:\swig\swig.exe -Fmicrosoft -c++ -python -module ArNetworkingPy -DWIN32 -DAREXPORT -outdir . -o ArNetworkingPy_wrap.cpp -I..\include -I..\ArNetworking\include ..\ArNetworking\include\wrapper.i
|
|
</Command>
|
|
<Inputs>../ArNetworking/include/wrapper.i;../ArNetworking/include/*.h;%(Inputs)</Inputs>
|
|
<Outputs>$(ProjectDir)/ArNetworkingPy.py;$(ProjectDir)/ArNetworkingPy_wrap.cpp;$(ProjectDir)/ArNetworkingPy_wrap.h;%(Outputs)</Outputs>
|
|
</CustomBuildStep>
|
|
<Link>
|
|
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<None Include="..\ArNetworking\include\wrapper.i" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |