Move to VS2012 from VS2008
[dyninst.git] / common / common.vcxproj
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="Release|Win32">
9       <Configuration>Release</Configuration>
10       <Platform>Win32</Platform>
11     </ProjectConfiguration>
12   </ItemGroup>
13   <PropertyGroup Label="Globals">
14     <ProjectGuid>{197E213A-6900-4D09-B280-109A0D02DF36}</ProjectGuid>
15     <RootNamespace>common</RootNamespace>
16     <Keyword>ManagedCProj</Keyword>
17   </PropertyGroup>
18   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
20     <ConfigurationType>DynamicLibrary</ConfigurationType>
21     <CharacterSet>MultiByte</CharacterSet>
22     <CLRSupport>false</CLRSupport>
23   </PropertyGroup>
24   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
25     <ConfigurationType>DynamicLibrary</ConfigurationType>
26     <CharacterSet>MultiByte</CharacterSet>
27     <CLRSupport>false</CLRSupport>
28   </PropertyGroup>
29   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
30   <ImportGroup Label="ExtensionSettings">
31   </ImportGroup>
32   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
33     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
34     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
35   </ImportGroup>
36   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
37     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
39   </ImportGroup>
40   <PropertyGroup Label="UserMacros" />
41   <PropertyGroup>
42     <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
43     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\i386-unknown-nt4.0\lib\</OutDir>
44     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">i386-unknown-nt4.0\</IntDir>
45     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
46     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">i386-unknown-nt4.0\</OutDir>
47     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">i386-unknown-nt4.0\</IntDir>
48     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
49     <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;c:\boost</IncludePath>
50   </PropertyGroup>
51   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
52     <ClCompile>
53       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
54       <Optimization>Disabled</Optimization>
55       <AdditionalIncludeDirectories>..;../../i386-unknown-nt4.0/include;../dynutil/h;../external;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
56       <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;os_windows;arch_x86;cap_relocation;cap_dynamic_heap;cap_stripped_binaries;cap_async_events;cap_threads;cap_tramp_liveness;i386_unknown_nt4_0;_WIN32_WINNT=0x500;DO_INLINE_F=inline;DO_INLINE_P=inline;snprintf=_snprintf;COMMON_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57       <MinimalRebuild>false</MinimalRebuild>
58       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
59       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
60       <RuntimeTypeInfo>true</RuntimeTypeInfo>
61       <PrecompiledHeaderFile>headers.h</PrecompiledHeaderFile>
62       <WarningLevel>Level3</WarningLevel>
63       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
64       <DisableSpecificWarnings>4251;4503;%(DisableSpecificWarnings)</DisableSpecificWarnings>
65     </ClCompile>
66     <Link>
67       <AdditionalDependencies>Psapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
68       <OutputFile>$(OutDir)$(ProjectName).dll</OutputFile>
69       <SuppressStartupBanner>true</SuppressStartupBanner>
70       <AdditionalLibraryDirectories>../../i386-unknown-nt4.0/lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
71       <GenerateDebugInformation>true</GenerateDebugInformation>
72       <AssemblyDebug>true</AssemblyDebug>
73       <SubSystem>NotSet</SubSystem>
74       <NoEntryPoint>false</NoEntryPoint>
75       <RandomizedBaseAddress>false</RandomizedBaseAddress>
76       <FixedBaseAddress>
77       </FixedBaseAddress>
78       <DataExecutionPrevention>
79       </DataExecutionPrevention>
80     </Link>
81     <PostBuildEvent>
82       <Command>mkdir $(TargetDir)..\..\include
83 copy $(ProjectDir)..\dynutil\h\*.h $(TargetDir)..\..\include
84 </Command>
85     </PostBuildEvent>
86   </ItemDefinitionGroup>
87   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
88     <ClCompile>
89       <AdditionalIncludeDirectories>..;../../i386-unknown-nt4.0/include;../dynutil/h;../external;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
90       <PreprocessorDefinitions>WIN32;os_windows;arch_x86;cap_relocation;cap_dynamic_heap;cap_stripped_binaries;cap_async_events;cap_threads;cap_tramp_liveness;i386_unknown_nt4_0;_WIN32_WINNT=0x500;DO_INLINE_F=inline;DO_INLINE_P=inline;i386-unknown-nt4.0;BPATCH_LIBRARY;BPATCH_DLL_BUILD;COMMON_LIB;snprintf=_snprintf;%(PreprocessorDefinitions)</PreprocessorDefinitions>
91       <MinimalRebuild>false</MinimalRebuild>
92       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
93       <RuntimeTypeInfo>true</RuntimeTypeInfo>
94       <WarningLevel>Level3</WarningLevel>
95       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
96     </ClCompile>
97     <Link>
98       <AdditionalDependencies>Psapi.lib;dbghelp.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
99       <OutputFile>$(OutDir)libcommon.dll</OutputFile>
100       <GenerateDebugInformation>true</GenerateDebugInformation>
101       <RandomizedBaseAddress>false</RandomizedBaseAddress>
102       <DataExecutionPrevention>
103       </DataExecutionPrevention>
104       <ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
105     </Link>
106     <PostBuildEvent>
107       <Command>echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0
108 mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0
109 echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
110 mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
111 echo copy $(TargetDir)libcommon.dll $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
112 copy $(TargetDir)libcommon.dll $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
113 echo copy $(TargetDir)libcommon.lib $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
114 copy $(TargetDir)libcommon.lib $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
115 </Command>
116     </PostBuildEvent>
117   </ItemDefinitionGroup>
118   <ItemGroup>
119     <ClCompile Include="src\addrtranslate-win.C">
120       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
121       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
122     </ClCompile>
123     <ClCompile Include="src\addrtranslate.C">
124       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
125       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
126     </ClCompile>
127     <ClCompile Include="src\Annotatable.C">
128       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
129       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
130     </ClCompile>
131     <ClCompile Include="src\arch-x86.C">
132       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
133       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
134     </ClCompile>
135     <ClCompile Include="src\AST.C">
136       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
137     </ClCompile>
138     <ClCompile Include="src\debugOstream.C">
139       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
140       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
141       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
142       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
143     </ClCompile>
144     <ClCompile Include="src\DOT.C">
145       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
146     </ClCompile>
147     <ClCompile Include="dthread-win.C">
148       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
149     </ClCompile>
150     <ClCompile Include="src\dyn_regs.C">
151       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
152       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
153     </ClCompile>
154     <ClCompile Include="src\Edge.C">
155       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
156     </ClCompile>
157     <ClCompile Include="src\fraction.C">
158       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
159       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
160       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
161       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
162     </ClCompile>
163     <ClCompile Include="src\Graph.C">
164       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
165     </ClCompile>
166     <ClCompile Include="src\int64iostream.C">
167       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
168       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
169       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
170       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
171     </ClCompile>
172     <ClCompile Include="src\lprintf.C">
173       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
174       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
175       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
176       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
177     </ClCompile>
178     <ClCompile Include="src\MappedFile.C">
179       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
180       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
181     </ClCompile>
182     <ClCompile Include="src\Node.C">
183       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
184     </ClCompile>
185     <ClCompile Include="src\pathName.C">
186       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
187       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
188     </ClCompile>
189     <ClCompile Include="src\serialize-bin.C">
190       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
191       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
192     </ClCompile>
193     <ClCompile Include="src\serialize-xml.C">
194       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
195       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
196     </ClCompile>
197     <ClCompile Include="src\sha1.C">
198       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
199       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
200     </ClCompile>
201     <ClCompile Include="src\stats.C">
202       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
203       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
204       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
205     </ClCompile>
206     <ClCompile Include="src\string-regex.C">
207       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
208       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
209     </ClCompile>
210     <ClCompile Include="src\Time.C">
211       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
212       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
213       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
214     </ClCompile>
215     <ClCompile Include="src\Timer.C">
216       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
217       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
218       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
219     </ClCompile>
220     <ClCompile Include="src\timing-nt.C">
221       <PreprocessToFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PreprocessToFile>
222       <PreprocessSuppressLineNumbers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PreprocessSuppressLineNumbers>
223       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
224       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
225       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
226     </ClCompile>
227     <ClCompile Include="src\timing.C">
228       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
229       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
230       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
231     </ClCompile>
232     <ClCompile Include="src\Types.C">
233       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
234       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
235       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
236       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
237     </ClCompile>
238     <ClCompile Include="src\util.C">
239       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
240       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
241     </ClCompile>
242     <ClCompile Include="src\VariableLocation.C">
243       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
244     </ClCompile>
245   </ItemGroup>
246   <ItemGroup>
247     <ClInclude Include="h\addrtranslate.h" />
248     <ClInclude Include="..\dynutil\h\Annotatable.h" />
249     <ClInclude Include="h\arch-x86.h" />
250     <ClInclude Include="h\arch.h" />
251     <ClInclude Include="h\debugOstream.h" />
252     <ClInclude Include="h\dthread.h" />
253     <ClInclude Include="..\dynutil\h\dyn_regs.h" />
254     <ClInclude Include="..\dynutil\h\dyntypes.h" />
255     <ClInclude Include="..\dynutil\h\Edge.h" />
256     <ClInclude Include="h\fraction.h" />
257     <ClInclude Include="..\dynutil\h\Graph.h" />
258     <ClInclude Include="h\headers.h" />
259     <ClInclude Include="h\ia32_locations.h" />
260     <ClInclude Include="h\int64iostream.h" />
261     <ClInclude Include="h\IntervalTree.h" />
262     <ClInclude Include="h\language.h" />
263     <ClInclude Include="h\lprintf.h" />
264     <ClInclude Include="h\machineType.h" />
265     <ClInclude Include="h\MappedFile.h" />
266     <ClInclude Include="..\dynutil\h\Node.h" />
267     <ClInclude Include="h\NodeIterator.h" />
268     <ClInclude Include="h\ntHeaders.h" />
269     <ClInclude Include="h\pathName.h" />
270     <ClInclude Include="..\dynutil\h\ProcReader.h" />
271     <ClInclude Include="..\dynutil\h\Serialization.h" />
272     <ClInclude Include="h\serialize.h" />
273     <ClInclude Include="h\sha1.h" />
274     <ClInclude Include="h\Singleton.h" />
275     <ClInclude Include="h\stats.h" />
276     <ClInclude Include="h\std_namesp.h" />
277     <ClInclude Include="..\dynutil\h\stl_utils.h" />
278     <ClInclude Include="h\string-regex.h" />
279     <ClInclude Include="h\stringDecl.h" />
280     <ClInclude Include="..\dynutil\h\SymReader.h" />
281     <ClInclude Include="h\Time.h" />
282     <ClInclude Include="h\Timer.h" />
283     <ClInclude Include="h\timing.h" />
284     <ClInclude Include="h\triple.h" />
285     <ClInclude Include="h\Types.h" />
286     <ClInclude Include="..\dynutil\h\util.h" />
287     <ClInclude Include="..\dynutil\h\VariableLocation.h" />
288   </ItemGroup>
289   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
290   <ImportGroup Label="ExtensionTargets">
291   </ImportGroup>
292 </Project>