[cxx] Make the externC of icalls configuration-dependent instead of always. (#17573)
[mono-project.git] / msvc / libmonodac.vcxproj
blobcc5bbe7942230ed2d74f6f4edfe652796ad63734
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|x64">
5       <Configuration>Debug</Configuration>
6       <Platform>x64</Platform>
7     </ProjectConfiguration>
8     <ProjectConfiguration Include="Release|x64">
9       <Configuration>Release</Configuration>
10       <Platform>x64</Platform>
11     </ProjectConfiguration>
12   </ItemGroup>
13   <PropertyGroup Label="Globals">
14     <ProjectGuid>{DC50997D-8A0D-4EB6-849B-9D7FBC39CE53}</ProjectGuid>
15     <RootNamespace>libmonodac</RootNamespace>
16     <Keyword>Win32Proj</Keyword>
17   </PropertyGroup>
18   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
20     <ConfigurationType>DynamicLibrary</ConfigurationType>
21     <UseDebugLibraries>false</UseDebugLibraries>
22     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
23     <CharacterSet>Unicode</CharacterSet>
24   </PropertyGroup>
25   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
26     <ConfigurationType>DynamicLibrary</ConfigurationType>
27     <UseDebugLibraries>true</UseDebugLibraries>
28     <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
29     <CharacterSet>Unicode</CharacterSet>
30   </PropertyGroup>
31   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
32   <ImportGroup Label="ExtensionSettings">
33   </ImportGroup>
34   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
35     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
36     <Import Project="mono.props" />
37   </ImportGroup>
38   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
39     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40     <Import Project="mono.props" />
41   </ImportGroup>
42   <PropertyGroup Label="UserMacros" />
43   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
44     <LinkIncremental>false</LinkIncremental>
45     <TargetName>mono-2.0-dac$(MONO_TARGET_SUFFIX)</TargetName>
46     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
47     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
48   </PropertyGroup>
49   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
50     <LinkIncremental>true</LinkIncremental>
51     <TargetName>mono-2.0-dac$(MONO_TARGET_SUFFIX)</TargetName>
52     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
53     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
54   </PropertyGroup>
55   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
56     <Midl>
57       <TargetEnvironment>X64</TargetEnvironment>
58     </Midl>
59     <ClCompile>
60       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
61       <Optimization>Disabled</Optimization>
62       <AdditionalIncludeDirectories>$(MONO_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
63       <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
64       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
65       <WarningLevel>Level3</WarningLevel>
66     </ClCompile>
67     <ResourceCompile>
68       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
69       <Culture>0x0409</Culture>
70     </ResourceCompile>
71     <ProjectReference>
72       <LinkLibraryDependencies>false</LinkLibraryDependencies>
73     </ProjectReference>
74     <Link>
75       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
76       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>
77     </Link>
78   </ItemDefinitionGroup>
79   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
80     <Midl>
81       <TargetEnvironment>X64</TargetEnvironment>
82     </Midl>
83     <ClCompile>
84       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>
85       <IntrinsicFunctions>true</IntrinsicFunctions>
86       <AdditionalIncludeDirectories>$(MONO_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
87       <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
88       <StringPooling>true</StringPooling>
89       <WarningLevel>Level3</WarningLevel>
90       <WholeProgramOptimization>true</WholeProgramOptimization>
91     </ClCompile>
92     <ResourceCompile>
93       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94       <Culture>0x0409</Culture>
95     </ResourceCompile>
96     <ProjectReference>
97       <LinkLibraryDependencies>false</LinkLibraryDependencies>
98     </ProjectReference>
99     <Link>
100       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
101       <ImportLibrary>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\$(TargetName).lib</ImportLibrary>
102       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
103     </Link>
104   </ItemDefinitionGroup>
105   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">
106     <ClCompile>
107       <CompileAs>CompileAsCpp</CompileAs>
108     </ClCompile>
109   </ItemDefinitionGroup>
110   <ItemGroup>
111     <ClCompile Include="..\mono\mini\mini-windows-dlldac.c" />
112   </ItemGroup>
113   <ItemGroup>
114     <ProjectReference Include="build-init.vcxproj">
115       <Project>{92ae7622-5f58-4234-9a26-9ec71876b3f4}</Project>
116     </ProjectReference>
117   </ItemGroup>
118   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
119   <ImportGroup Label="ExtensionTargets">
120   </ImportGroup>
121 </Project>