[interp] transform delegate invoke in method body too (#11528)
[mono-project.git] / msvc / build-init.vcxproj
bloba288e844b9062163bc31fabaaf450d99d98f9e3c
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="Release|Win32">\r
9       <Configuration>Release</Configuration>\r
10       <Platform>Win32</Platform>\r
11     </ProjectConfiguration>\r
12     <ProjectConfiguration Include="Debug|x64">\r
13       <Configuration>Debug</Configuration>\r
14       <Platform>x64</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   <ItemGroup>\r
22     <ClInclude Include="..\config.h" />\r
23     <ClInclude Include="..\winconfig.h" />\r
24   </ItemGroup>\r
25   <PropertyGroup Label="Globals">\r
26     <ProjectGuid>{92AE7622-5F58-4234-9A26-9EC71876B3F4}</ProjectGuid>\r
27     <RootNamespace>buildinit</RootNamespace>\r
28     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>\r
29   </PropertyGroup>\r
30   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
31   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
32     <ConfigurationType>Utility</ConfigurationType>\r
33     <UseDebugLibraries>true</UseDebugLibraries>\r
34     <PlatformToolset>v140</PlatformToolset>\r
35     <CharacterSet>MultiByte</CharacterSet>\r
36   </PropertyGroup>\r
37   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
38     <ConfigurationType>Utility</ConfigurationType>\r
39     <UseDebugLibraries>false</UseDebugLibraries>\r
40     <PlatformToolset>v140</PlatformToolset>\r
41     <WholeProgramOptimization>true</WholeProgramOptimization>\r
42     <CharacterSet>MultiByte</CharacterSet>\r
43   </PropertyGroup>\r
44   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
45     <ConfigurationType>Utility</ConfigurationType>\r
46     <UseDebugLibraries>true</UseDebugLibraries>\r
47     <PlatformToolset>v140</PlatformToolset>\r
48     <CharacterSet>MultiByte</CharacterSet>\r
49   </PropertyGroup>\r
50   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
51     <ConfigurationType>Utility</ConfigurationType>\r
52     <UseDebugLibraries>false</UseDebugLibraries>\r
53     <PlatformToolset>v140</PlatformToolset>\r
54     <WholeProgramOptimization>true</WholeProgramOptimization>\r
55     <CharacterSet>MultiByte</CharacterSet>\r
56   </PropertyGroup>\r
57   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
58   <ImportGroup Label="ExtensionSettings">\r
59   </ImportGroup>\r
60   <ImportGroup Label="Shared">\r
61   </ImportGroup>\r
62   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\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 Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\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   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
71     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
72     <Import Project="mono.props" />\r
73   </ImportGroup>\r
74   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
75     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
76     <Import Project="mono.props" />\r
77   </ImportGroup>\r
78   <PropertyGroup Label="UserMacros" />\r
79   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
80     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
81     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
82   </PropertyGroup>\r
83   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
84     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
85     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
86   </PropertyGroup>\r
87   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
88     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
89     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
90   </PropertyGroup>\r
91   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
92     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
93     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
94   </PropertyGroup>\r
95   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
96     <ClCompile>\r
97       <WarningLevel>Level3</WarningLevel>\r
98       <Optimization>Disabled</Optimization>\r
99       <SDLCheck>true</SDLCheck>\r
100     </ClCompile>\r
101     <PostBuildEvent>\r
102       <Command>\r
103       </Command>\r
104     </PostBuildEvent>\r
105   </ItemDefinitionGroup>\r
106   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
107     <ClCompile>\r
108       <WarningLevel>Level3</WarningLevel>\r
109       <Optimization>Disabled</Optimization>\r
110       <SDLCheck>true</SDLCheck>\r
111     </ClCompile>\r
112     <PostBuildEvent>\r
113       <Command>\r
114       </Command>\r
115     </PostBuildEvent>\r
116   </ItemDefinitionGroup>\r
117   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
118     <ClCompile>\r
119       <WarningLevel>Level3</WarningLevel>\r
120       <Optimization>MaxSpeed</Optimization>\r
121       <FunctionLevelLinking>true</FunctionLevelLinking>\r
122       <IntrinsicFunctions>true</IntrinsicFunctions>\r
123       <SDLCheck>true</SDLCheck>\r
124     </ClCompile>\r
125     <Link>\r
126       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
127       <OptimizeReferences>true</OptimizeReferences>\r
128     </Link>\r
129     <PostBuildEvent>\r
130       <Command>\r
131       </Command>\r
132     </PostBuildEvent>\r
133   </ItemDefinitionGroup>\r
134   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
135     <ClCompile>\r
136       <WarningLevel>Level3</WarningLevel>\r
137       <Optimization>MaxSpeed</Optimization>\r
138       <FunctionLevelLinking>true</FunctionLevelLinking>\r
139       <IntrinsicFunctions>true</IntrinsicFunctions>\r
140       <SDLCheck>true</SDLCheck>\r
141     </ClCompile>\r
142     <Link>\r
143       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
144       <OptimizeReferences>true</OptimizeReferences>\r
145     </Link>\r
146     <PostBuildEvent>\r
147       <Command>\r
148       </Command>\r
149     </PostBuildEvent>\r
150   </ItemDefinitionGroup>\r
151   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
152   <ImportGroup Label="ExtensionTargets">\r
153   </ImportGroup>\r
154   <PropertyGroup Label="LLVMProperties" Condition="$(MONO_ENABLE_LLVM)=='true'">\r
155     <LLVMConfig>$(MONO_LLVM_BIN_DIR)/llvm-config.exe</LLVMConfig>\r
156   </PropertyGroup>\r
157   <Target Name="AfterBuildWinSetup">\r
158     <Exec Command="winsetup.bat">\r
159       <Output TaskParameter="ExitCode" PropertyName="WinSetupExitCode" />\r
160     </Exec>\r
161     <Error Text="Failed running winsetup.bat" Condition="$(WinSetupExitCode) != 0" />\r
162   </Target>\r
163   <Target Name="AfterBuildLLVMSetup" Condition="$(MONO_ENABLE_LLVM)=='true'">\r
164     <Message Importance="high" Text="Validating LLVM configuration..." />\r
165     <Error Text="LLVM executable $(LLVMConfig) not found." Condition="!Exists($(LLVMConfig))" />\r
166     <Message Importance="high" Text="LLVM Version:" />\r
167     <Exec Command="$(MONO_LLVM_BIN_DIR)/llvm-config.exe --version" ConsoleToMSBuild="true">\r
168       <Output TaskParameter="ConsoleOutput" PropertyName="MonoLLVMVersion" />\r
169     </Exec>\r
170     <Message Importance="high" Text="LLVM API Version:" />\r
171     <Exec Command="$(MONO_LLVM_BIN_DIR)/llvm-config.exe --mono-api-version" ConsoleToMSBuild="true" EchoOff="true">\r
172       <Output TaskParameter="ConsoleOutput" PropertyName="MonoLLVMAPIVersion" />\r
173     </Exec>\r
174     <Error Text="Compiling with stock LLVM is not supported, please use the Mono LLVM repo at https://github.com/mono/llvm." Condition="!$(MonoLLVMVersion.Contains('mono'))" />\r
175     <Error Text="Expected llvm version 4, but llvm-config --version returned $(MonoLLVMAPIVersion)." Condition="$(MonoLLVMAPIVersion) != '4'" />\r
176     <Message Importance="high" Text="Successfully validated LLVM configuration." />\r
177   </Target>\r
178   <Target Name="AfterBuild" DependsOnTargets="AfterBuildWinSetup;AfterBuildLLVMSetup" />\r
179 </Project>