-
Notifications
You must be signed in to change notification settings - Fork 104
/
aerospike-client-c-libevent.targets
32 lines (32 loc) · 1.85 KB
/
aerospike-client-c-libevent.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<PreprocessorDefinitions>AS_USE_LIBEVENT;EVENT__NEED_DLLIMPORT;AS_SHARED_IMPORT;_CRT_SECURE_NO_DEPRECATE;_TIMESPEC_DEFINED;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(UseDebugLibraries)' == 'true'">
<Link>
<AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)lib\x64\Debug;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>aerospike.lib;event_core.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(UseDebugLibraries)' == 'false'">
<Link>
<AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)lib\x64\Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>aerospike.lib;event_core.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Target Name="AfterBuild">
<ItemGroup Condition="'$(UseDebugLibraries)' == 'true'">
<AerospikePackageFiles Include="$(MSBuildThisFileDirectory)lib\x64\Debug\*.dll"/>
<AerospikePackageFiles Include="$(MSBuildThisFileDirectory)lib\x64\Debug\*.pdb"/>
</ItemGroup>
<ItemGroup Condition="'$(UseDebugLibraries)' == 'false'">
<AerospikePackageFiles Include="$(MSBuildThisFileDirectory)lib\x64\Release\*.dll"/>
</ItemGroup>
<Copy SourceFiles="@(AerospikePackageFiles)" DestinationFolder="$(OutputPath)"></Copy>
</Target>
</Project>