Move to VS2012 from VS2008
[dyninst.git] / dyninstAPI_RT / DyninstAPI_RT.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>{2AB5FA1E-CF56-4E8A-93B7-6A8940DCB602}</ProjectGuid>
15     <RootNamespace>DyninstAPI_RT</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   </PropertyGroup>
50   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51     <ClCompile>
52       <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
53       <Optimization>Disabled</Optimization>
54       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
55       <PreprocessorDefinitions>WIN32;_DEBUG;os_windows;arch_x86;cap_relocation;cap_stripped_binaries;cap_tramp_liveness;i386_unknown_nt4_0;_WIN32_WINNT=0x500;DO_INLINE_F=inline;DO_INLINE_P=inline;BPATCH_LIBRARY;BPATCH_DLL_BUILD;cap_threads;%(PreprocessorDefinitions)</PreprocessorDefinitions>
56       <MinimalRebuild>false</MinimalRebuild>
57       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
58       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
59       <WarningLevel>Level3</WarningLevel>
60       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
61       <DisableSpecificWarnings>4251;4503;%(DisableSpecificWarnings)</DisableSpecificWarnings>
62     </ClCompile>
63     <Link>
64       <AdditionalOptions>/SECTION:.bss,RWE %(AdditionalOptions)</AdditionalOptions>
65       <AdditionalDependencies>Ws2_32.lib;dbghelp.lib;psapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
66       <OutputFile>$(OutDir)$(ProjectName).dll</OutputFile>
67       <GenerateDebugInformation>true</GenerateDebugInformation>
68       <AssemblyDebug>true</AssemblyDebug>
69       <ProgramDatabaseFile>i386-unknown-nt4.0\libdyninstAPI_RT.pdb</ProgramDatabaseFile>
70       <RandomizedBaseAddress>false</RandomizedBaseAddress>
71       <DataExecutionPrevention>
72       </DataExecutionPrevention>
73     </Link>
74     <PostBuildEvent>
75       <Command>mkdir $(TargetDir)..\..\include
76 copy $(ProjectDir)h\*.h $(TargetDir)..\..\include
77 </Command>
78     </PostBuildEvent>
79   </ItemDefinitionGroup>
80   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81     <PreBuildEvent>
82       <Command>..\..\scripts\buildstamp.bat 0 libdyninstAPI_RT.dll</Command>
83     </PreBuildEvent>
84     <ClCompile>
85       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
86       <PreprocessorDefinitions>WIN32;NDEBUG;os_windows;arch_x86;cap_relocation;cap_stripped_binaries;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;cap_threads;%(PreprocessorDefinitions)</PreprocessorDefinitions>
87       <MinimalRebuild>false</MinimalRebuild>
88       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
89       <WarningLevel>Level3</WarningLevel>
90       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
91     </ClCompile>
92     <Link>
93       <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
94       <OutputFile>$(OutDir)libdyninstAPI_RT.dll</OutputFile>
95       <GenerateDebugInformation>true</GenerateDebugInformation>
96       <ProgramDatabaseFile>i386-unknown-nt4.0\libdyninstAPI_RT.pdb</ProgramDatabaseFile>
97       <RandomizedBaseAddress>false</RandomizedBaseAddress>
98       <DataExecutionPrevention>
99       </DataExecutionPrevention>
100     </Link>
101     <PostBuildEvent>
102       <Command>echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0
103 mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0
104 echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
105 mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
106 copy i386-unknown-nt4.0\libdyninstAPI_RT.dll ..\..\i386-unknown-nt4.0\lib
107 copy i386-unknown-nt4.0\libdyninstAPI_RT.lib ..\..\i386-unknown-nt4.0\lib
108 copy i386-unknown-nt4.0\libdyninstAPI_RT.pdb ..\..\i386-unknown-nt4.0\lib
109 </Command>
110     </PostBuildEvent>
111   </ItemDefinitionGroup>
112   <ItemGroup>
113     <ClCompile Include="src\RTcommon.c">
114       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
115       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
116     </ClCompile>
117     <ClCompile Include="src\RTheap-win.c">
118       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
119       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
120       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
121     </ClCompile>
122     <ClCompile Include="src\RTheap.c">
123       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
124       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
125     </ClCompile>
126     <ClCompile Include="src\RTmemEmulator.c">
127       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
128       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
129     </ClCompile>
130     <ClCompile Include="src\RTthread-x86.c">
131       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
132       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
133     </ClCompile>
134     <ClCompile Include="src\RTthread.c">
135       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
136       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
137     </ClCompile>
138     <ClCompile Include="src\RTwinnt.c" />
139   </ItemGroup>
140   <ItemGroup>
141     <ClInclude Include="h\dyninstAPI_RT.h" />
142     <ClInclude Include="h\dyninstRTExport.h" />
143     <ClInclude Include="src\RTcommon.h" />
144     <ClInclude Include="src\RTheap.h" />
145     <ClInclude Include="src\RTthread.h" />
146   </ItemGroup>
147   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
148   <ImportGroup Label="ExtensionTargets">
149   </ImportGroup>
150 </Project>