Cleanup initialize_object_slots, remove unused GetHashCode (ghc) handling. (#17834)
[mono-project.git] / msvc / libmini.vcxproj
blob12459c798fbb7ae289795bdc6b1790601830f328
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     <Keyword>Win32Proj</Keyword>
33   </PropertyGroup>
34   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
35   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36     <ConfigurationType>StaticLibrary</ConfigurationType>
37     <UseDebugLibraries>false</UseDebugLibraries>
38     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
39     <CharacterSet>Unicode</CharacterSet>
40   </PropertyGroup>
41   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
42     <ConfigurationType>StaticLibrary</ConfigurationType>
43     <UseDebugLibraries>true</UseDebugLibraries>
44     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
45     <CharacterSet>Unicode</CharacterSet>
46   </PropertyGroup>
47   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48     <ConfigurationType>StaticLibrary</ConfigurationType>
49     <UseDebugLibraries>false</UseDebugLibraries>
50     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
51     <CharacterSet>Unicode</CharacterSet>
52   </PropertyGroup>
53   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
54     <ConfigurationType>StaticLibrary</ConfigurationType>
55     <UseDebugLibraries>true</UseDebugLibraries>
56     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
57     <CharacterSet>Unicode</CharacterSet>
58   </PropertyGroup>
59   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
60   <ImportGroup Label="ExtensionSettings">
61   </ImportGroup>
62   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|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)'=='Debug|Win32'" 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)'=='Release|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   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
75     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
76     <Import Project="mono.props" />
77   </ImportGroup>
78   <PropertyGroup Label="UserMacros" />
79   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
80     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
81     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
82     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
83   </PropertyGroup>
84   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
85     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
86     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
87     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
88   </PropertyGroup>
89   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
91     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
92     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
93   </PropertyGroup>
94   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
95     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
96     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
97     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
98   </PropertyGroup>
99   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
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);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
104       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
106       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
107       <WarningLevel>Level3</WarningLevel>
108     </ClCompile>
109     <Link>
110       <SubSystem>Windows</SubSystem>
111     </Link>
112     <PostBuildEvent />
113     <Lib />
114   </ItemDefinitionGroup>
115   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
116     <ClCompile>
117       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
118       <Optimization>Disabled</Optimization>
119       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
120       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
122       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
123       <WarningLevel>Level3</WarningLevel>
124     </ClCompile>
125     <Link>
126       <SubSystem>Windows</SubSystem>
127     </Link>
128     <PostBuildEvent />
129   </ItemDefinitionGroup>
130   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
131     <ClCompile>
132       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
133       <IntrinsicFunctions>true</IntrinsicFunctions>
134       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
135       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
136       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
137       <WarningLevel>Level3</WarningLevel>
138       <StringPooling>true</StringPooling>
139     </ClCompile>
140     <Link>
141       <SubSystem>Windows</SubSystem>
142       <EnableCOMDATFolding>true</EnableCOMDATFolding>
143       <OptimizeReferences>true</OptimizeReferences>
144     </Link>
145   </ItemDefinitionGroup>
146   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
147     <ClCompile>
148       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
149       <IntrinsicFunctions>true</IntrinsicFunctions>
150       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
151       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
152       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
153       <WarningLevel>Level3</WarningLevel>
154       <StringPooling>true</StringPooling>
155     </ClCompile>
156     <Link>
157       <SubSystem>Windows</SubSystem>
158       <EnableCOMDATFolding>true</EnableCOMDATFolding>
159       <OptimizeReferences>true</OptimizeReferences>
160     </Link>
161   </ItemDefinitionGroup>
162   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">
163     <ClCompile>
164       <CompileAs>CompileAsCpp</CompileAs>
165     </ClCompile>
166   </ItemDefinitionGroup>
167   <Import Project="libmini.targets" />
168   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
169   <Import Project="mono.external.targets" />
170   <ImportGroup Label="ExtensionTargets">
171   </ImportGroup>
172   <Target Name="_SetupMonoLLVMCompileItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
173     <ItemGroup>
174       <ClCompile>
175         <AdditionalIncludeDirectories>$(MONO_LLVM_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
176         <PreprocessorDefinitions>%(PreprocessorDefinitions);LLVM_API_VERSION=$(MONO_LLVM_API_VERSION)</PreprocessorDefinitions>
177       </ClCompile>
178     </ItemGroup>
179     <ItemGroup>
180       <ClCompile Condition="'%(ClCompile._MonoLLVMSourceFile)' == 'true'">
181         <ExcludedFromBuild>false</ExcludedFromBuild>
182       </ClCompile>
183     </ItemGroup>
184   </Target>
185   <Target Name="_SetupMonoLLVMLinkItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
186     <ItemGroup>
187       <Lib>
188         <AdditionalLibraryDirectories>$(MONO_LLVM_LIB_DIR);%(Lib.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
189         <AdditionalDependencies>$(MONO_LLVM_LIBS);%(Lib.AdditionalDependencies)</AdditionalDependencies>
190       </Lib>
191     </ItemGroup>
192   </Target>
193   <Target Name="_ConfigureExternalCompileDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMCompileItems" />
194   <Target Name="_ConfigureExternalLinkDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMLinkItems" />
195   <PropertyGroup>
196     <PrepareForBuildDependsOn>
197       _ConfigureExternalCompileDependency;
198       $(PrepareForBuildDependsOn);
199     </PrepareForBuildDependsOn>
200     <ComputeLibInputsTargets>
201       $(ComputeLibInputsTargets);
202       _ConfigureExternalLinkDependency;
203     </ComputeLibInputsTargets>
204   </PropertyGroup>
205 </Project>