43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup Label="Globals">
|
|
<_PropertySheetDisplayName>Libsodium Test Common Settings</_PropertySheetDisplayName>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
|
|
<!-- Configuration -->
|
|
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(RepoRoot)test\default\;$(RepoRoot)test\quirks\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<EnablePREfast>false</EnablePREfast>
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<!--<PreprocessorDefinitions>NATIVE_LITTLE_ENDIAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>-->
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- Dependencies -->
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(SolutionDir)libsodium.import.props" />
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
|
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
|
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
|
<Linkage-libsodium>static</Linkage-libsodium>
|
|
</PropertyGroup>
|
|
|
|
<!-- Messages -->
|
|
|
|
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
|
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
|
</Target>
|
|
|
|
</Project> |