summaryrefslogtreecommitdiff
path: root/msvc-scripts/sodium.props
blob: d68425a11dad016ea6e3358645f93e87c20caf8b (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets" />
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup />
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <PreBuildEvent>
      <Command>$(SolutionDir)/msvc-scripts/process.bat</Command>
    </PreBuildEvent>
    <PreBuildEvent>
      <Message>Process .in files</Message>
    </PreBuildEvent>
    <PostBuildEvent>
      <Command>$(SolutionDir)/test/default/wintest.bat $(Configuration) $(Platform)</Command>
    </PostBuildEvent>
    <PostBuildEvent>
      <Message>Run the test suite</Message>
    </PostBuildEvent>
  </ItemDefinitionGroup>
  <ItemGroup />
</Project>