blob: 28bdcd0f2b352580b24996d864680994cead892e [file] [log] [blame]
NingSun0c89b3c2018-02-08 08:34:03 -08001<?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="Debug|@PLATFORM@">
5 <Configuration>Debug</Configuration>
6 <Platform>@PLATFORM@</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|@PLATFORM@">
9 <Configuration>Release</Configuration>
10 <Platform>@PLATFORM@</Platform>
11 </ProjectConfiguration>
12 </ItemGroup>
13 <PropertyGroup Label="Globals">
14 <ProjectGuid>{05901466-4184-47C8-9D6C-3BB99BBF5378}</ProjectGuid>
15 <Keyword>Win32Proj</Keyword>
16 <RootNamespace>util</RootNamespace>
17 </PropertyGroup>
18 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
20 <ConfigurationType>Application</ConfigurationType>
21 <UseDebugLibraries>true</UseDebugLibraries>
22 <CharacterSet>Unicode</CharacterSet>
23 <PlatformToolset>@PLATFORMTOOLSET@</PlatformToolset>
24 </PropertyGroup>
25 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
26 <ConfigurationType>Application</ConfigurationType>
27 <UseDebugLibraries>false</UseDebugLibraries>
28 <WholeProgramOptimization>true</WholeProgramOptimization>
29 <CharacterSet>Unicode</CharacterSet>
30 <PlatformToolset>@PLATFORMTOOLSET@</PlatformToolset>
31 </PropertyGroup>
32 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
33 <ImportGroup Label="ExtensionSettings">
34 </ImportGroup>
35 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
36 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
37 </ImportGroup>
38 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
39 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40 </ImportGroup>
41 <PropertyGroup Label="UserMacros" />
42 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
43 <LinkIncremental>true</LinkIncremental>
44 <TargetName>softhsm2-util</TargetName>
45 </PropertyGroup>
46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
47 <LinkIncremental>false</LinkIncremental>
48 <TargetName>softhsm2-util</TargetName>
49 </PropertyGroup>
50 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
51 <ClCompile>
52 <PrecompiledHeader>
53 </PrecompiledHeader>
54 <WarningLevel>Level3</WarningLevel>
55 <Optimization>Disabled</Optimization>
56 <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57 <AdditionalIncludeDirectories>..;..\..\src\bin\common;..\..\src\bin\win32;..\..\src\lib\pkcs11;..\..\src\lib;..\..\src\lib\common;..\..\src\lib\crypto;..\..\src\lib\data_mgr;..\..\src\lib\object_store;..\..\src\lib\win32\;@DEBUGINCPATH@;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
58 <RuntimeLibrary>@RUNTIMELIBRARY@</RuntimeLibrary>
59 </ClCompile>
60 <Link>
61 <SubSystem>Console</SubSystem>
62 <GenerateDebugInformation>true</GenerateDebugInformation>
63 <AdditionalLibraryDirectories>..\@PLATFORMDIR@$(Configuration);@DEBUGLIBPATH@;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
64 <AdditionalDependencies>convarch.lib;@LIBNAME@;@EXTRALIBS@%(AdditionalDependencies)</AdditionalDependencies>
65 </Link>
66 <PostBuildEvent>
67 <Command>if exist @DEBUGDLLPATH@ copy @DEBUGDLLPATH@ ..\@PLATFORMDIR@$(Configuration)</Command>
68 </PostBuildEvent>
69 </ItemDefinitionGroup>
70 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
71 <ClCompile>
72 <WarningLevel>Level3</WarningLevel>
73 <PrecompiledHeader>
74 </PrecompiledHeader>
75 <Optimization>MaxSpeed</Optimization>
76 <FunctionLevelLinking>true</FunctionLevelLinking>
77 <IntrinsicFunctions>true</IntrinsicFunctions>
78 <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79 <AdditionalIncludeDirectories>..;..\..\src\bin\common;..\..\src\bin\win32;..\..\src\lib\pkcs11;..\..\src\lib;..\..\src\lib\common;..\..\src\lib\crypto;..\..\src\lib\data_mgr;..\..\src\lib\object_store;..\..\src\lib\win32\;@INCLUDEPATH@;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
80 <RuntimeLibrary>@RUNTIMELIBRARY@</RuntimeLibrary>
81 </ClCompile>
82 <Link>
83 <SubSystem>Console</SubSystem>
84 <GenerateDebugInformation>true</GenerateDebugInformation>
85 <EnableCOMDATFolding>true</EnableCOMDATFolding>
86 <OptimizeReferences>true</OptimizeReferences>
87 <AdditionalLibraryDirectories>..\@PLATFORMDIR@$(Configuration);@LIBPATH@;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
88 <AdditionalDependencies>convarch.lib;@LIBNAME@;@EXTRALIBS@%(AdditionalDependencies)</AdditionalDependencies>
89 </Link>
90 <PostBuildEvent>
91 <Command>if exist @DLLPATH@ copy @DLLPATH@ ..\@PLATFORMDIR@$(Configuration)</Command>
92 </PostBuildEvent>
93 </ItemDefinitionGroup>
94 <ItemGroup>
95 <ClInclude Include="..\..\src\bin\common\findslot.h" />
96 <ClInclude Include="..\..\src\bin\common\getpw.h" />
97 <ClInclude Include="..\..\src\bin\common\library.h" />
98@IF BOTAN
99 <ClInclude Include="..\..\src\bin\util\softhsm2-util-botan.h" />
100@END BOTAN
101@IF OPENSSL
102 <ClInclude Include="..\..\src\bin\util\softhsm2-util-ossl.h" />
103 <ClInclude Include="..\..\src\lib\crypto\OSSLComp.h" />
104@END OPENSSL
105 <ClInclude Include="..\..\src\bin\util\softhsm2-util.h" />
106 <ClInclude Include="..\..\src\bin\win32\getopt.h" />
107 <ClInclude Include="..\..\src\lib\pkcs11\cryptoki.h" />
108 <ClInclude Include="..\..\src\lib\pkcs11\pkcs11.h" />
109 <ClInclude Include="..\..\src\lib\pkcs11\pkcs11f.h" />
110 <ClInclude Include="..\..\src\lib\pkcs11\pkcs11t.h" />
111 </ItemGroup>
112 <ItemGroup>
113 <ClCompile Include="..\..\src\bin\common\findslot.cpp" />
114 <ClCompile Include="..\..\src\bin\common\getpw.cpp" />
115 <ClCompile Include="..\..\src\bin\common\library.cpp" />
116@IF BOTAN
117 <ClCompile Include="..\..\src\bin\util\softhsm2-util-botan.cpp" />
118@END BOTAN
119@IF OPENSSL
120 <ClCompile Include="..\..\src\bin\util\softhsm2-util-ossl.cpp" />
121 <ClCompile Include="..\..\src\lib\crypto\OSSLComp.cpp" />
122@END OPENSSL
123 <ClCompile Include="..\..\src\bin\util\softhsm2-util.cpp" />
124 <ClCompile Include="..\..\src\bin\win32\getopt.cpp" />
125 <ClCompile Include="..\..\src\bin\win32\getpassphase.cpp" />
126 </ItemGroup>
127 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
128 <ImportGroup Label="ExtensionTargets">
129 </ImportGroup>
130</Project>