[aotprof-tool] Initial import of AOT profiler tool (#15384)
[mono-project.git] / msvc / libmini.vcxproj
bloba8aea54d5159430a29c3af249683640d61017e7e
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="14.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="Debug|x64">
9       <Configuration>Debug</Configuration>
10       <Platform>x64</Platform>
11     </ProjectConfiguration>
12     <ProjectConfiguration Include="Release|Win32">
13       <Configuration>Release</Configuration>
14       <Platform>Win32</Platform>
15     </ProjectConfiguration>
16     <ProjectConfiguration Include="Release|x64">
17       <Configuration>Release</Configuration>
18       <Platform>x64</Platform>
19     </ProjectConfiguration>
20   </ItemGroup>
21   <ItemGroup>
22     <ProjectReference Include="eglib.vcxproj">
23       <Project>{158073ed-99ae-4196-9edc-ddb2344f8466}</Project>
24     </ProjectReference>
25     <ProjectReference Include="genmdesc.vcxproj">
26       <Project>{b7098dfa-31e6-4006-8a15-1c9a4e925149}</Project>
27     </ProjectReference>
28   </ItemGroup>
29   <PropertyGroup Label="Globals">
30     <ProjectGuid>{88D2EB79-592D-45F8-B849-AE021C1D983A}</ProjectGuid>
31     <RootNamespace>libmini</RootNamespace>
32     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
33   </PropertyGroup>
34   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
35   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36     <ConfigurationType>StaticLibrary</ConfigurationType>
37     <CharacterSet>Unicode</CharacterSet>
38     <PlatformToolset>v140</PlatformToolset>
39   </PropertyGroup>
40   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
41     <ConfigurationType>StaticLibrary</ConfigurationType>
42     <CharacterSet>Unicode</CharacterSet>
43     <PlatformToolset>v140</PlatformToolset>
44   </PropertyGroup>
45   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
46     <ConfigurationType>StaticLibrary</ConfigurationType>
47     <CharacterSet>Unicode</CharacterSet>
48     <PlatformToolset>v140</PlatformToolset>
49   </PropertyGroup>
50   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
51     <ConfigurationType>StaticLibrary</ConfigurationType>
52     <CharacterSet>Unicode</CharacterSet>
53     <PlatformToolset>v140</PlatformToolset>
54   </PropertyGroup>
55   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56   <ImportGroup Label="ExtensionSettings">
57   </ImportGroup>
58   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
59     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60     <Import Project="mono.props" />
61   </ImportGroup>
62   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
63     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64     <Import Project="mono.props" />
65   </ImportGroup>
66   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
67     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68     <Import Project="mono.props" />
69   </ImportGroup>
70   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
71     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
72     <Import Project="mono.props" />
73   </ImportGroup>
74   <PropertyGroup Label="UserMacros" />
75   <PropertyGroup>
76     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
77     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
78     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
79     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
80     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
81     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
82     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
83     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
84     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
85     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
86     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
87     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
88   </PropertyGroup>
89   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90     <LinkIncremental>true</LinkIncremental>
91   </PropertyGroup>
92   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
93     <LinkIncremental>true</LinkIncremental>
94   </PropertyGroup>
95   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
96     <PreBuildEvent>
97       <Command>
98       </Command>
99     </PreBuildEvent>
100     <ClCompile>
101       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
102       <Optimization>Disabled</Optimization>
103       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
104       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105       <PrecompiledHeader>
106       </PrecompiledHeader>
107       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
108       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
109       <WarningLevel>Level3</WarningLevel>
110       <MinimalRebuild>true</MinimalRebuild>
111     </ClCompile>
112     <Link>
113       <SubSystem>Windows</SubSystem>
114     </Link>
115     <PostBuildEvent />
116     <Lib />
117   </ItemDefinitionGroup>
118   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
119     <PreBuildEvent>
120       <Command>
121       </Command>
122     </PreBuildEvent>
123     <ClCompile>
124       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
125       <Optimization>Disabled</Optimization>
126       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
127       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
128       <PrecompiledHeader>
129       </PrecompiledHeader>
130       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
131       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
132       <WarningLevel>Level3</WarningLevel>
133       <MinimalRebuild>true</MinimalRebuild>
134     </ClCompile>
135     <Link>
136       <SubSystem>Windows</SubSystem>
137     </Link>
138     <PostBuildEvent />
139     <Lib />
140   </ItemDefinitionGroup>
141   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
142     <PreBuildEvent>
143       <Command>
144       </Command>
145     </PreBuildEvent>
146     <ClCompile>
147       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
148       <IntrinsicFunctions>true</IntrinsicFunctions>
149       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
150       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
151       <PrecompiledHeader>
152       </PrecompiledHeader>
153       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
154       <WarningLevel>Level3</WarningLevel>
155       <StringPooling>true</StringPooling>
156     </ClCompile>
157     <Link>
158       <SubSystem>Windows</SubSystem>
159       <EnableCOMDATFolding>true</EnableCOMDATFolding>
160       <OptimizeReferences>true</OptimizeReferences>
161     </Link>
162     <PostBuildEvent />
163     <Lib />
164   </ItemDefinitionGroup>
165   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
166     <PreBuildEvent>
167       <Command>
168       </Command>
169     </PreBuildEvent>
170     <ClCompile>
171       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
172       <IntrinsicFunctions>true</IntrinsicFunctions>
173       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
174       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
175       <PrecompiledHeader>
176       </PrecompiledHeader>
177       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
178       <WarningLevel>Level3</WarningLevel>
179       <StringPooling>true</StringPooling>
180     </ClCompile>
181     <Link>
182       <SubSystem>Windows</SubSystem>
183       <EnableCOMDATFolding>true</EnableCOMDATFolding>
184       <OptimizeReferences>true</OptimizeReferences>
185     </Link>
186     <PostBuildEvent />
187     <Lib />
188   </ItemDefinitionGroup>
189   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">
190     <ClCompile>
191       <CompileAs>CompileAsCpp</CompileAs>
192     </ClCompile>
193   </ItemDefinitionGroup>
194   <Import Project="libmini.targets" />
195   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
196   <Import Project="mono.external.targets" />
197   <ImportGroup Label="ExtensionTargets">
198   </ImportGroup>
199   <Target Name="_SetupMonoLLVMCompileItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
200     <ItemGroup>
201       <ClCompile>
202         <AdditionalIncludeDirectories>$(MONO_LLVM_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
203         <PreprocessorDefinitions>LLVM_API_VERSION=$(MONO_LLVM_API_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>
204       </ClCompile>
205     </ItemGroup>
206     <ItemGroup>
207       <ClCompile Condition="'%(ClCompile._MonoLLVMSourceFile)' == 'true'">
208         <ExcludedFromBuild>false</ExcludedFromBuild>
209       </ClCompile>
210     </ItemGroup>
211   </Target>
212   <Target Name="_SetupMonoLLVMLinkItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
213     <ItemGroup>
214       <Lib>
215         <AdditionalLibraryDirectories>$(MONO_LLVM_LIB_DIR);%(Lib.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
216         <AdditionalDependencies>$(MONO_LLVM_LIBS);%(Lib.AdditionalDependencies)</AdditionalDependencies>
217       </Lib>
218     </ItemGroup>
219   </Target>
220   <Target Name="_ConfigureExternalCompileDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMCompileItems" />
221   <Target Name="_ConfigureExternalLinkDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMLinkItems" />
222   <PropertyGroup>
223     <PrepareForBuildDependsOn>
224       _ConfigureExternalCompileDependency;
225       $(PrepareForBuildDependsOn);
226     </PrepareForBuildDependsOn>
227     <ComputeLibInputsTargets>
228       $(ComputeLibInputsTargets);
229       _ConfigureExternalLinkDependency;
230     </ComputeLibInputsTargets>
231   </PropertyGroup>
232 </Project>