[profiler] Remove the need to pass a MonoProfiler pointer around everywhere.
[mono-project.git] / msvc / libmono.vcxproj
blob82eff3379b65384685a22c13a1ffa58426c62d70
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <ItemGroup Label="ProjectConfigurations">\r
4     <ProjectConfiguration Include="Debug|Win32">\r
5       <Configuration>Debug</Configuration>\r
6       <Platform>Win32</Platform>\r
7     </ProjectConfiguration>\r
8     <ProjectConfiguration Include="Debug|x64">\r
9       <Configuration>Debug</Configuration>\r
10       <Platform>x64</Platform>\r
11     </ProjectConfiguration>\r
12     <ProjectConfiguration Include="Release|Win32">\r
13       <Configuration>Release</Configuration>\r
14       <Platform>Win32</Platform>\r
15     </ProjectConfiguration>\r
16     <ProjectConfiguration Include="Release|x64">\r
17       <Configuration>Release</Configuration>\r
18       <Platform>x64</Platform>\r
19     </ProjectConfiguration>\r
20   </ItemGroup>\r
21   <PropertyGroup Label="Globals">\r
22     <ProjectGuid>{CB0D9E92-293C-439C-9AC7-C5F59B6E0771}</ProjectGuid>\r
23     <RootNamespace>libmono</RootNamespace>\r
24     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>\r
25   </PropertyGroup>\r
26   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
27   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
28     <ConfigurationType>DynamicLibrary</ConfigurationType>\r
29     <UseOfMfc>false</UseOfMfc>\r
30     <CharacterSet>Unicode</CharacterSet>\r
31     <PlatformToolset>v140</PlatformToolset>\r
32   </PropertyGroup>\r
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
34     <ConfigurationType>DynamicLibrary</ConfigurationType>\r
35     <UseOfMfc>false</UseOfMfc>\r
36     <CharacterSet>Unicode</CharacterSet>\r
37     <PlatformToolset>v140</PlatformToolset>\r
38   </PropertyGroup>\r
39   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
40     <ConfigurationType>DynamicLibrary</ConfigurationType>\r
41     <UseOfMfc>false</UseOfMfc>\r
42     <CharacterSet>Unicode</CharacterSet>\r
43     <PlatformToolset>v140</PlatformToolset>\r
44   </PropertyGroup>\r
45   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
46     <ConfigurationType>DynamicLibrary</ConfigurationType>\r
47     <UseOfMfc>false</UseOfMfc>\r
48     <CharacterSet>Unicode</CharacterSet>\r
49     <PlatformToolset>v140</PlatformToolset>\r
50   </PropertyGroup>\r
51   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
52   <ImportGroup Label="ExtensionSettings">\r
53   </ImportGroup>\r
54   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">\r
55     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
56     <Import Project="mono.props" />\r
57   </ImportGroup>\r
58   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">\r
59     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
60     <Import Project="mono.props" />\r
61   </ImportGroup>\r
62   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">\r
63     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
64     <Import Project="mono.props" />\r
65   </ImportGroup>\r
66   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">\r
67     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
68     <Import Project="mono.props" />\r
69   </ImportGroup>\r
70   <PropertyGroup Label="UserMacros" />\r
71   <PropertyGroup>\r
72     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>\r
73     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>\r
74     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>\r
75     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>\r
76     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>\r
77     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>\r
78     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>\r
79     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>\r
80     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>\r
81     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
82     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
83     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
84     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
85   </PropertyGroup>\r
86   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
87     <LinkIncremental>true</LinkIncremental>\r
88   </PropertyGroup>\r
89   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
90     <LinkIncremental>true</LinkIncremental>\r
91   </PropertyGroup>\r
92   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
93     <PreBuildEvent>\r
94       <Command>\r
95       </Command>\r
96     </PreBuildEvent>\r
97     <ClCompile>\r
98       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
99       <Optimization>Disabled</Optimization>\r
100       <InlineFunctionExpansion>Default</InlineFunctionExpansion>\r
101       <IntrinsicFunctions>true</IntrinsicFunctions>\r
102       <AdditionalIncludeDirectories>$(MONO_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
103       <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
104       <MinimalRebuild>true</MinimalRebuild>\r
105       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
106       <PrecompiledHeader>\r
107       </PrecompiledHeader>\r
108       <PrecompiledHeaderOutputFile>\r
109       </PrecompiledHeaderOutputFile>\r
110       <BrowseInformation>true</BrowseInformation>\r
111       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
112       <CompileAs>CompileAsC</CompileAs>\r
113       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
114     </ClCompile>\r
115     <ResourceCompile>\r
116       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
117       <Culture>0x0409</Culture>\r
118     </ResourceCompile>\r
119     <ProjectReference>\r
120       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
121     </ProjectReference>\r
122     <Link>\r
123       <AdditionalDependencies>eglib.lib;$(MONO_STATIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
124       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>\r
125       <ModuleDefinitionFile>$(MONO_DEF)</ModuleDefinitionFile>\r
126       <GenerateDebugInformation>true</GenerateDebugInformation>\r
127       <RandomizedBaseAddress>false</RandomizedBaseAddress>\r
128       <DataExecutionPrevention>\r
129       </DataExecutionPrevention>\r
130       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
131       <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>\r
132     </Link>\r
133     <PostBuildEvent>\r
134       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
135     </PostBuildEvent>\r
136   </ItemDefinitionGroup>\r
137   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
138     <PreBuildEvent>\r
139       <Command>\r
140       </Command>\r
141     </PreBuildEvent>\r
142     <Midl>\r
143       <TargetEnvironment>X64</TargetEnvironment>\r
144     </Midl>\r
145     <ClCompile>\r
146       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
147       <Optimization>Disabled</Optimization>\r
148       <InlineFunctionExpansion>Default</InlineFunctionExpansion>\r
149       <IntrinsicFunctions>true</IntrinsicFunctions>\r
150       <AdditionalIncludeDirectories>$(MONO_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
151       <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
152       <MinimalRebuild>true</MinimalRebuild>\r
153       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
154       <PrecompiledHeader>\r
155       </PrecompiledHeader>\r
156       <PrecompiledHeaderOutputFile>\r
157       </PrecompiledHeaderOutputFile>\r
158       <BrowseInformation>true</BrowseInformation>\r
159       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
160       <CompileAs>CompileAsC</CompileAs>\r
161       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
162     </ClCompile>\r
163     <ResourceCompile>\r
164       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
165       <Culture>0x0409</Culture>\r
166     </ResourceCompile>\r
167     <ProjectReference>\r
168       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
169     </ProjectReference>\r
170     <Link>\r
171       <AdditionalDependencies>eglib.lib;$(MONO_STATIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
172       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>\r
173       <ModuleDefinitionFile>$(MONO_DEF)</ModuleDefinitionFile>\r
174       <GenerateDebugInformation>true</GenerateDebugInformation>\r
175       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
176       <TargetMachine>MachineX64</TargetMachine>\r
177     </Link>\r
178     <PostBuildEvent>\r
179       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
180     </PostBuildEvent>\r
181   </ItemDefinitionGroup>\r
182   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
183     <PreBuildEvent>\r
184       <Command>\r
185       </Command>\r
186     </PreBuildEvent>\r
187     <ClCompile>\r
188       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
189       <Optimization>MinSpace</Optimization>\r
190       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>\r
191       <IntrinsicFunctions>true</IntrinsicFunctions>\r
192       <AdditionalIncludeDirectories>$(MONO_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
193       <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
194       <StringPooling>true</StringPooling>\r
195       <FunctionLevelLinking>true</FunctionLevelLinking>\r
196       <PrecompiledHeader>\r
197       </PrecompiledHeader>\r
198       <PrecompiledHeaderOutputFile>\r
199       </PrecompiledHeaderOutputFile>\r
200       <CompileAs>CompileAsC</CompileAs>\r
201     </ClCompile>\r
202     <ResourceCompile>\r
203       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
204       <Culture>0x0409</Culture>\r
205     </ResourceCompile>\r
206     <ProjectReference>\r
207       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
208     </ProjectReference>\r
209     <Link>\r
210       <AdditionalDependencies>eglib.lib;$(MONO_STATIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
211       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>\r
212       <ModuleDefinitionFile>$(MONO_DEF)</ModuleDefinitionFile>\r
213       <RandomizedBaseAddress>false</RandomizedBaseAddress>\r
214       <DataExecutionPrevention>\r
215       </DataExecutionPrevention>\r
216       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
217       <GenerateDebugInformation>true</GenerateDebugInformation>\r
218     </Link>\r
219     <PostBuildEvent>\r
220       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
221     </PostBuildEvent>\r
222   </ItemDefinitionGroup>\r
223   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
224     <PreBuildEvent>\r
225       <Command>\r
226       </Command>\r
227     </PreBuildEvent>\r
228     <Midl>\r
229       <TargetEnvironment>X64</TargetEnvironment>\r
230     </Midl>\r
231     <ClCompile>\r
232       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
233       <Optimization>MinSpace</Optimization>\r
234       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>\r
235       <IntrinsicFunctions>true</IntrinsicFunctions>\r
236       <AdditionalIncludeDirectories>$(MONO_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
237       <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
238       <StringPooling>true</StringPooling>\r
239       <FunctionLevelLinking>true</FunctionLevelLinking>\r
240       <PrecompiledHeader>\r
241       </PrecompiledHeader>\r
242       <PrecompiledHeaderOutputFile>\r
243       </PrecompiledHeaderOutputFile>\r
244       <CompileAs>CompileAsC</CompileAs>\r
245     </ClCompile>\r
246     <ResourceCompile>\r
247       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
248       <Culture>0x0409</Culture>\r
249     </ResourceCompile>\r
250     <ProjectReference>\r
251       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
252     </ProjectReference>\r
253     <Link>\r
254       <AdditionalDependencies>eglib.lib;$(MONO_STATIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
255       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>\r
256       <ModuleDefinitionFile>$(MONO_DEF)</ModuleDefinitionFile>\r
257       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
258       <TargetMachine>MachineX64</TargetMachine>\r
259       <GenerateDebugInformation>true</GenerateDebugInformation>\r
260     </Link>\r
261     <PostBuildEvent>\r
262       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
263     </PostBuildEvent>\r
264   </ItemDefinitionGroup>\r
265   <ItemGroup>\r
266     <CustomBuildStep Include="..\mono\mini\mini-x86.h">\r
267       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>\r
268       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>\r
269     </CustomBuildStep>\r
270     <CustomBuildStep Include="..\mono\mini\mini-amd64.h">\r
271       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>\r
272       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>\r
273     </CustomBuildStep>\r
274   </ItemGroup>\r
275   <ItemGroup>\r
276     <ProjectReference Include="eglib.vcxproj">\r
277       <Project>{158073ed-99ae-4196-9edc-ddb2344f8466}</Project>\r
278     </ProjectReference>\r
279     <ProjectReference Include="genmdesc.vcxproj">\r
280       <Project>{b7098dfa-31e6-4006-8a15-1c9a4e925149}</Project>\r
281     </ProjectReference>\r
282     <ProjectReference Include="libgc.vcxproj">\r
283       <Project>{eb56000b-c80b-4e8b-908d-d84d31b517d3}</Project>\r
284     </ProjectReference>\r
285     <ProjectReference Include="libgcmonosgen.vcxproj">\r
286       <Project>{c36612bd-22d3-4b95-85e2-7fdc4fc5d740}</Project>\r
287     </ProjectReference>\r
288     <ProjectReference Include="libmono-static.vcxproj">\r
289       <Project>{cb0d9e92-293c-439c-9ac7-c5f59b6e0772}</Project>\r
290     </ProjectReference>\r
291     <ProjectReference Include="libmonoruntime.vcxproj">\r
292       <Project>{c36612bd-22d3-4b95-85e2-7fdc4fc5d739}</Project>\r
293     </ProjectReference>\r
294     <ProjectReference Include="libmonoutils.vcxproj">\r
295       <Project>{8fc2b0c8-51ad-49df-851f-5d01a77a75e4}</Project>\r
296     </ProjectReference>\r
297   </ItemGroup>\r
298   <ItemGroup>\r
299     <ClCompile Include="..\mono\mini\mini-windows-dllmain.c" />\r
300   </ItemGroup>\r
301   <ItemGroup>\r
302     <None Include="mono.def" />\r
303   </ItemGroup>\r
304   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
305   <ImportGroup Label="ExtensionTargets">\r
306   </ImportGroup>\r
307 </Project>