297 lines
15 KiB
XML
297 lines
15 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="..\Configuration\Common.vcxproj.props" />
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{A70A6658-DD67-4C73-AB9A-581465137C6B}</ProjectGuid>
|
|
<SccProjectName>SAK</SccProjectName>
|
|
<SccAuxPath>SAK</SccAuxPath>
|
|
<SccLocalPath>SAK</SccLocalPath>
|
|
<SccProvider>SAK</SccProvider>
|
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
<Keyword>ManagedCProj</Keyword>
|
|
<RootNamespace>DSInternals.Replication.Interop</RootNamespace>
|
|
<ProjectName>DSInternals.Replication.Interop</ProjectName>
|
|
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<PlatformToolset>$(DefaultPlatformToolSet)</PlatformToolset>
|
|
<CLRSupport>true</CLRSupport>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<PlatformToolset>$(DefaultPlatformToolSet)</PlatformToolset>
|
|
<CLRSupport>true</CLRSupport>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>$(DefaultPlatformToolSet)</PlatformToolset>
|
|
<CLRSupport>true</CLRSupport>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>$(DefaultPlatformToolSet)</PlatformToolset>
|
|
<CLRSupport>true</CLRSupport>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" 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>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" 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)'=='Release|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 Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<ExceptionHandling>false</ExceptionHandling>
|
|
<CompileAsManaged>true</CompileAsManaged>
|
|
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
|
<AdditionalDependencies>RpcRT4.lib;Secur32.lib</AdditionalDependencies>
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
|
</Link>
|
|
<Midl>
|
|
<HeaderFileName>%(Filename).h</HeaderFileName>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateClientFiles>Stub</GenerateClientFiles>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateServerFiles>None</GenerateServerFiles>
|
|
<ClientStubFile>%(Filename).cpp</ClientStubFile>
|
|
<GenerateTypeLibrary>false</GenerateTypeLibrary>
|
|
<EnableErrorChecks>All</EnableErrorChecks>
|
|
</Midl>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
<ExceptionHandling>false</ExceptionHandling>
|
|
<CompileAsManaged>true</CompileAsManaged>
|
|
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
|
<AdditionalDependencies>RpcRT4.lib;Secur32.lib</AdditionalDependencies>
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
|
</Link>
|
|
<Midl>
|
|
<HeaderFileName>%(Filename).h</HeaderFileName>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateClientFiles>Stub</GenerateClientFiles>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateServerFiles>None</GenerateServerFiles>
|
|
<ClientStubFile>%(Filename).cpp</ClientStubFile>
|
|
<GenerateTypeLibrary>false</GenerateTypeLibrary>
|
|
<EnableErrorChecks>All</EnableErrorChecks>
|
|
</Midl>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<ExceptionHandling>Async</ExceptionHandling>
|
|
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<AdditionalDependencies>Rpcrt4.lib;Secur32.lib</AdditionalDependencies>
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
|
</Link>
|
|
<Midl>
|
|
<HeaderFileName>%(Filename).h</HeaderFileName>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateClientFiles>Stub</GenerateClientFiles>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateServerFiles>None</GenerateServerFiles>
|
|
<ClientStubFile>%(Filename).cpp</ClientStubFile>
|
|
</Midl>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
<ExceptionHandling>Async</ExceptionHandling>
|
|
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
|
|
</ClCompile>
|
|
<Link>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<AdditionalDependencies>Rpcrt4.lib;Secur32.lib</AdditionalDependencies>
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
|
</Link>
|
|
<Midl>
|
|
<HeaderFileName>%(Filename).h</HeaderFileName>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateClientFiles>Stub</GenerateClientFiles>
|
|
</Midl>
|
|
<Midl>
|
|
<GenerateServerFiles>None</GenerateServerFiles>
|
|
<ClientStubFile>%(Filename).cpp</ClientStubFile>
|
|
</Midl>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="DrsConnection.h" />
|
|
<ClInclude Include="drsr.h" />
|
|
<ClInclude Include="drsr_addons.h" />
|
|
<ClInclude Include="drsr_alloc.h" />
|
|
<ClInclude Include="drsr_imports.h" />
|
|
<ClInclude Include="midl_alloc.h" />
|
|
<ClInclude Include="RpcTypeConverter.h" />
|
|
<ClInclude Include="resource.h" />
|
|
<ClInclude Include="stdafx.h" />
|
|
<ClInclude Include="unmanaged.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="AssemblyInfo.cpp" />
|
|
<ClCompile Include="DrsConnection.cpp" />
|
|
<ClCompile Include="drsr.cpp">
|
|
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">stdafx.h;unmanaged.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
|
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">stdafx.h;unmanaged.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
|
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdafx.h;unmanaged.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
|
<ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='Release|x64'">stdafx.h;unmanaged.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
|
</ClCompile>
|
|
<ClCompile Include="drsr_addons.cpp" />
|
|
<ClCompile Include="drsr_alloc.cpp" />
|
|
<ClCompile Include="midl_alloc.cpp" />
|
|
<ClCompile Include="RpcTypeConverter.cpp" />
|
|
<ClCompile Include="stdafx.cpp">
|
|
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
</ClCompile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DSInternals.Common\DSInternals.Common.csproj">
|
|
<Project>{7d47f040-d3a9-43ca-9f69-ef91faf2c23a}</Project>
|
|
<CopyLocal>false</CopyLocal>
|
|
<Private>false</Private>
|
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
|
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
|
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\DSInternals.Replication.Model\DSInternals.Replication.Model.csproj">
|
|
<Project>{0bca513c-5f12-48b6-8288-d3a95ec2994a}</Project>
|
|
<CopyLocal>false</CopyLocal>
|
|
<Private>false</Private>
|
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
|
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
|
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ResourceCompile Include="version.rc" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Midl Include="drsr.idl">
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild>
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
|
|
</Midl>
|
|
<Midl Include="drsr_imports.idl">
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
|
</Midl>
|
|
</ItemGroup>
|
|
<!-- Visual C++ Runtime Redistribution -->
|
|
<PropertyGroup Condition=" '$(PlatformToolsetVersion)' < 141 ">
|
|
<!-- Definitions for Visual Studio 2013 and 2015 -->
|
|
<VCRuntimePath Condition=" '$(Platform)'=='x64' ">$(VCInstallDir)\redist\x64\Microsoft.VC$(PlatformToolsetVersion).CRT</VCRuntimePath>
|
|
<VCRuntimePath Condition=" '$(Platform)'=='Win32' ">$(VCInstallDir)\redist\x86\Microsoft.VC$(PlatformToolsetVersion).CRT</VCRuntimePath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(PlatformToolsetVersion)' >= 141 ">
|
|
<!-- Definitions for Visual Studio 2017 -->
|
|
<VCRuntimePath Condition=" '$(Platform)'=='x64' ">$(VCInstallDir)\Tools\MSVC\$(VCToolsVersion)\bin\Hostx64\x64</VCRuntimePath>
|
|
<VCRuntimePath Condition=" '$(Platform)'=='Win32' ">$(VCInstallDir)\Tools\MSVC\$(VCToolsVersion)\bin\Hostx86\x86</VCRuntimePath>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)' == 'Release'">
|
|
<CustomBuildStep>
|
|
<!-- Note: The msvcr140.dll file has been replaced by vcruntime140.dll since Visual Studio 2017. The vcruntime140_1.dll file is also required.
|
|
Moreover, $(PlatformToolsetVersion) equals to 150 instead of 140 and thus does not match the names of the runtime files.-->
|
|
<Command>
|
|
robocopy.exe "$(VCRuntimePath)" "$(OutDir)\." "msvcp*.dll" "msvcr*.dll" "vcruntime*.dll" /xf "msvcp*_*.dll" /FP /NP /NDL /NS /NJH /NJS
|
|
IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
|
|
</Command>
|
|
<Outputs>$(OutDir)\msvcr$(PlatformToolsetVersion).dll;$(OutDir)\msvcp$(PlatformToolsetVersion).dll;$(OutDir)\vcruntime$(PlatformToolsetVersion).dll;$(OutDir)\msvcp140.dll;$(OutDir)\vcruntime140.dll</Outputs>
|
|
<Message>Copying VC Runtime</Message>
|
|
</CustomBuildStep>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project>
|