xref: /freebsd/sys/contrib/libsodium/regen-msvc/tl_libsodium.vcxproj.tpl (revision 6829dae12bb055451fa467da4589c43bd03b1e64)
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <ItemGroup Label="ProjectConfigurations">
4    <ProjectConfiguration Include="DebugDLL|Win32">
5      <Configuration>DebugDLL</Configuration>
6      <Platform>Win32</Platform>
7    </ProjectConfiguration>
8    <ProjectConfiguration Include="DebugDLL|x64">
9      <Configuration>DebugDLL</Configuration>
10      <Platform>x64</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="Debug|Win32">
13      <Configuration>Debug</Configuration>
14      <Platform>Win32</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="Debug|x64">
17      <Configuration>Debug</Configuration>
18      <Platform>x64</Platform>
19    </ProjectConfiguration>
20    <ProjectConfiguration Include="ReleaseDLL|Win32">
21      <Configuration>ReleaseDLL</Configuration>
22      <Platform>Win32</Platform>
23    </ProjectConfiguration>
24    <ProjectConfiguration Include="ReleaseDLL|x64">
25      <Configuration>ReleaseDLL</Configuration>
26      <Platform>x64</Platform>
27    </ProjectConfiguration>
28    <ProjectConfiguration Include="Release|Win32">
29      <Configuration>Release</Configuration>
30      <Platform>Win32</Platform>
31    </ProjectConfiguration>
32    <ProjectConfiguration Include="Release|x64">
33      <Configuration>Release</Configuration>
34      <Platform>x64</Platform>
35    </ProjectConfiguration>
36  </ItemGroup>
37  <PropertyGroup Label="Globals">
38    <ProjectGuid>{A185B162-6CB6-4502-B03F-B56F7699A8D9}</ProjectGuid>
39    <Keyword>Win32Proj</Keyword>
40    <RootNamespace>libsodium</RootNamespace>
41  </PropertyGroup>
42  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
43  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
44    <ConfigurationType>StaticLibrary</ConfigurationType>
45    <UseDebugLibraries>true</UseDebugLibraries>
46    <CharacterSet>MultiByte</CharacterSet>
47    <WholeProgramOptimization>false</WholeProgramOptimization>
48    <PlatformToolset>{{platform}}</PlatformToolset>
49  </PropertyGroup>
50  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'" Label="Configuration">
51    <ConfigurationType>DynamicLibrary</ConfigurationType>
52    <UseDebugLibraries>true</UseDebugLibraries>
53    <CharacterSet>MultiByte</CharacterSet>
54    <WholeProgramOptimization>false</WholeProgramOptimization>
55    <PlatformToolset>{{platform}}</PlatformToolset>
56  </PropertyGroup>
57  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
58    <ConfigurationType>StaticLibrary</ConfigurationType>
59    <UseDebugLibraries>true</UseDebugLibraries>
60    <CharacterSet>MultiByte</CharacterSet>
61    <WholeProgramOptimization>false</WholeProgramOptimization>
62    <PlatformToolset>{{platform}}</PlatformToolset>
63  </PropertyGroup>
64  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'" Label="Configuration">
65    <ConfigurationType>DynamicLibrary</ConfigurationType>
66    <UseDebugLibraries>true</UseDebugLibraries>
67    <CharacterSet>MultiByte</CharacterSet>
68    <WholeProgramOptimization>false</WholeProgramOptimization>
69    <PlatformToolset>{{platform}}</PlatformToolset>
70  </PropertyGroup>
71  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
72    <ConfigurationType>StaticLibrary</ConfigurationType>
73    <UseDebugLibraries>false</UseDebugLibraries>
74    <WholeProgramOptimization>true</WholeProgramOptimization>
75    <CharacterSet>MultiByte</CharacterSet>
76    <PlatformToolset>{{platform}}</PlatformToolset>
77  </PropertyGroup>
78  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'" Label="Configuration">
79    <ConfigurationType>DynamicLibrary</ConfigurationType>
80    <UseDebugLibraries>false</UseDebugLibraries>
81    <WholeProgramOptimization>true</WholeProgramOptimization>
82    <CharacterSet>MultiByte</CharacterSet>
83    <PlatformToolset>{{platform}}</PlatformToolset>
84  </PropertyGroup>
85  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
86    <ConfigurationType>StaticLibrary</ConfigurationType>
87    <UseDebugLibraries>false</UseDebugLibraries>
88    <WholeProgramOptimization>true</WholeProgramOptimization>
89    <CharacterSet>MultiByte</CharacterSet>
90    <PlatformToolset>{{platform}}</PlatformToolset>
91  </PropertyGroup>
92  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'" Label="Configuration">
93    <ConfigurationType>DynamicLibrary</ConfigurationType>
94    <UseDebugLibraries>false</UseDebugLibraries>
95    <WholeProgramOptimization>true</WholeProgramOptimization>
96    <CharacterSet>MultiByte</CharacterSet>
97    <PlatformToolset>{{platform}}</PlatformToolset>
98  </PropertyGroup>
99  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
100  <ImportGroup Label="ExtensionSettings">
101  </ImportGroup>
102  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
103    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
104    <Import Project="msvc-scripts\sodium.props" />
105  </ImportGroup>
106  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'" Label="PropertySheets">
107    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
108    <Import Project="msvc-scripts\sodium.props" />
109  </ImportGroup>
110  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
111    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
112    <Import Project="msvc-scripts\sodium.props" />
113  </ImportGroup>
114  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'" Label="PropertySheets">
115    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
116    <Import Project="msvc-scripts\sodium.props" />
117  </ImportGroup>
118  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
119    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
120    <Import Project="msvc-scripts\sodium.props" />
121  </ImportGroup>
122  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'" Label="PropertySheets">
123    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
124    <Import Project="msvc-scripts\sodium.props" />
125  </ImportGroup>
126  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
127    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
128    <Import Project="msvc-scripts\sodium.props" />
129  </ImportGroup>
130  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'" Label="PropertySheets">
131    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
132    <Import Project="msvc-scripts\sodium.props" />
133  </ImportGroup>
134  <PropertyGroup Label="UserMacros" />
135  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
136    <LinkIncremental>true</LinkIncremental>
137    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
138    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
139  </PropertyGroup>
140  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
141    <LinkIncremental>true</LinkIncremental>
142    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
143    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
144  </PropertyGroup>
145  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
146    <LinkIncremental>true</LinkIncremental>
147    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
148    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
149  </PropertyGroup>
150  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
151    <LinkIncremental>true</LinkIncremental>
152    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
153    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
154  </PropertyGroup>
155  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
156    <LinkIncremental>false</LinkIncremental>
157    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
158    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
159  </PropertyGroup>
160  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
161    <LinkIncremental>false</LinkIncremental>
162    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
163    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
164  </PropertyGroup>
165  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
166    <LinkIncremental>false</LinkIncremental>
167    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
168    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
169  </PropertyGroup>
170  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
171    <LinkIncremental>false</LinkIncremental>
172    <OutDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\</OutDir>
173    <IntDir>$(SolutionDir)Build\$(Configuration)\$(Platform)\Intermediate\</IntDir>
174  </PropertyGroup>
175  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
176    <ClCompile>
177      <PrecompiledHeader>
178      </PrecompiledHeader>
179      <WarningLevel>Level3</WarningLevel>
180      <Optimization>Disabled</Optimization>
181      <PreprocessorDefinitions>SODIUM_STATIC;SODIUM_EXPORT=;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
182      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
183      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
184      <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
185    </ClCompile>
186    <Link>
187      <SubSystem>Console</SubSystem>
188      <GenerateDebugInformation>true</GenerateDebugInformation>
189    </Link>
190  </ItemDefinitionGroup>
191  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
192    <ClCompile>
193      <PrecompiledHeader>
194      </PrecompiledHeader>
195      <WarningLevel>Level3</WarningLevel>
196      <Optimization>Disabled</Optimization>
197      <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
198      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
199      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
200      <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
201    </ClCompile>
202    <Link>
203      <SubSystem>Console</SubSystem>
204      <GenerateDebugInformation>true</GenerateDebugInformation>
205    </Link>
206  </ItemDefinitionGroup>
207  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
208    <ClCompile>
209      <PrecompiledHeader>
210      </PrecompiledHeader>
211      <WarningLevel>Level3</WarningLevel>
212      <Optimization>Disabled</Optimization>
213      <PreprocessorDefinitions>SODIUM_STATIC;SODIUM_EXPORT=;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
214      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
215      <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
216    </ClCompile>
217    <Link>
218      <SubSystem>Console</SubSystem>
219      <GenerateDebugInformation>true</GenerateDebugInformation>
220    </Link>
221  </ItemDefinitionGroup>
222  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
223    <ClCompile>
224      <PrecompiledHeader>
225      </PrecompiledHeader>
226      <WarningLevel>Level3</WarningLevel>
227      <Optimization>Disabled</Optimization>
228      <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
229      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
230      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
231    </ClCompile>
232    <Link>
233      <SubSystem>Console</SubSystem>
234      <GenerateDebugInformation>true</GenerateDebugInformation>
235    </Link>
236  </ItemDefinitionGroup>
237  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
238    <ClCompile>
239      <WarningLevel>Level3</WarningLevel>
240      <PrecompiledHeader>
241      </PrecompiledHeader>
242      <Optimization>Full</Optimization>
243      <FunctionLevelLinking>true</FunctionLevelLinking>
244      <IntrinsicFunctions>true</IntrinsicFunctions>
245      <PreprocessorDefinitions>SODIUM_STATIC;SODIUM_EXPORT=;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
246      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
247      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
248      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
249      <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
250    </ClCompile>
251    <Link>
252      <SubSystem>Console</SubSystem>
253      <GenerateDebugInformation>true</GenerateDebugInformation>
254      <EnableCOMDATFolding>true</EnableCOMDATFolding>
255      <OptimizeReferences>true</OptimizeReferences>
256    </Link>
257  </ItemDefinitionGroup>
258  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
259    <ClCompile>
260      <WarningLevel>Level3</WarningLevel>
261      <PrecompiledHeader>
262      </PrecompiledHeader>
263      <Optimization>Full</Optimization>
264      <FunctionLevelLinking>true</FunctionLevelLinking>
265      <IntrinsicFunctions>true</IntrinsicFunctions>
266      <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
267      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
268      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
269      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
270      <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
271    </ClCompile>
272    <Link>
273      <SubSystem>Console</SubSystem>
274      <GenerateDebugInformation>true</GenerateDebugInformation>
275      <EnableCOMDATFolding>true</EnableCOMDATFolding>
276      <OptimizeReferences>true</OptimizeReferences>
277    </Link>
278  </ItemDefinitionGroup>
279  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
280    <ClCompile>
281      <WarningLevel>Level3</WarningLevel>
282      <PrecompiledHeader>
283      </PrecompiledHeader>
284      <Optimization>MaxSpeed</Optimization>
285      <FunctionLevelLinking>true</FunctionLevelLinking>
286      <IntrinsicFunctions>true</IntrinsicFunctions>
287      <PreprocessorDefinitions>SODIUM_STATIC;SODIUM_EXPORT=;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
288      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
289      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
290    </ClCompile>
291    <Link>
292      <SubSystem>Console</SubSystem>
293      <GenerateDebugInformation>true</GenerateDebugInformation>
294      <EnableCOMDATFolding>true</EnableCOMDATFolding>
295      <OptimizeReferences>true</OptimizeReferences>
296    </Link>
297  </ItemDefinitionGroup>
298  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
299    <ClCompile>
300      <WarningLevel>Level3</WarningLevel>
301      <PrecompiledHeader>
302      </PrecompiledHeader>
303      <Optimization>MaxSpeed</Optimization>
304      <FunctionLevelLinking>true</FunctionLevelLinking>
305      <IntrinsicFunctions>true</IntrinsicFunctions>
306      <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
307      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
308      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
309    </ClCompile>
310    <Link>
311      <SubSystem>Console</SubSystem>
312      <GenerateDebugInformation>true</GenerateDebugInformation>
313      <EnableCOMDATFolding>true</EnableCOMDATFolding>
314      <OptimizeReferences>true</OptimizeReferences>
315    </Link>
316  </ItemDefinitionGroup>
317  <ItemGroup>
318    {{tlv1}}
319  </ItemGroup>
320  <ItemGroup>
321    {{tlv2}}
322    <ClInclude Include="builds\msvc\resource.h" />
323  </ItemGroup>
324  <ItemGroup>
325    <ResourceCompile Include="builds\msvc\resource.rc">
326    </ResourceCompile>
327  </ItemGroup>
328  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
329  <ImportGroup Label="ExtensionTargets">
330  </ImportGroup>
331</Project>
332