Fix potential crash for Encoder.Convert (#20522)
[mono-project.git] / msvc / monow.vcxproj
blobbfd9b8de01b799d1af010e95aafe82992e632790
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>{D89D58F1-DA7A-4157-AFEE-F43D3BA20C9D}</ProjectGuid>
23     <RootNamespace>monow</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);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
99       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100       <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
101       <WarningLevel>Level3</WarningLevel>
102     </ClCompile>
103     <ProjectReference />
104     <Link>
105       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
106       <SubSystem>Windows</SubSystem>
107       <StackReserveSize>0x800000</StackReserveSize>
108     </Link>
109     <ProjectReference>
110       <LinkLibraryDependencies>false</LinkLibraryDependencies>
111     </ProjectReference>
112   </ItemDefinitionGroup>
113   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
114     <Midl>
115       <TargetEnvironment>X64</TargetEnvironment>
116     </Midl>
117     <ClCompile>
118       <Optimization>Disabled</Optimization>
119       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
120       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_WINDOWS;WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121       <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
122       <WarningLevel>Level3</WarningLevel>
123     </ClCompile>
124     <ProjectReference>
125       <LinkLibraryDependencies>false</LinkLibraryDependencies>
126     </ProjectReference>
127     <Link>
128       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
129       <SubSystem>Windows</SubSystem>
130       <StackReserveSize>0x800000</StackReserveSize>
131     </Link>
132   </ItemDefinitionGroup>
133   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
134     <ClCompile>
135       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
136       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
137       <WarningLevel>Level3</WarningLevel>
138       <IntrinsicFunctions>true</IntrinsicFunctions>
139       <StringPooling>true</StringPooling>
140       <WholeProgramOptimization>true</WholeProgramOptimization>
141     </ClCompile>
142     <ProjectReference>
143       <LinkLibraryDependencies>false</LinkLibraryDependencies>
144     </ProjectReference>
145     <Link>
146       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
147       <SubSystem>Windows</SubSystem>
148       <StackReserveSize>0x180000</StackReserveSize>
149       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
150     </Link>
151   </ItemDefinitionGroup>
152   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
153     <Midl>
154       <TargetEnvironment>X64</TargetEnvironment>
155     </Midl>
156     <ClCompile>
157       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
158       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_WINDOWS;WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
159       <WarningLevel>Level3</WarningLevel>
160       <IntrinsicFunctions>true</IntrinsicFunctions>
161       <StringPooling>true</StringPooling>
162       <WholeProgramOptimization>true</WholeProgramOptimization>
163     </ClCompile>
164     <ProjectReference>
165       <LinkLibraryDependencies>false</LinkLibraryDependencies>
166     </ProjectReference>
167     <Link>
168       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
169       <SubSystem>Windows</SubSystem>
170       <StackReserveSize>0x180000</StackReserveSize>
171       <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
172     </Link>
173   </ItemDefinitionGroup>
174   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">
175     <ClCompile>
176       <CompileAs>CompileAsCpp</CompileAs>
177     </ClCompile>
178   </ItemDefinitionGroup>
179   <ItemGroup>
180     <ClCompile Include="..\mono\mini\main.c" />
181   </ItemGroup>
182   <ItemGroup>
183     <ProjectReference Include="eglib.vcxproj">
184       <Project>{158073ed-99ae-4196-9edc-ddb2344f8466}</Project>
185     </ProjectReference>
186     <ProjectReference Include="libmono-dynamic.vcxproj">
187       <Project>{675f4175-ffb1-480d-ad36-f397578844d4}</Project>
188     </ProjectReference>
189   </ItemGroup>
190   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
191   <Import Project="mono.external.targets" />
192   <ImportGroup Label="ExtensionTargets">
193   </ImportGroup>
194   <Target Name="_SetupMonoLLVMLinkItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
195     <ItemGroup>
196       <Link>
197         <AdditionalLibraryDirectories>$(MONO_LLVM_LIB_DIR);%(Lib.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
198         <AdditionalDependencies>$(MONO_LLVM_LIBS);%(Lib.AdditionalDependencies)</AdditionalDependencies>
199       </Link>
200     </ItemGroup>
201   </Target>
202   <Target Name="_ConfigureExternalLinkDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMLinkItems" />
203   <PropertyGroup>
204     <ComputeLibInputsTargets>
205       $(ComputeLibInputsTargets);
206       _ConfigureExternalLinkDependency;
207     </ComputeLibInputsTargets>
208   </PropertyGroup>
209 </Project>