[tests] Remove MONOMAC ifdef from BCL tests
[mono-project.git] / msvc / libmono-dynamic.vcxproj
blob5fe31adc64c03800dddaf2d59bf0df3fd163e511
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>{675F4175-FFB1-480D-AD36-F397578844D4}</ProjectGuid>\r
23     <RootNamespace>libmono-dynamic</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       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
101       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
102       <PrecompiledHeader>\r
103       </PrecompiledHeader>\r
104       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
105       <WarningLevel>Level3</WarningLevel>\r
106       <MinimalRebuild>true</MinimalRebuild>\r
107     </ClCompile>\r
108     <ResourceCompile>\r
109       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
110       <Culture>0x0409</Culture>\r
111     </ResourceCompile>\r
112     <ProjectReference>\r
113       <LinkLibraryDependencies>false</LinkLibraryDependencies>\r
114     </ProjectReference>\r
115     <Link>\r
116       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
117       <ModuleDefinitionFile>\r
118       </ModuleDefinitionFile>\r
119       <DataExecutionPrevention>\r
120       </DataExecutionPrevention>\r
121       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
122     </Link>\r
123     <PostBuildEvent>\r
124       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
125     </PostBuildEvent>\r
126   </ItemDefinitionGroup>\r
127   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
128     <PreBuildEvent>\r
129       <Command>\r
130       </Command>\r
131     </PreBuildEvent>\r
132     <Midl>\r
133       <TargetEnvironment>X64</TargetEnvironment>\r
134     </Midl>\r
135     <ClCompile>\r
136       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
137       <Optimization>Disabled</Optimization>\r
138       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
139       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
140       <PrecompiledHeader>\r
141       </PrecompiledHeader>\r
142       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
143       <WarningLevel>Level3</WarningLevel>\r
144       <MinimalRebuild>true</MinimalRebuild>\r
145     </ClCompile>\r
146     <ResourceCompile>\r
147       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
148       <Culture>0x0409</Culture>\r
149     </ResourceCompile>\r
150     <ProjectReference>\r
151       <LinkLibraryDependencies>false</LinkLibraryDependencies>\r
152     </ProjectReference>\r
153     <Link>\r
154       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
155       <ModuleDefinitionFile>\r
156       </ModuleDefinitionFile>\r
157       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
158     </Link>\r
159     <PostBuildEvent>\r
160       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
161     </PostBuildEvent>\r
162   </ItemDefinitionGroup>\r
163   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
164     <PreBuildEvent>\r
165       <Command>\r
166       </Command>\r
167     </PreBuildEvent>\r
168     <ClCompile>\r
169       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
170       <IntrinsicFunctions>true</IntrinsicFunctions>\r
171       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
172       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
173       <StringPooling>true</StringPooling>\r
174       <PrecompiledHeader>\r
175       </PrecompiledHeader>\r
176       <WarningLevel>Level3</WarningLevel>\r
177     </ClCompile>\r
178     <ResourceCompile>\r
179       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
180       <Culture>0x0409</Culture>\r
181     </ResourceCompile>\r
182     <ProjectReference />\r
183     <Link>\r
184       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
185       <ModuleDefinitionFile>\r
186       </ModuleDefinitionFile>\r
187       <DataExecutionPrevention>\r
188       </DataExecutionPrevention>\r
189       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
190     </Link>\r
191     <PostBuildEvent>\r
192       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
193     </PostBuildEvent>\r
194     <ProjectReference>\r
195       <LinkLibraryDependencies>false</LinkLibraryDependencies>\r
196     </ProjectReference>\r
197   </ItemDefinitionGroup>\r
198   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
199     <PreBuildEvent>\r
200       <Command>\r
201       </Command>\r
202     </PreBuildEvent>\r
203     <Midl>\r
204       <TargetEnvironment>X64</TargetEnvironment>\r
205     </Midl>\r
206     <ClCompile>\r
207       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
208       <IntrinsicFunctions>true</IntrinsicFunctions>\r
209       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
210       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;$(GC_DEFINES);MONO_DLL_EXPORT;WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
211       <StringPooling>true</StringPooling>\r
212       <PrecompiledHeader>\r
213       </PrecompiledHeader>\r
214       <WarningLevel>Level3</WarningLevel>\r
215     </ClCompile>\r
216     <ResourceCompile>\r
217       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
218       <Culture>0x0409</Culture>\r
219     </ResourceCompile>\r
220     <ProjectReference />\r
221     <Link>\r
222       <AdditionalDependencies Condition="'$(MONO_TARGET_GC)'=='boehm'">$(GC_LIB);%(AdditionalDependencies)</AdditionalDependencies>\r
223       <ModuleDefinitionFile>\r
224       </ModuleDefinitionFile>\r
225       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>\r
226     </Link>\r
227     <PostBuildEvent>\r
228       <Command>.\libmono.bat "$(MONO_INCLUDE_DIR)" "$(SolutionDir)include\mono" -q</Command>\r
229     </PostBuildEvent>\r
230     <ProjectReference>\r
231       <LinkLibraryDependencies>false</LinkLibraryDependencies>\r
232     </ProjectReference>\r
233   </ItemDefinitionGroup>\r
234   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">\r
235     <ClCompile>\r
236       <CompileAs>CompileAsCpp</CompileAs>\r
237     </ClCompile>\r
238   </ItemDefinitionGroup>\r
239   <ItemGroup>\r
240     <ProjectReference Include="genmdesc.vcxproj">\r
241       <Project>{b7098dfa-31e6-4006-8a15-1c9a4e925149}</Project>\r
242     </ProjectReference>\r
243     <ProjectReference Include="libgc.vcxproj">\r
244       <Project>{eb56000b-c80b-4e8b-908d-d84d31b517d3}</Project>\r
245     </ProjectReference>\r
246   </ItemGroup>\r
247   <ItemGroup>\r
248     <ClCompile Include="$(MonoSourceLocation)\mono\mini\mini-windows-dllmain.c" />\r
249   </ItemGroup>\r
250   <Import Project="eglib.targets" />\r
251   <Import Project="libmonoutils.targets" />\r
252   <Import Project="libmonoruntime.targets" />\r
253   <Import Project="libmini.targets" />\r
254   <Import Project="libgcmonosgen.targets" />\r
255   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
256   <Import Project="mono.external.targets" />\r
257   <ImportGroup Label="ExtensionTargets">\r
258   </ImportGroup>\r
259   <Target Name="_SetupMonoLLVMCompileItems" Condition="$(MONO_ENABLE_LLVM)=='true'">\r
260     <ItemGroup>\r
261       <ClCompile>\r
262         <AdditionalIncludeDirectories>$(MONO_LLVM_INCLUDE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
263         <PreprocessorDefinitions>LLVM_API_VERSION=$(MONO_LLVM_API_VERSION);%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
264       </ClCompile>\r
265     </ItemGroup>\r
266     <ItemGroup>\r
267       <ClCompile Condition="'%(ClCompile._MonoLLVMSourceFile)' == 'true'">\r
268         <ExcludedFromBuild>false</ExcludedFromBuild>\r
269       </ClCompile>\r
270     </ItemGroup>\r
271   </Target>\r
272   <Target Name="_SetupMonoLLVMLinkItems" Condition="$(MONO_ENABLE_LLVM)=='true'">\r
273     <ItemGroup>\r
274       <Link>\r
275         <AdditionalLibraryDirectories>$(MONO_LLVM_LIB_DIR);%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>\r
276         <AdditionalDependencies>$(MONO_LLVM_LIBS);%(Link.AdditionalDependencies)</AdditionalDependencies>\r
277       </Link>\r
278     </ItemGroup>\r
279   </Target>\r
280   <Target Name="_ConfigureExternalCompileDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMCompileItems" />\r
281   <Target Name="_ConfigureExternalLinkDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMLinkItems" />\r
282   <PropertyGroup>\r
283     <PrepareForBuildDependsOn>\r
284       _ConfigureExternalCompileDependency;\r
285       $(PrepareForBuildDependsOn);\r
286     </PrepareForBuildDependsOn>\r
287     <ComputeLinkInputsTargets>\r
288       $(ComputeLinkInputsTargets);\r
289       _ConfigureExternalLinkDependency;\r
290     </ComputeLinkInputsTargets>\r
291   </PropertyGroup>\r
292 </Project>