w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git] / msvc / build-init.vcxproj
blob3ae06c6936ea4216c4a1023acce2d567bf7e3a9e
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="Release|Win32">
9       <Configuration>Release</Configuration>
10       <Platform>Win32</Platform>
11     </ProjectConfiguration>
12     <ProjectConfiguration Include="Debug|x64">
13       <Configuration>Debug</Configuration>
14       <Platform>x64</Platform>
15     </ProjectConfiguration>
16     <ProjectConfiguration Include="Release|x64">
17       <Configuration>Release</Configuration>
18       <Platform>x64</Platform>
19     </ProjectConfiguration>
20   </ItemGroup>
21   <ItemGroup>
22     <ClInclude Include="..\config.h" />
23     <ClInclude Include="..\winconfig.h" />
24   </ItemGroup>
25   <PropertyGroup Label="Globals">
26     <ProjectGuid>{92AE7622-5F58-4234-9A26-9EC71876B3F4}</ProjectGuid>
27     <RootNamespace>buildinit</RootNamespace>
28     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
29   </PropertyGroup>
30   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
31   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
32     <ConfigurationType>Utility</ConfigurationType>
33     <UseDebugLibraries>true</UseDebugLibraries>
34     <PlatformToolset>v140</PlatformToolset>
35     <CharacterSet>MultiByte</CharacterSet>
36   </PropertyGroup>
37   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38     <ConfigurationType>Utility</ConfigurationType>
39     <UseDebugLibraries>false</UseDebugLibraries>
40     <PlatformToolset>v140</PlatformToolset>
41     <WholeProgramOptimization>true</WholeProgramOptimization>
42     <CharacterSet>MultiByte</CharacterSet>
43   </PropertyGroup>
44   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
45     <ConfigurationType>Utility</ConfigurationType>
46     <UseDebugLibraries>true</UseDebugLibraries>
47     <PlatformToolset>v140</PlatformToolset>
48     <CharacterSet>MultiByte</CharacterSet>
49   </PropertyGroup>
50   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
51     <ConfigurationType>Utility</ConfigurationType>
52     <UseDebugLibraries>false</UseDebugLibraries>
53     <PlatformToolset>v140</PlatformToolset>
54     <WholeProgramOptimization>true</WholeProgramOptimization>
55     <CharacterSet>MultiByte</CharacterSet>
56   </PropertyGroup>
57   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
58   <ImportGroup Label="ExtensionSettings">
59   </ImportGroup>
60   <ImportGroup Label="Shared">
61   </ImportGroup>
62   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
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 Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
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   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
71     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
72     <Import Project="mono.props" />
73   </ImportGroup>
74   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
75     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
76     <Import Project="mono.props" />
77   </ImportGroup>
78   <PropertyGroup Label="UserMacros" />
79   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
80     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
81     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
82   </PropertyGroup>
83   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
84     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
85     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
86   </PropertyGroup>
87   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
88     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>
89     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
90   </PropertyGroup>
91   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
92     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(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       <WarningLevel>Level3</WarningLevel>
98       <Optimization>Disabled</Optimization>
99       <SDLCheck>true</SDLCheck>
100     </ClCompile>
101     <PostBuildEvent>
102       <Command>
103       </Command>
104     </PostBuildEvent>
105   </ItemDefinitionGroup>
106   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
107     <ClCompile>
108       <WarningLevel>Level3</WarningLevel>
109       <Optimization>Disabled</Optimization>
110       <SDLCheck>true</SDLCheck>
111     </ClCompile>
112     <PostBuildEvent>
113       <Command>
114       </Command>
115     </PostBuildEvent>
116   </ItemDefinitionGroup>
117   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
118     <ClCompile>
119       <WarningLevel>Level3</WarningLevel>
120       <Optimization>MaxSpeed</Optimization>
121       <FunctionLevelLinking>true</FunctionLevelLinking>
122       <IntrinsicFunctions>true</IntrinsicFunctions>
123       <SDLCheck>true</SDLCheck>
124     </ClCompile>
125     <Link>
126       <EnableCOMDATFolding>true</EnableCOMDATFolding>
127       <OptimizeReferences>true</OptimizeReferences>
128     </Link>
129     <PostBuildEvent>
130       <Command>
131       </Command>
132     </PostBuildEvent>
133   </ItemDefinitionGroup>
134   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
135     <ClCompile>
136       <WarningLevel>Level3</WarningLevel>
137       <Optimization>MaxSpeed</Optimization>
138       <FunctionLevelLinking>true</FunctionLevelLinking>
139       <IntrinsicFunctions>true</IntrinsicFunctions>
140       <SDLCheck>true</SDLCheck>
141     </ClCompile>
142     <Link>
143       <EnableCOMDATFolding>true</EnableCOMDATFolding>
144       <OptimizeReferences>true</OptimizeReferences>
145     </Link>
146     <PostBuildEvent>
147       <Command>
148       </Command>
149     </PostBuildEvent>
150   </ItemDefinitionGroup>
151   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
152   <Import Project="mono.external.targets" />
153   <Import Project="mono.winconfig.targets" />
154   <ImportGroup Label="ExtensionTargets">
155   </ImportGroup>
157   <Target Name="AfterBuildWinSetup">
158     <PropertyGroup>
159       <_EnableDefines Condition="'$(MONO_ENABLE_LLVM)' == 'true'">$(_EnableDefines);ENABLE_LLVM;ENABLE_LLVM_RUNTIME</_EnableDefines>
160       <_EnableDefines Condition="'$(MONO_ENABLE_NETCORE)' == 'true'">$(_EnableDefines);ENABLE_NETCORE</_EnableDefines>
161       <_HaveDefines Condition="'$(MONO_ENABLE_BTLS)' == 'true'">$(_HaveDefines);HAVE_BTLS</_HaveDefines>
162       <_EnableDefines>$(_EnableDefines.Trim(';'))</_EnableDefines>
163       <_HaveDefines>$(_HaveDefines.Trim(';'))</_HaveDefines>
164     </PropertyGroup>
165     <WinConfigSetup ConfigFileRoot="$(MSBuildThisFileDirectory)..\"
166                     DisableDefines=""
167                     EnableDefines="$(_EnableDefines)"
168                     HaveDefines="$(_HaveDefines)"/>
169   </Target>
171   <Target Name="AfterBuild" DependsOnTargets="AfterBuildWinSetup" />
173   <Target Name="_BackupConfigFile" Condition="'$(_MonoConfigFileBackupExists)' != 'true' and Exists('$(MONO_DIR)/config.h')">
174     <Copy SourceFiles="$(MONO_DIR)/config.h" DestinationFiles="$(MONO_DIR)/cygconfig.h" />
175   </Target>
177   <Target Name="_CheckConfigFile">
178     <_CheckConfigurationProperty ConfFile="$(MONO_DIR)/config.h" ConfRegEx="#include.*cygconfig.h.*">
179       <Output TaskParameter="ConfPropertyFoundMatch" PropertyName="_MonoConfigFileBackupExists" />
180     </_CheckConfigurationProperty>
181   </Target>
183   <PropertyGroup>
184     <PrepareForBuildDependsOn>
185       _CheckConfigFile;
186       _BackupConfigFile;
187       $(PrepareForBuildDependsOn);
188     </PrepareForBuildDependsOn>
189   </PropertyGroup>
191 </Project>