WIP commit
[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'">..\..\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'">..\..\lib\</OutDir>
47     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">i386-unknown-nt4.0\</IntDir>
48     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
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>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
61       <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>
62       <MinimalRebuild>false</MinimalRebuild>
63       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
64       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
65       <WarningLevel>Level3</WarningLevel>
66       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
67       <DisableSpecificWarnings>4251;4503;%(DisableSpecificWarnings)</DisableSpecificWarnings>
68     </ClCompile>
69     <Link>
70       <AdditionalOptions>/SECTION:.bss,RWE %(AdditionalOptions)</AdditionalOptions>
71       <AdditionalDependencies>Ws2_32.lib;dbghelp.lib;psapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
72       <OutputFile>$(OutDir)$(ProjectName).dll</OutputFile>
73       <GenerateDebugInformation>true</GenerateDebugInformation>
74       <AssemblyDebug>true</AssemblyDebug>
75       <ProgramDatabaseFile>$(TargetDir)$(TargetName).pdb</ProgramDatabaseFile>
76       <RandomizedBaseAddress>false</RandomizedBaseAddress>
77       <DataExecutionPrevention>
78       </DataExecutionPrevention>
79     </Link>
80     <PostBuildEvent>
81       <Command>mkdir $(TargetDir)..\include
82 copy $(ProjectDir)h\*.h $(TargetDir)..\include
83 </Command>
84     </PostBuildEvent>
85   </ItemDefinitionGroup>
86   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
87     <PreBuildEvent>
88       <Command>..\..\scripts\buildstamp.bat 0 libdyninstAPI_RT.dll</Command>
89     </PreBuildEvent>
90     <ClCompile>
91       <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
92       <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>
93       <MinimalRebuild>false</MinimalRebuild>
94       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
95       <WarningLevel>Level3</WarningLevel>
96       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
97     </ClCompile>
98     <Link>
99       <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
100       <OutputFile>$(OutDir)libdyninstAPI_RT.dll</OutputFile>
101       <GenerateDebugInformation>true</GenerateDebugInformation>
102       <ProgramDatabaseFile>i386-unknown-nt4.0\libdyninstAPI_RT.pdb</ProgramDatabaseFile>
103       <RandomizedBaseAddress>false</RandomizedBaseAddress>
104       <DataExecutionPrevention>
105       </DataExecutionPrevention>
106     </Link>
107     <PostBuildEvent>
108       <Command>echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0
109 mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0
110 echo mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
111 mkdir $(TargetDir)..\..\..\i386-unknown-nt4.0\lib
112 copy i386-unknown-nt4.0\libdyninstAPI_RT.dll ..\..\i386-unknown-nt4.0\lib
113 copy i386-unknown-nt4.0\libdyninstAPI_RT.lib ..\..\i386-unknown-nt4.0\lib
114 copy i386-unknown-nt4.0\libdyninstAPI_RT.pdb ..\..\i386-unknown-nt4.0\lib
115 </Command>
116     </PostBuildEvent>
117   </ItemDefinitionGroup>
118   <ItemGroup>
119     <ClCompile Include="src\RTcommon.c">
120       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
121       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
122     </ClCompile>
123     <ClCompile Include="src\RTheap-win.c">
124       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
125       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
126       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
127     </ClCompile>
128     <ClCompile Include="src\RTheap.c">
129       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
130       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
131     </ClCompile>
132     <ClCompile Include="src\RTmemEmulator.c">
133       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
134       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
135     </ClCompile>
136     <ClCompile Include="src\RTthread-x86.c">
137       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
138       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
139     </ClCompile>
140     <ClCompile Include="src\RTthread.c">
141       <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
142       <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
143     </ClCompile>
144     <ClCompile Include="src\RTwinnt.c" />
145   </ItemGroup>
146   <ItemGroup>
147     <ClInclude Include="h\dyninstAPI_RT.h" />
148     <ClInclude Include="h\dyninstRTExport.h" />
149     <ClInclude Include="src\RTcommon.h" />
150     <ClInclude Include="src\RTheap.h" />
151     <ClInclude Include="src\RTthread.h" />
152   </ItemGroup>
153   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
154   <ImportGroup Label="ExtensionTargets">
155   </ImportGroup>
156 </Project>