| 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="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>{7C5EE7FC-B5FC-47BF-8164-A452FE689472}</ProjectGuid> |
| 15 |
<Keyword>Win32Proj</Keyword> |
| 16 |
<RootNamespace>p11test</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 |
</PropertyGroup> |
| 45 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'"> |
| 46 |
<LinkIncremental>false</LinkIncremental> |
| 47 |
</PropertyGroup> |
| 48 |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'"> |
| 49 |
<ClCompile> |
| 50 |
<PrecompiledHeader> |
| 51 |
</PrecompiledHeader> |
| 52 |
<WarningLevel>Level3</WarningLevel> |
| 53 |
<Optimization>Disabled</Optimization> |
| 54 |
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 55 |
<AdditionalIncludeDirectories>..;..\..\src\lib;..\..\src\lib\test;..\..\src\lib\pkcs11;..\..\src\lib\common;..\..\src\lib\crypto;..\..\src\lib\object_store;..\..\src\lib\data_mgr;..\..\src\lib\session_mgr;..\..\src\lib\slot_mgr;..\..\src\lib\handle_mgr;..\..\src\lib\win32;@CUINCPATH@;@INCLUDEPATH@;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 56 |
<RuntimeLibrary>@RUNTIMELIBRARY@</RuntimeLibrary> |
| 57 |
</ClCompile> |
| 58 |
<Link> |
| 59 |
<SubSystem>Console</SubSystem> |
| 60 |
<GenerateDebugInformation>true</GenerateDebugInformation> |
| 61 |
<AdditionalLibraryDirectories>..\@PLATFORMDIR@$(Configuration);@CULIBPATH@;@DEBUGLIBPATH@;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 62 |
<AdditionalDependencies>convarch.lib;cppunitd.lib;@BOTAN_LIBRARY@;@EXTRALIBS@%(AdditionalDependencies)</AdditionalDependencies> |
| 63 |
</Link> |
| 64 |
<PostBuildEvent> |
| 65 |
<Command> |
| 66 |
copy ..\..\src\lib\test\softhsm2.conf.win32 "$(TargetDir)\softhsm2.conf" |
| 67 |
copy ..\..\src\lib\test\softhsm2-alt.conf.win32 "$(TargetDir)\softhsm2-alt.conf" |
| 68 |
copy ..\..\src\lib\test\softhsm2-reset-on-fork.conf.win32 "$(TargetDir)\softhsm2-reset-on-fork.conf" |
| 69 |
copy ..\..\src\lib\test\softhsm2-mech.conf.win32 "$(TargetDir)\softhsm2-mech.conf" |
| 70 |
mkdir "$(TargetDir)\tokens" 2> nul |
| 71 |
copy ..\..\src\lib\test\tokens\dummy.in "$(TargetDir)\tokens\dummy" |
| 72 |
</Command> |
| 73 |
<Message>Copying dummy test files to Debug folder</Message> |
| 74 |
</PostBuildEvent> |
| 75 |
</ItemDefinitionGroup> |
| 76 |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'"> |
| 77 |
<ClCompile> |
| 78 |
<WarningLevel>Level3</WarningLevel> |
| 79 |
<PrecompiledHeader> |
| 80 |
</PrecompiledHeader> |
| 81 |
<Optimization>MaxSpeed</Optimization> |
| 82 |
<FunctionLevelLinking>true</FunctionLevelLinking> |
| 83 |
<IntrinsicFunctions>true</IntrinsicFunctions> |
| 84 |
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 85 |
<AdditionalIncludeDirectories>..;..\..\src\lib;..\..\src\lib\test;..\..\src\lib\pkcs11;..\..\src\lib\common;..\..\src\lib\crypto;..\..\src\lib\object_store;..\..\src\lib\data_mgr;..\..\src\lib\session_mgr;..\..\src\lib\slot_mgr;..\..\src\lib\handle_mgr;..\..\src\lib\win32;@CUINCPATH@;@INCLUDEPATH@;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 86 |
<RuntimeLibrary>@RUNTIMELIBRARY@</RuntimeLibrary> |
| 87 |
</ClCompile> |
| 88 |
<Link> |
| 89 |
<SubSystem>Console</SubSystem> |
| 90 |
<GenerateDebugInformation>true</GenerateDebugInformation> |
| 91 |
<EnableCOMDATFolding>true</EnableCOMDATFolding> |
| 92 |
<OptimizeReferences>true</OptimizeReferences> |
| 93 |
<AdditionalLibraryDirectories>..\@PLATFORMDIR@$(Configuration);@CULIBPATH@;@LIBPATH@;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
| 94 |
<AdditionalDependencies>convarch.lib;cppunit.lib;@BOTAN_LIBRARY@;@EXTRALIBS@%(AdditionalDependencies)</AdditionalDependencies> |
| 95 |
</Link> |
| 96 |
<PostBuildEvent> |
| 97 |
<Command> |
| 98 |
copy ..\..\src\lib\test\softhsm2.conf.win32 "$(TargetDir)\softhsm2.conf" |
| 99 |
copy ..\..\src\lib\test\softhsm2-alt.conf.win32 "$(TargetDir)\softhsm2-alt.conf" |
| 100 |
copy ..\..\src\lib\test\softhsm2-reset-on-fork.conf.win32 "$(TargetDir)\softhsm2-reset-on-fork.conf" |
| 101 |
copy ..\..\src\lib\test\softhsm2-mech.conf.win32 "$(TargetDir)\softhsm2-mech.conf" |
| 102 |
mkdir "$(TargetDir)\tokens" 2> nul |
| 103 |
copy ..\..\src\lib\test\tokens\dummy.in "$(TargetDir)\tokens\dummy" |
| 104 |
</Command> |
| 105 |
<Message>Copying dummy test files to Release folder</Message> |
| 106 |
</PostBuildEvent> |
| 107 |
</ItemDefinitionGroup> |
| 108 |
<ItemGroup> |
| 109 |
<ClInclude Include="..\..\src\lib\access.h" /> |
| 110 |
<ClInclude Include="..\..\src\lib\common\osmutex.h" /> |
| 111 |
<ClInclude Include="..\..\src\lib\pkcs11\cryptoki.h" /> |
| 112 |
<ClInclude Include="..\..\src\lib\pkcs11\pkcs11.h" /> |
| 113 |
<ClInclude Include="..\..\src\lib\pkcs11\pkcs11f.h" /> |
| 114 |
<ClInclude Include="..\..\src\lib\pkcs11\pkcs11t.h" /> |
| 115 |
<ClInclude Include="..\..\src\lib\P11Attributes.h" /> |
| 116 |
<ClInclude Include="..\..\src\lib\P11Objects.h" /> |
| 117 |
<ClInclude Include="..\..\src\lib\SoftHSM.h" /> |
| 118 |
<ClInclude Include="..\..\src\lib\test\AsymEncryptDecryptTests.h" /> |
| 119 |
<ClInclude Include="..\..\src\lib\test\AsymWrapUnwrapTests.h" /> |
| 120 |
<ClInclude Include="..\..\src\lib\test\DeriveTests.h" /> |
| 121 |
<ClInclude Include="..\..\src\lib\test\DigestTests.h" /> |
| 122 |
<ClInclude Include="..\..\src\lib\test\InfoTests.h" /> |
| 123 |
<ClInclude Include="..\..\src\lib\test\InitTests.h" /> |
| 124 |
<ClInclude Include="..\..\src\lib\test\ObjectTests.h" /> |
| 125 |
<ClInclude Include="..\..\src\lib\test\RandomTests.h" /> |
| 126 |
<ClInclude Include="..\..\src\lib\test\SessionTests.h" /> |
| 127 |
<ClInclude Include="..\..\src\lib\test\SignVerifyTests.h" /> |
| 128 |
<ClInclude Include="..\..\src\lib\test\SymmetricAlgorithmTests.h" /> |
| 129 |
<ClInclude Include="..\..\src\lib\test\TestsBase.h" /> |
| 130 |
<ClInclude Include="..\..\src\lib\test\TestsNoPINInitBase.h" /> |
| 131 |
<ClInclude Include="..\..\src\lib\test\TokenTests.h" /> |
| 132 |
<ClInclude Include="..\..\src\lib\test\UserTests.h" /> |
| 133 |
<ClInclude Include="..\..\src\lib\win32\setenv.h" /> |
| 134 |
</ItemGroup> |
| 135 |
<ItemGroup> |
| 136 |
<ClCompile Include="..\..\src\lib\access.cpp" /> |
| 137 |
<ClCompile Include="..\..\src\lib\common\osmutex.cpp" /> |
| 138 |
<ClCompile Include="..\..\src\lib\main.cpp" /> |
| 139 |
<ClCompile Include="..\..\src\lib\P11Attributes.cpp" /> |
| 140 |
<ClCompile Include="..\..\src\lib\P11Objects.cpp" /> |
| 141 |
<ClCompile Include="..\..\src\lib\SoftHSM.cpp" /> |
| 142 |
<ClCompile Include="..\..\src\lib\test\AsymEncryptDecryptTests.cpp" /> |
| 143 |
<ClCompile Include="..\..\src\lib\test\AsymWrapUnwrapTests.cpp" /> |
| 144 |
<ClCompile Include="..\..\src\lib\test\DeriveTests.cpp" /> |
| 145 |
<ClCompile Include="..\..\src\lib\test\DigestTests.cpp" /> |
| 146 |
<ClCompile Include="..\..\src\lib\test\InfoTests.cpp" /> |
| 147 |
<ClCompile Include="..\..\src\lib\test\InitTests.cpp" /> |
| 148 |
<ClCompile Include="..\..\src\lib\test\ObjectTests.cpp" /> |
| 149 |
<ClCompile Include="..\..\src\lib\test\p11test.cpp" /> |
| 150 |
<ClCompile Include="..\..\src\lib\test\RandomTests.cpp" /> |
| 151 |
<ClCompile Include="..\..\src\lib\test\SessionTests.cpp" /> |
| 152 |
<ClCompile Include="..\..\src\lib\test\SignVerifyTests.cpp" /> |
| 153 |
<ClCompile Include="..\..\src\lib\test\SymmetricAlgorithmTests.cpp" /> |
| 154 |
<ClCompile Include="..\..\src\lib\test\TestsBase.cpp" /> |
| 155 |
<ClCompile Include="..\..\src\lib\test\TestsNoPINInitBase.cpp" /> |
| 156 |
<ClCompile Include="..\..\src\lib\test\TokenTests.cpp" /> |
| 157 |
<ClCompile Include="..\..\src\lib\test\UserTests.cpp" /> |
| 158 |
<ClCompile Include="..\..\src\lib\win32\setenv.cpp" /> |
| 159 |
</ItemGroup> |
| 160 |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 161 |
<ImportGroup Label="ExtensionTargets"> |
| 162 |
</ImportGroup> |
| 163 |
</Project> |