[WinForms] Make `ContextMenuStrip` behavior closer to the reference one (#18598)
[mono-project.git] / msvc / libmono-dynamic.vcxproj
blobec0914b4b18af912bf3a8381ee537adddfb3ea55
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   <PropertyGroup Label="Globals">
22     <ProjectGuid>{675F4175-FFB1-480D-AD36-F397578844D4}</ProjectGuid>
23     <RootNamespace>libmono-dynamic</RootNamespace>
24     <Keyword>Win32Proj</Keyword>
25   </PropertyGroup>
26   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28     <ConfigurationType>DynamicLibrary</ConfigurationType>
29     <UseDebugLibraries>false</UseDebugLibraries>
30     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
31     <CharacterSet>Unicode</CharacterSet>
32   </PropertyGroup>
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34     <ConfigurationType>DynamicLibrary</ConfigurationType>
35     <UseDebugLibraries>true</UseDebugLibraries>
36     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
37     <CharacterSet>Unicode</CharacterSet>
38   </PropertyGroup>
39   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
40     <ConfigurationType>DynamicLibrary</ConfigurationType>
41     <UseDebugLibraries>false</UseDebugLibraries>
42     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
43     <CharacterSet>Unicode</CharacterSet>
44   </PropertyGroup>
45   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
46     <ConfigurationType>DynamicLibrary</ConfigurationType>
47     <UseDebugLibraries>true</UseDebugLibraries>
48     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
49     <CharacterSet>Unicode</CharacterSet>
50   </PropertyGroup>
51   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52   <ImportGroup Label="ExtensionSettings">
53   </ImportGroup>
54   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
55     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56     <Import Project="mono.props" />
57   </ImportGroup>
58   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|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)'=='Release|x64'" 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|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   <PropertyGroup Label="UserMacros" />
71   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
72     <LinkIncremental>false</LinkIncremental>
73     <TargetName>mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>
74     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
75     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
76   </PropertyGroup>
77   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
78     <LinkIncremental>false</LinkIncremental>
79     <TargetName>mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>
80     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
81     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
82   </PropertyGroup>
83   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
84     <LinkIncremental>true</LinkIncremental>
85     <TargetName>mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>
86     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
87     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
88   </PropertyGroup>
89   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
90     <LinkIncremental>true</LinkIncremental>
91     <TargetName>mono-2.0$(MONO_TARGET_SUFFIX)</TargetName>
92     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
93     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
94   </PropertyGroup>
95   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
96     <ClCompile>
97       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
98       <Optimization>Disabled</Optimization>
99       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
100       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
102       <WarningLevel>Level3</WarningLevel>
103     </ClCompile>
104     <ResourceCompile>
105       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
106       <Culture>0x0409</Culture>
107     </ResourceCompile>
108     <ProjectReference>
109       <LinkLibraryDependencies>false</LinkLibraryDependencies>
110     </ProjectReference>
111     <Link>
112       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>
113       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>
114     </Link>
115     <PostBuildEvent>
116       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>
117     </PostBuildEvent>
118   </ItemDefinitionGroup>
119   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
120     <Midl>
121       <TargetEnvironment>X64</TargetEnvironment>
122     </Midl>
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);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
127       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
128       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
129       <WarningLevel>Level3</WarningLevel>
130     </ClCompile>
131     <ResourceCompile>
132       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
133       <Culture>0x0409</Culture>
134     </ResourceCompile>
135     <ProjectReference>
136       <LinkLibraryDependencies>false</LinkLibraryDependencies>
137     </ProjectReference>
138     <Link>
139       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>
140       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>
141     </Link>
142     <PostBuildEvent>
143       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>
144     </PostBuildEvent>
145   </ItemDefinitionGroup>
146   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
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;$(GC_DEFINES);MONO_DLL_EXPORT;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
152       <StringPooling>true</StringPooling>
153       <WarningLevel>Level3</WarningLevel>
154       <WholeProgramOptimization>true</WholeProgramOptimization>
155     </ClCompile>
156     <ResourceCompile>
157       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
158       <Culture>0x0409</Culture>
159     </ResourceCompile>
160     <Link>
161       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>
162       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>
163       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
164     </Link>
165     <PostBuildEvent>
166       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>
167     </PostBuildEvent>
168     <ProjectReference>
169       <LinkLibraryDependencies>false</LinkLibraryDependencies>
170     </ProjectReference>
171   </ItemDefinitionGroup>
172   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
173     <Midl>
174       <TargetEnvironment>X64</TargetEnvironment>
175     </Midl>
176     <ClCompile>
177       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
178       <IntrinsicFunctions>true</IntrinsicFunctions>
179       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);$(MONO_LLVM_DEFAULT_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
180       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;LLVM_API_VERSION=$(MONO_LLVM_DEFAULT_API_VERSION);WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
181       <StringPooling>true</StringPooling>
182       <WarningLevel>Level3</WarningLevel>
183       <WholeProgramOptimization>true</WholeProgramOptimization>
184     </ClCompile>
185     <ResourceCompile>
186       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
187       <Culture>0x0409</Culture>
188     </ResourceCompile>
189     <Link>
190       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>
191       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>
192       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
193     </Link>
194     <PostBuildEvent>
195       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>
196     </PostBuildEvent>
197     <ProjectReference>
198       <LinkLibraryDependencies>false</LinkLibraryDependencies>
199     </ProjectReference>
200   </ItemDefinitionGroup>
201   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">
202     <ClCompile>
203       <CompileAs>CompileAsCpp</CompileAs>
204     </ClCompile>
205   </ItemDefinitionGroup>
206   <ItemGroup>
207     <ProjectReference Include="build-external-btls.vcxproj">
208       <Project>{e41ddf41-0916-454b-a7c2-6e410e45cafd}</Project>
209     </ProjectReference>
210     <ProjectReference Include="build-external-llvm.vcxproj">
211       <Project>{c3d4c623-55f8-4653-980d-61aa629b4e1d}</Project>
212     </ProjectReference>
213     <ProjectReference Include="genmdesc.vcxproj">
214       <Project>{b7098dfa-31e6-4006-8a15-1c9a4e925149}</Project>
215     </ProjectReference>
216     <ProjectReference Include="libgc.vcxproj">
217       <Project>{eb56000b-c80b-4e8b-908d-d84d31b517d3}</Project>
218     </ProjectReference>
219   </ItemGroup>
220   <ItemGroup>
221     <ClCompile Include="$(MonoSourceLocation)\mono\mini\mini-windows-dllmain.c" />
222   </ItemGroup>
223   <Import Project="eglib.targets" />
224   <Import Project="libmonoutils.targets" />
225   <Import Project="libmonoruntime.targets" />
226   <Import Project="libmini.targets" />
227   <Import Project="libgcmonosgen.targets" />
228   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
229   <Import Project="mono.external.targets" />
230   <ImportGroup Label="ExtensionTargets">
231   </ImportGroup>
232   <Target Name="_SetupMonoLLVMCompileItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
233     <ItemGroup>
234       <ClCompile>
235         <AdditionalIncludeDirectories>$(MONO_LLVM_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
236         <PreprocessorDefinitions>%(PreprocessorDefinitions);LLVM_API_VERSION=$(MONO_LLVM_API_VERSION)</PreprocessorDefinitions>
237       </ClCompile>
238     </ItemGroup>
239     <ItemGroup>
240       <ClCompile Condition="'%(ClCompile._MonoLLVMSourceFile)' == 'true'">
241         <ExcludedFromBuild>false</ExcludedFromBuild>
242       </ClCompile>
243     </ItemGroup>
244   </Target>
245   <Target Name="_SetupMonoLLVMLinkItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
246     <ItemGroup>
247       <Link>
248         <AdditionalLibraryDirectories>$(MONO_LLVM_LIB_DIR);%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
249         <AdditionalDependencies>$(MONO_LLVM_LIBS);%(Link.AdditionalDependencies)</AdditionalDependencies>
250       </Link>
251     </ItemGroup>
252   </Target>
253   <Target Name="_ConfigureExternalCompileDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMCompileItems" />
254   <Target Name="_ConfigureExternalLinkDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMLinkItems" />
255   <PropertyGroup>
256     <PrepareForBuildDependsOn>
257       _ConfigureExternalCompileDependency;
258       $(PrepareForBuildDependsOn);
259     </PrepareForBuildDependsOn>
260     <ComputeLinkInputsTargets>
261       $(ComputeLinkInputsTargets);
262       _ConfigureExternalLinkDependency;
263     </ComputeLinkInputsTargets>
264   </PropertyGroup>
265 </Project>