Move dynutil/h to common/h; move common/h to common/src. Update CMakeLists.txt
[dyninst.git] / patchAPI / patchAPI.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>{6DECA5E0-DF7A-4017-82F3-E7D105DDF0E4}</ProjectGuid>
15     <RootNamespace>patchAPI</RootNamespace>
16     <Keyword>Win32Proj</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   </PropertyGroup>
23   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
24     <ConfigurationType>DynamicLibrary</ConfigurationType>
25     <CharacterSet>MultiByte</CharacterSet>
26   </PropertyGroup>
27   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
28   <ImportGroup Label="ExtensionSettings">
29   </ImportGroup>
30   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
31     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
32     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
33   </ImportGroup>
34   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
35     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
36     <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
37   </ImportGroup>
38   <PropertyGroup Label="UserMacros" />
39   <PropertyGroup>
40     <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
41     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\lib\</OutDir>
42     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">i386-unknown-nt4.0\</IntDir>
43     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
44     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\lib\</OutDir>
45     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">i386-unknown-nt4.0\</IntDir>
46     <IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</IgnoreImportLibrary>
47     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</LinkIncremental>
48     <IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;c:\boost;c:\Program Files (x86)\boost\boost_1_51</IncludePath>
49     <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
50     <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
51     <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
52     <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
53     <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
54     <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
55   </PropertyGroup>
56   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
57     <ClCompile>
58       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
59       <Optimization>Disabled</Optimization>
60       <AdditionalIncludeDirectories>h;..;../dynutil/h;../external;../dataflowAPI/h;../parseAPI/h;../dataflowAPI/src;../symtabAPI/h;../instructionAPI/h;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
61       <PreprocessorDefinitions>WIN32;os_windows;arch_x86;cap_relocation;cap_dynamic_heap;cap_stripped_binaries;cap_instruction_api;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;PATCHAPI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
62       <MinimalRebuild>false</MinimalRebuild>
63       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
64       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
65       <RuntimeTypeInfo>true</RuntimeTypeInfo>
66       <PrecompiledHeader>
67       </PrecompiledHeader>
68       <WarningLevel>Level3</WarningLevel>
69       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
70       <DisableSpecificWarnings>4251;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
71     </ClCompile>
72     <Link>
73       <OutputFile>$(OutDir)$(ProjectName).dll</OutputFile>
74       <SuppressStartupBanner>true</SuppressStartupBanner>
75       <AdditionalLibraryDirectories>../../lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
76       <GenerateDebugInformation>true</GenerateDebugInformation>
77       <AssemblyDebug>true</AssemblyDebug>
78       <ProgramDatabaseFile>$(OutDir)libpatchAPI.pdb</ProgramDatabaseFile>
79       <SubSystem>NotSet</SubSystem>
80       <RandomizedBaseAddress>false</RandomizedBaseAddress>
81       <DataExecutionPrevention>
82       </DataExecutionPrevention>
83       <ImportLibrary>$(OutDir)libpatchAPI.lib</ImportLibrary>
84       <TargetMachine>NotSet</TargetMachine>
85     </Link>
86     <PostBuildEvent>
87       <Command>mkdir $(TargetDir)..\include
88 copy $(ProjectDir)h\*.h $(TargetDir)..\include
89 </Command>
90     </PostBuildEvent>
91   </ItemDefinitionGroup>
92   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
93     <ClCompile>
94       <AdditionalIncludeDirectories>h;..;../dynutil/h;../../include;../external;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
95       <PreprocessorDefinitions>WIN32;os_windows;arch_x86;cap_relocation;cap_dynamic_heap;cap_stripped_binaries;cap_instruction_api;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;snprintf=_snprintf;PATCHAPI_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
97       <RuntimeTypeInfo>true</RuntimeTypeInfo>
98       <PrecompiledHeader>
99       </PrecompiledHeader>
100       <WarningLevel>Level3</WarningLevel>
101       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
102       <DisableSpecificWarnings>4251;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
103     </ClCompile>
104     <Link>
105       <OutputFile>$(OutDir)libpatchAPI.dll</OutputFile>
106       <SuppressStartupBanner>true</SuppressStartupBanner>
107       <AdditionalLibraryDirectories>../../i386-unknown-nt4.0/lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
108       <GenerateDebugInformation>true</GenerateDebugInformation>
109       <SubSystem>Windows</SubSystem>
110       <OptimizeReferences>true</OptimizeReferences>
111       <EnableCOMDATFolding>true</EnableCOMDATFolding>
112       <RandomizedBaseAddress>false</RandomizedBaseAddress>
113       <DataExecutionPrevention>
114       </DataExecutionPrevention>
115       <ImportLibrary>$(OutDir)patchAPI.lib</ImportLibrary>
116       <TargetMachine>MachineX86</TargetMachine>
117     </Link>
118     <PostBuildEvent>
119       <Command>echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0</Command>
120     </PostBuildEvent>
121   </ItemDefinitionGroup>
122   <ItemGroup>
123     <ClCompile Include="src\AddrSpace.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\CFGMaker.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\Command.C">
132       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
133     </ClCompile>
134     <ClCompile Include="src\Instrumenter.C">
135       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
136       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
137     </ClCompile>
138     <ClCompile Include="src\ParseCallback.C">
139       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
140       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
141     </ClCompile>
142     <ClCompile Include="src\PatchBlock.C">
143       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
144       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
145     </ClCompile>
146     <ClCompile Include="src\PatchCallback.C">
147       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
148       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
149     </ClCompile>
150     <ClCompile Include="src\PatchEdge.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\PatchFunction.C">
155       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
156       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
157     </ClCompile>
158     <ClCompile Include="src\PatchMgr.C">
159       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
160       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
161     </ClCompile>
162     <ClCompile Include="src\PatchModifier.C">
163       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
164     </ClCompile>
165     <ClCompile Include="src\PatchObject.C">
166       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
167       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
168     </ClCompile>
169     <ClCompile Include="src\Point.C">
170       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
171       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
172     </ClCompile>
173     <ClCompile Include="src\PointMaker.C">
174       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
175       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
176     </ClCompile>
177   </ItemGroup>
178   <ItemGroup>
179     <ClInclude Include="h\PatchCommon.h" />
180     <ClInclude Include="src\ParseCallback.h" />
181     <ClInclude Include="h\AddrSpace.h" />
182     <ClInclude Include="h\CFGMaker.h" />
183     <ClInclude Include="h\Command.h" />
184     <ClInclude Include="h\common.h" />
185     <ClInclude Include="h\Instrumenter.h" />
186     <ClInclude Include="h\PatchCallback.h" />
187     <ClInclude Include="h\PatchCFG.h" />
188     <ClInclude Include="h\PatchMgr.h" />
189     <ClInclude Include="h\PatchModifier.h" />
190     <ClInclude Include="h\PatchObject.h" />
191     <ClInclude Include="h\Point.h" />
192     <ClInclude Include="h\Snippet.h" />
193     <ClInclude Include="h\SnippetRep.h" />
194   </ItemGroup>
195   <ItemGroup>
196     <ProjectReference Include="..\common\common.vcxproj">
197       <Project>{197e213a-6900-4d09-b280-109a0d02df36}</Project>
198       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
199     </ProjectReference>
200     <ProjectReference Include="..\instructionAPI\instructionAPI.vcxproj">
201       <Project>{56f83fe4-e104-4d97-a4b9-89f41b034529}</Project>
202       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
203     </ProjectReference>
204     <ProjectReference Include="..\parseAPI\parseAPI.vcxproj">
205       <Project>{39161b28-a3b4-40b9-ae03-4e021448ba80}</Project>
206       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
207     </ProjectReference>
208     <ProjectReference Include="..\symtabAPI\symtabAPI.vcxproj">
209       <Project>{79cc6672-5a8b-4d3b-beea-75024607a81b}</Project>
210       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
211     </ProjectReference>
212   </ItemGroup>
213   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
214   <ImportGroup Label="ExtensionTargets">
215   </ImportGroup>
216 </Project>