source: trunk/CrypPlugins/Libs/NativeCryptography/NativeCryptography.vcxproj @ 2311

Last change on this file since 2311 was 2311, checked in by Matthäus Wander, 11 years ago

Consolidating x86 and x64 build targets, see #172.

  • changed Win32 target path of native libs
  • kept x64 configuration for future use
File size: 13.6 KB
Line 
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|Win32">
5      <Configuration>Debug</Configuration>
6      <Platform>Win32</Platform>
7    </ProjectConfiguration>
8    <ProjectConfiguration Include="Debug|x64">
9      <Configuration>Debug</Configuration>
10      <Platform>x64</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="Release|Win32">
13      <Configuration>Release</Configuration>
14      <Platform>Win32</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="Release|x64">
17      <Configuration>Release</Configuration>
18      <Platform>x64</Platform>
19    </ProjectConfiguration>
20  </ItemGroup>
21  <PropertyGroup Label="Globals">
22    <ProjectGuid>{97B06ADB-43E4-4320-9AD8-D167421F0644}</ProjectGuid>
23    <RootNamespace>NativeCryptography</RootNamespace>
24    <Keyword>ManagedCProj</Keyword>
25  </PropertyGroup>
26  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28    <ConfigurationType>DynamicLibrary</ConfigurationType>
29    <CharacterSet>Unicode</CharacterSet>
30    <CLRSupport>true</CLRSupport>
31    <WholeProgramOptimization>true</WholeProgramOptimization>
32  </PropertyGroup>
33  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34    <ConfigurationType>DynamicLibrary</ConfigurationType>
35    <CharacterSet>Unicode</CharacterSet>
36    <CLRSupport>true</CLRSupport>
37  </PropertyGroup>
38  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39    <ConfigurationType>DynamicLibrary</ConfigurationType>
40    <CharacterSet>Unicode</CharacterSet>
41    <CLRSupport>true</CLRSupport>
42    <WholeProgramOptimization>true</WholeProgramOptimization>
43  </PropertyGroup>
44  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45    <ConfigurationType>DynamicLibrary</ConfigurationType>
46    <CharacterSet>Unicode</CharacterSet>
47    <CLRSupport>true</CLRSupport>
48  </PropertyGroup>
49  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
50  <ImportGroup Label="ExtensionSettings">
51  </ImportGroup>
52  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
53    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54  </ImportGroup>
55  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57  </ImportGroup>
58  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
59    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60  </ImportGroup>
61  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
62    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
63  </ImportGroup>
64  <PropertyGroup Label="UserMacros" />
65  <PropertyGroup>
66    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
67    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)\bin\$(Platform)\$(Configuration)\</OutDir>
68    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)\Obj\$(Platform)\$(Configuration)\</IntDir>
69    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
70    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)\bin\$(Platform)\$(Configuration)\</OutDir>
71    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)\Obj\$(Platform)\$(Configuration)\</IntDir>
72    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
73    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)\bin\$(Platform)\$(Configuration)\</OutDir>
74    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)\Obj\$(Platform)\$(Configuration)\</IntDir>
75    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
76    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)\bin\$(Platform)\$(Configuration)\</OutDir>
77    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)\Obj\$(Platform)\$(Configuration)\</IntDir>
78    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
79    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
80    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
81    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
82    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
83    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
84    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
85    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
86    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
87    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
88    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
89    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
90    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
91  </PropertyGroup>
92  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
93    <ClCompile>
94      <Optimization>MaxSpeed</Optimization>
95      <IntrinsicFunctions>true</IntrinsicFunctions>
96      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
97      <WholeProgramOptimization>false</WholeProgramOptimization>
98      <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
99      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
100      <PrecompiledHeader>
101      </PrecompiledHeader>
102      <WarningLevel>Level3</WarningLevel>
103      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
104    </ClCompile>
105    <Link>
106      <AdditionalDependencies>
107      </AdditionalDependencies>
108      <GenerateDebugInformation>true</GenerateDebugInformation>
109      <AssemblyDebug>true</AssemblyDebug>
110      <LinkTimeCodeGeneration>
111      </LinkTimeCodeGeneration>
112      <TargetMachine>MachineX86</TargetMachine>
113    </Link>
114    <PostBuildEvent>
115      <Command>
116      </Command>
117    </PostBuildEvent>
118  </ItemDefinitionGroup>
119  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
120    <ClCompile>
121      <Optimization>MaxSpeed</Optimization>
122      <IntrinsicFunctions>true</IntrinsicFunctions>
123      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
124      <WholeProgramOptimization>false</WholeProgramOptimization>
125      <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
126      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
127      <PrecompiledHeader>
128      </PrecompiledHeader>
129      <WarningLevel>Level3</WarningLevel>
130      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
131    </ClCompile>
132    <Link>
133      <AdditionalDependencies>
134      </AdditionalDependencies>
135      <GenerateDebugInformation>true</GenerateDebugInformation>
136      <LinkTimeCodeGeneration>
137      </LinkTimeCodeGeneration>
138      <TargetMachine>MachineX86</TargetMachine>
139    </Link>
140    <PostBuildEvent>
141      <Command>xcopy /Y /F "$(TargetDir)$(TargetFileName)" "..\..\..\AppReferences"</Command>
142    </PostBuildEvent>
143  </ItemDefinitionGroup>
144  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
145    <Midl>
146      <TargetEnvironment>X64</TargetEnvironment>
147    </Midl>
148    <ClCompile>
149      <Optimization>MaxSpeed</Optimization>
150      <IntrinsicFunctions>true</IntrinsicFunctions>
151      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
152      <WholeProgramOptimization>false</WholeProgramOptimization>
153      <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
154      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
155      <PrecompiledHeader>
156      </PrecompiledHeader>
157      <WarningLevel>Level3</WarningLevel>
158      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
159    </ClCompile>
160    <Link>
161      <AdditionalDependencies>
162      </AdditionalDependencies>
163      <GenerateDebugInformation>true</GenerateDebugInformation>
164      <AssemblyDebug>true</AssemblyDebug>
165      <LinkTimeCodeGeneration>
166      </LinkTimeCodeGeneration>
167      <TargetMachine>MachineX64</TargetMachine>
168    </Link>
169    <PostBuildEvent>
170      <Command>
171      </Command>
172    </PostBuildEvent>
173  </ItemDefinitionGroup>
174  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
175    <Midl>
176      <TargetEnvironment>X64</TargetEnvironment>
177    </Midl>
178    <ClCompile>
179      <Optimization>MaxSpeed</Optimization>
180      <IntrinsicFunctions>true</IntrinsicFunctions>
181      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
182      <WholeProgramOptimization>false</WholeProgramOptimization>
183      <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
184      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
185      <PrecompiledHeader>
186      </PrecompiledHeader>
187      <WarningLevel>Level3</WarningLevel>
188      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
189    </ClCompile>
190    <Link>
191      <AdditionalDependencies>
192      </AdditionalDependencies>
193      <GenerateDebugInformation>true</GenerateDebugInformation>
194      <LinkTimeCodeGeneration>
195      </LinkTimeCodeGeneration>
196      <TargetMachine>MachineX64</TargetMachine>
197    </Link>
198    <PostBuildEvent>
199      <Command>mkdir ..\..\..\AppReferences\x64
200xcopy /Y /F "$(TargetDir)$(TargetFileName)" "..\..\..\AppReferences\x64\"</Command>
201    </PostBuildEvent>
202  </ItemDefinitionGroup>
203  <ItemGroup>
204    <Reference Include="System">
205      <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
206      <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
207    </Reference>
208    <Reference Include="System.Data">
209      <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
210      <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
211    </Reference>
212    <Reference Include="System.Xml">
213      <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
214      <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
215    </Reference>
216  </ItemGroup>
217  <ItemGroup>
218    <ClCompile Include="aes_core.c">
219      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
220      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
221      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
222      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
223    </ClCompile>
224    <ClCompile Include="AssemblyInfo.cpp" />
225    <ClCompile Include="NativeCryptography.cpp" />
226    <ClCompile Include="DES\des_enc.c">
227      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
228      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
229      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
230      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
231    </ClCompile>
232    <ClCompile Include="DES\ecb_enc.c">
233      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
234      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
235      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
236      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
237    </ClCompile>
238    <ClCompile Include="DES\set_key.c">
239      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
240      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
241      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
242      <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
243    </ClCompile>
244  </ItemGroup>
245  <ItemGroup>
246    <ClInclude Include="aes_core.h" />
247    <ClCompile Include="DES\des.h" />
248    <ClInclude Include="DES\des_locl.h" />
249    <ClInclude Include="NativeCryptography.h" />
250    <ClInclude Include="DES\spr.h" />
251  </ItemGroup>
252  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
253  <ImportGroup Label="ExtensionTargets">
254  </ImportGroup>
255</Project>
Note: See TracBrowser for help on using the repository browser.