| | <?xml version="1.0" encoding="utf-8"?> |
| | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | <Import Project="$(SolutionDir)\AnnService.users.props" /> |
| | <Import Project="..\packages\python.$(PYTHON_VERSION).3\build\native\python.props" Condition="Exists('..\packages\python.$(PYTHON_VERSION).3\build\native\python.props')" /> |
| | <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> |
| | <ProjectConfiguration Include="Debug|x64"> |
| | <Configuration>Debug</Configuration> |
| | <Platform>x64</Platform> |
| | </ProjectConfiguration> |
| | <ProjectConfiguration Include="Release|x64"> |
| | <Configuration>Release</Configuration> |
| | <Platform>x64</Platform> |
| | </ProjectConfiguration> |
| | </ItemGroup> |
| | <PropertyGroup Label="Globals"> |
| | <VCProjectVersion>16.0</VCProjectVersion> |
| | <ProjectGuid>{9B014CF6-E3FB-4BD4-B3B1-D26297BB31AA}</ProjectGuid> |
| | <RootNamespace>PythonClient</RootNamespace> |
| | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
| | </PropertyGroup> |
| | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
| | <ConfigurationType>DynamicLibrary</ConfigurationType> |
| | <UseDebugLibraries>true</UseDebugLibraries> |
| | <PlatformToolset>v142</PlatformToolset> |
| | <CharacterSet>MultiByte</CharacterSet> |
| | </PropertyGroup> |
| | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
| | <ConfigurationType>DynamicLibrary</ConfigurationType> |
| | <UseDebugLibraries>false</UseDebugLibraries> |
| | <PlatformToolset>v142</PlatformToolset> |
| | <WholeProgramOptimization>true</WholeProgramOptimization> |
| | <CharacterSet>MultiByte</CharacterSet> |
| | </PropertyGroup> |
| | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
| | <ConfigurationType>DynamicLibrary</ConfigurationType> |
| | <UseDebugLibraries>true</UseDebugLibraries> |
| | <PlatformToolset>v142</PlatformToolset> |
| | <CharacterSet>MultiByte</CharacterSet> |
| | </PropertyGroup> |
| | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
| | <ConfigurationType>DynamicLibrary</ConfigurationType> |
| | <UseDebugLibraries>false</UseDebugLibraries> |
| | <PlatformToolset>v142</PlatformToolset> |
| | <WholeProgramOptimization>true</WholeProgramOptimization> |
| | <CharacterSet>MultiByte</CharacterSet> |
| | </PropertyGroup> |
| | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| | <ImportGroup Label="ExtensionSettings"> |
| | </ImportGroup> |
| | <ImportGroup Label="Shared"> |
| | </ImportGroup> |
| | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| | </ImportGroup> |
| | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| | </ImportGroup> |
| | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
| | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| | </ImportGroup> |
| | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
| | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| | </ImportGroup> |
| | <PropertyGroup> |
| | <TargetName>_SPTAGClient</TargetName> |
| | <TargetExt>.pyd</TargetExt> |
| | <IntDir>$(SolutionDir)obj\$(Platform)_$(Configuration)\$(ProjectName)\</IntDir> |
| | <IncludePath>$(ProjectDir);$(SolutionDir)AnnService\;$(IncludePath)</IncludePath> |
| | <LibraryPath>$(OutLibDir);$(LibraryPath)</LibraryPath> |
| | <OutDir>$(OutAppDir)</OutDir> |
| | </PropertyGroup> |
| | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
| | <LinkIncremental>false</LinkIncremental> |
| | </PropertyGroup> |
| | <ItemDefinitionGroup> |
| | <Link> |
| | <AdditionalDependencies>CoreLibrary.lib;SocketLib.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| | </Link> |
| | </ItemDefinitionGroup> |
| | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
| | <ClCompile> |
| | <WarningLevel>Level3</WarningLevel> |
| | <Optimization>MaxSpeed</Optimization> |
| | <FunctionLevelLinking>true</FunctionLevelLinking> |
| | <IntrinsicFunctions>true</IntrinsicFunctions> |
| | <SDLCheck>true</SDLCheck> |
| | <ConformanceMode>true</ConformanceMode> |
| | <PreprocessorDefinitions>_WINDLL;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| | <LanguageStandard>stdcpp17</LanguageStandard> |
| | </ClCompile> |
| | <Link> |
| | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
| | <OptimizeReferences>true</OptimizeReferences> |
| | </Link> |
| | </ItemDefinitionGroup> |
| | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| | <ClCompile> |
| | <WarningLevel>Level3</WarningLevel> |
| | <Optimization>Disabled</Optimization> |
| | <SDLCheck>true</SDLCheck> |
| | <ConformanceMode>true</ConformanceMode> |
| | </ClCompile> |
| | </ItemDefinitionGroup> |
| | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
| | <ClCompile> |
| | <WarningLevel>Level3</WarningLevel> |
| | <Optimization>Disabled</Optimization> |
| | <SDLCheck>true</SDLCheck> |
| | <ConformanceMode>true</ConformanceMode> |
| | <PreprocessorDefinitions>_WINDLL;_SCL_SECURE_NO_WARNINGS;SWIG_PYTHON_INTERPRETER_NO_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| | <ControlFlowGuard>Guard</ControlFlowGuard> |
| | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
| | <LanguageStandard>stdcpp17</LanguageStandard> |
| | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
| | </ClCompile> |
| | <Link> |
| | <AdditionalOptions>/guard:cf %(AdditionalOptions)</AdditionalOptions> |
| | </Link> |
| | </ItemDefinitionGroup> |
| | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| | <ClCompile> |
| | <WarningLevel>Level3</WarningLevel> |
| | <Optimization>MaxSpeed</Optimization> |
| | <FunctionLevelLinking>true</FunctionLevelLinking> |
| | <IntrinsicFunctions>true</IntrinsicFunctions> |
| | <SDLCheck>true</SDLCheck> |
| | <ConformanceMode>true</ConformanceMode> |
| | </ClCompile> |
| | <Link> |
| | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
| | <OptimizeReferences>true</OptimizeReferences> |
| | </Link> |
| | </ItemDefinitionGroup> |
| | <ItemGroup> |
| | <ClInclude Include="inc\ClientInterface.h" /> |
| | <ClInclude Include="inc\TransferDataType.h" /> |
| | </ItemGroup> |
| | <ItemGroup> |
| | <ClCompile Include="src\ClientInterface.cpp" /> |
| | <ClCompile Include="$(IntDir)ClientInterface_pwrap.cpp" /> |
| | </ItemGroup> |
| | <ItemGroup> |
| | <None Include="inc\PythonClient.i"> |
| | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild> |
| | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</ExcludedFromBuild> |
| | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> |
| | <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild> |
| | </None> |
| | </ItemGroup> |
| | <ItemGroup> |
| | <None Include="inc\PythonCommon.i" /> |
| | <None Include="packages.config" /> |
| | </ItemGroup> |
| | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| | <ImportGroup Label="ExtensionTargets"> |
| | <Import Project="..\packages\boost.1.72.0.0\build\boost.targets" Condition="Exists('..\packages\boost.1.72.0.0\build\boost.targets')" /> |
| | <Import Project="..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets" Condition="Exists('..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets')" /> |
| | <Import Project="..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets" Condition="Exists('..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets')" /> |
| | <Import Project="..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets" Condition="Exists('..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets')" /> |
| | <Import Project="..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets" Condition="Exists('..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets')" /> |
| | </ImportGroup> |
| | <Target Name="BeforeBuild" BeforeTargets="PrepareForBuild"> |
| | <MakeDir Directories="$(IntDir)" /> |
| | <Exec Command="$(SolutionDir)packages\swigwintools.4.0.0\tools\swigwin-4.0.0\swig.exe -python -c++ -I$(IntDir) -outdir $(IntDir) -o $(IntDir)/ClientInterface_pwrap.cpp inc\PythonClient.i" /> |
| | </Target> |
| | <Target Name="CopyFiles" AfterTargets="BeforeBuild"> |
| | <Copy SourceFiles="$(IntDir)SPTAGClient.py" DestinationFolder="$(Outdir)" /> |
| | </Target> |
| | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| | <PropertyGroup> |
| | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| | </PropertyGroup> |
| | <Error Condition="!Exists('..\packages\swigwintools.4.0.0\tools\swigwin-4.0.0\swig.exe')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\swigwintools.4.0.0\tools\swigwin-4.0.0\swig.exe'))" /> |
| | <Error Condition="!Exists('..\packages\boost.1.72.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost.1.72.0.0\build\boost.targets'))" /> |
| | <Error Condition="!Exists('..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets'))" /> |
| | <Error Condition="!Exists('..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets'))" /> |
| | <Error Condition="!Exists('..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets'))" /> |
| | <Error Condition="!Exists('..\packages\python.$(PYTHON_VERSION).3\build\native\python.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\python.$(PYTHON_VERSION).3\build\native\python.props'))" /> |
| | <Error Condition="!Exists('..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets'))" /> |
| | </Target> |
| | </Project> |