1<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 2 3 <Import Project="vdb-common.props" /> 4 5 <PropertyGroup Label="Configuration"> 6 <ConfigurationType>DynamicLibrary</ConfigurationType> 7 <TargetExt>.dll</TargetExt> 8 <OutDir>$(VDB_TARGET)\bin\</OutDir> 9 </PropertyGroup> 10 11 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 12 13 <ItemDefinitionGroup> 14 <ClCompile> 15 <AdditionalIncludeDirectories>$(NGS_ROOT);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 16 <AdditionalIncludeDirectories>$(VDB_ROOT)libs/$(ProjectName);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 17 <AdditionalIncludeDirectories>$(VDB_ROOT)libs/$(ProjectName)/win;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 18 19 <PreprocessorDefinitions>NO_KRSRC;%(PreprocessorDefinitions)</PreprocessorDefinitions> 20 <PreprocessorDefinitions>__mod_name__=libs/$(ProjectName);%(PreprocessorDefinitions)</PreprocessorDefinitions> 21 <PreprocessorDefinitions>_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions> 22 </ClCompile> 23 <Link> 24 <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> 25 </Link> 26 </ItemDefinitionGroup> 27 28 <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'"> 29 <ClCompile> 30 <AdditionalIncludeDirectories>$(VDB_ROOT)interfaces/cc/vc++/i386;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 31 <PreprocessorDefinitions>_ARCH_BITS=32;PKGNAME=win32;%(PreprocessorDefinitions)</PreprocessorDefinitions> 32 </ClCompile> 33 </ItemDefinitionGroup> 34 <ItemDefinitionGroup Condition="'$(Platform)'=='x64'"> 35 <ClCompile> 36 <AdditionalIncludeDirectories>$(VDB_ROOT)interfaces/cc/vc++/x86_64;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 37 <PreprocessorDefinitions>_ARCH_BITS=64;PKGNAME=win64;%(PreprocessorDefinitions)</PreprocessorDefinitions> 38 </ClCompile> 39 </ItemDefinitionGroup> 40 41 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 42 43 <ImportGroup Label="ExtensionTargets"> 44 </ImportGroup> 45 46</Project>