xref: /freebsd/sys/contrib/libsodium/msvc-scripts/sodium.props (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <ImportGroup Label="PropertySheets" />
4  <PropertyGroup Label="UserMacros" />
5  <PropertyGroup />
6  <ItemDefinitionGroup>
7    <ClCompile>
8      <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
9      <MultiProcessorCompilation>true</MultiProcessorCompilation>
10      <PreprocessorDefinitions>UNICODE;_UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
11      <PreprocessorDefinitions>NATIVE_LITTLE_ENDIAN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
12      <PreprocessorDefinitions>inline=__inline;%(PreprocessorDefinitions)</PreprocessorDefinitions>
13    </ClCompile>
14    <PreBuildEvent>
15      <Command>"$(SolutionDir)/msvc-scripts/process.bat"</Command>
16    </PreBuildEvent>
17    <PreBuildEvent>
18      <Message>Process .in files</Message>
19    </PreBuildEvent>
20    <PostBuildEvent>
21      <Command>"$(SolutionDir)/test/default/wintest.bat" $(Configuration) $(Platform)</Command>
22    </PostBuildEvent>
23    <PostBuildEvent>
24      <Message>Run the test suite</Message>
25    </PostBuildEvent>
26  </ItemDefinitionGroup>
27  <ItemGroup />
28</Project>
29