[cxx] Make the externC of icalls configuration-dependent instead of always. (#17573)
[mono-project.git] / msvc / test-invoke.vcxproj
blob8df94f0fec2057d7398420a19eb0681ca539438d
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>{C5639B3F-288A-4A4B-A4A5-C0D85834221D}</ProjectGuid>
23     <RootNamespace>testinvoke</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>Application</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>Application</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>Application</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>Application</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>$(ProjectName)$(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>$(ProjectName)$(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>$(ProjectName)$(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>$(ProjectName)$(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       <Optimization>Disabled</Optimization>
98       <AdditionalIncludeDirectories>$(MONO_DIR);$(SolutionDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
99       <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100       <PrecompiledHeader>
101       </PrecompiledHeader>
102       <WarningLevel>Level3</WarningLevel>
103     </ClCompile>
104     <ProjectReference>
105       <LinkLibraryDependencies>false</LinkLibraryDependencies>
106     </ProjectReference>
107     <Link>
108       <AdditionalDependencies>$(MONO_DYNAMIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
109       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
110       <SubSystem>Console</SubSystem>
111     </Link>
112   </ItemDefinitionGroup>
113   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
114     <ClCompile>
115       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
116       <WarningLevel>Level3</WarningLevel>
117       <AdditionalIncludeDirectories>$(MONO_DIR);$(SolutionDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
118       <IntrinsicFunctions>true</IntrinsicFunctions>
119       <StringPooling>true</StringPooling>
120       <WholeProgramOptimization>true</WholeProgramOptimization>
121     </ClCompile>
122     <ProjectReference>
123       <LinkLibraryDependencies>false</LinkLibraryDependencies>
124     </ProjectReference>
125     <Link>
126       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
127       <AdditionalDependencies>$(MONO_DYNAMIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
128       <SubSystem>Console</SubSystem>
129       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
130     </Link>
131   </ItemDefinitionGroup>
132   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
133     <Midl>
134       <TargetEnvironment>X64</TargetEnvironment>
135     </Midl>
136     <ClCompile>
137       <Optimization>Disabled</Optimization>
138       <AdditionalIncludeDirectories>$(MONO_DIR);$(SolutionDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
139       <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
140       <WarningLevel>Level3</WarningLevel>
141     </ClCompile>
142     <ProjectReference>
143       <LinkLibraryDependencies>false</LinkLibraryDependencies>
144     </ProjectReference>
145     <Link>
146       <AdditionalDependencies>$(MONO_DYNAMIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
147       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
148       <SubSystem>Console</SubSystem>
149     </Link>
150   </ItemDefinitionGroup>
151   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
152     <Midl>
153       <TargetEnvironment>X64</TargetEnvironment>
154     </Midl>
155     <ClCompile>
156       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
157       <WarningLevel>Level3</WarningLevel>
158       <AdditionalIncludeDirectories>$(MONO_DIR);$(SolutionDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
159       <IntrinsicFunctions>true</IntrinsicFunctions>
160       <StringPooling>true</StringPooling>
161       <WholeProgramOptimization>true</WholeProgramOptimization>
162     </ClCompile>
163     <ProjectReference>
164       <LinkLibraryDependencies>false</LinkLibraryDependencies>
165     </ProjectReference>
166     <Link>
167       <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
168       <AdditionalDependencies>$(MONO_DYNAMIC_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
169       <SubSystem>Console</SubSystem>
170       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
171     </Link>
172   </ItemDefinitionGroup>
173   <ItemGroup>
174     <ClCompile Include="..\samples\embed\test-invoke.c" />
175   </ItemGroup>
176   <ItemGroup>
177     <ProjectReference Include="libmono-dynamic.vcxproj">
178       <Project>{675f4175-ffb1-480d-ad36-f397578844d4}</Project>
179     </ProjectReference>
180   </ItemGroup>
181   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
182   <ImportGroup Label="ExtensionTargets">
183   </ImportGroup>
184 </Project>