Expose Path.TrimEndingDirectorySeparator (dotnet/coreclr#20805)
[mono-project.git] / msvc / mono.vcxproj
blob4602e6c91f53fd8282f04409365db6cc63a6d9fc
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>{A0EDDCD9-940F-432C-A28F-7EF322437D79}</ProjectGuid>
23     <RootNamespace>mono</RootNamespace>
24     <Keyword>Win32Proj</Keyword>
25     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
26   </PropertyGroup>
27   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29     <ConfigurationType>Application</ConfigurationType>
30     <CharacterSet>Unicode</CharacterSet>
31     <PlatformToolset>v140</PlatformToolset>
32   </PropertyGroup>
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34     <ConfigurationType>Application</ConfigurationType>
35     <CharacterSet>Unicode</CharacterSet>
36     <PlatformToolset>v140</PlatformToolset>
37   </PropertyGroup>
38   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
39     <ConfigurationType>Application</ConfigurationType>
40     <CharacterSet>Unicode</CharacterSet>
41     <PlatformToolset>v140</PlatformToolset>
42   </PropertyGroup>
43   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
44     <ConfigurationType>Application</ConfigurationType>
45     <CharacterSet>Unicode</CharacterSet>
46     <PlatformToolset>v140</PlatformToolset>
47   </PropertyGroup>
48   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
49   <ImportGroup Label="ExtensionSettings">
50   </ImportGroup>
51   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
52     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53     <Import Project="mono.props" />
54   </ImportGroup>
55   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57     <Import Project="mono.props" />
58   </ImportGroup>
59   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
60     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61     <Import Project="mono.props" />
62   </ImportGroup>
63   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
64     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65     <Import Project="mono.props" />
66   </ImportGroup>
67   <PropertyGroup Label="UserMacros" />
68   <PropertyGroup>
69     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
70     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
71     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
72     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
73     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
74     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
75     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
76     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\bin\$(Configuration)\</OutDir>
77     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>
78   </PropertyGroup>
79   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
80     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
81   </PropertyGroup>
82   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
83     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
84   </PropertyGroup>
85   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
86     <LinkIncremental>true</LinkIncremental>
87     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
88   </PropertyGroup>
89   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
90     <LinkIncremental>true</LinkIncremental>
91     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>
92   </PropertyGroup>
93   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
94     <ClCompile>
95       <Optimization>Disabled</Optimization>
96       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
97       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
98       <MinimalRebuild>true</MinimalRebuild>
99       <PrecompiledHeader>
100       </PrecompiledHeader>
101       <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
102       <WarningLevel>Level3</WarningLevel>
103     </ClCompile>
104     <ProjectReference />
105     <Link>
106       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
107       <SubSystem>Console</SubSystem>
108       <DataExecutionPrevention>
109       </DataExecutionPrevention>
110     </Link>
111     <ProjectReference>
112       <LinkLibraryDependencies>false</LinkLibraryDependencies>
113     </ProjectReference>
114     <PostBuildEvent>
115       <Command>xcopy "$(SolutionDir)mono-sgen-msvc.sh" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
117 xcopy "$(SolutionDir)mono-sgen-msvc.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
118 xcopy "$(SolutionDir)setup-windows-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
119 xcopy "$(SolutionDir)setup-vs-msvcbuild-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1</Command>
120     </PostBuildEvent>
121   </ItemDefinitionGroup>
122   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
123     <Midl>
124       <TargetEnvironment>X64</TargetEnvironment>
125     </Midl>
126     <ClCompile>
127       <Optimization>Disabled</Optimization>
128       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
129       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
130       <MinimalRebuild>true</MinimalRebuild>
131       <PrecompiledHeader>
132       </PrecompiledHeader>
133       <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
134       <WarningLevel>Level3</WarningLevel>
135     </ClCompile>
136     <ProjectReference>
137       <LinkLibraryDependencies>false</LinkLibraryDependencies>
138     </ProjectReference>
139     <Link>
140       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
141       <SubSystem>Console</SubSystem>
142       <ShowProgress>
143       </ShowProgress>
144     </Link>
145     <PostBuildEvent>
146       <Command>xcopy "$(SolutionDir)mono-sgen-msvc.sh" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
148 xcopy "$(SolutionDir)mono-sgen-msvc.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
149 xcopy "$(SolutionDir)setup-windows-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
150 xcopy "$(SolutionDir)setup-vs-msvcbuild-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1</Command>
151     </PostBuildEvent>
152   </ItemDefinitionGroup>
153   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
154     <ClCompile>
155       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
156       <PrecompiledHeader>
157       </PrecompiledHeader>
158       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
159       <WarningLevel>Level3</WarningLevel>
160       <IntrinsicFunctions>true</IntrinsicFunctions>
161       <StringPooling>true</StringPooling>
162     </ClCompile>
163     <ProjectReference>
164       <LinkLibraryDependencies>false</LinkLibraryDependencies>
165     </ProjectReference>
166     <Link>
167       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
168       <SubSystem>Console</SubSystem>
169       <DataExecutionPrevention>
170       </DataExecutionPrevention>
171     </Link>
172     <PostBuildEvent>
173       <Command>xcopy "$(SolutionDir)mono-sgen-msvc.sh" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
175 xcopy "$(SolutionDir)mono-sgen-msvc.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
176 xcopy "$(SolutionDir)setup-windows-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
177 xcopy "$(SolutionDir)setup-vs-msvcbuild-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1</Command>
178     </PostBuildEvent>
179   </ItemDefinitionGroup>
180   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
181     <Midl>
182       <TargetEnvironment>X64</TargetEnvironment>
183     </Midl>
184     <ClCompile>
185       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(MONO_JIT_INCLUDE_DIR);$(MONO_LIBGC_SOURCE_DIR);$(MONO_EGLIB_SOURCE_DIR);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
186       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
187       <PrecompiledHeader>
188       </PrecompiledHeader>
189       <WarningLevel>Level3</WarningLevel>
190       <IntrinsicFunctions>true</IntrinsicFunctions>
191       <StringPooling>true</StringPooling>
192     </ClCompile>
193     <ProjectReference>
194       <LinkLibraryDependencies>false</LinkLibraryDependencies>
195     </ProjectReference>
196     <Link>
197       <AdditionalDependencies>$(MONO_LIBMONO_LIB);%(AdditionalDependencies)</AdditionalDependencies>
198       <SubSystem>Console</SubSystem>
199     </Link>
200     <PostBuildEvent>
201       <Command>xcopy "$(SolutionDir)mono-sgen-msvc.sh" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
203 xcopy "$(SolutionDir)mono-sgen-msvc.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
204 xcopy "$(SolutionDir)setup-windows-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1
205 xcopy "$(SolutionDir)setup-vs-msvcbuild-env.bat" "$(OutDir)" /q /y &gt;nul 2&gt;&amp;1</Command>
206     </PostBuildEvent>
207   </ItemDefinitionGroup>
208   <ItemDefinitionGroup Condition="'$(MONO_COMPILE_AS_CPP)'=='true'">
209     <ClCompile>
210       <CompileAs>CompileAsCpp</CompileAs>
211     </ClCompile>
212   </ItemDefinitionGroup>
213   <ItemGroup>
214     <ClCompile Include="..\mono\mini\main.c" />
215   </ItemGroup>
216   <ItemGroup>
217     <ProjectReference Include="eglib.vcxproj">
218       <Project>{158073ed-99ae-4196-9edc-ddb2344f8466}</Project>
219     </ProjectReference>
220     <ProjectReference Include="libmono-dynamic.vcxproj">
221       <Project>{675f4175-ffb1-480d-ad36-f397578844d4}</Project>
222     </ProjectReference>
223   </ItemGroup>
224   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
225   <Import Project="mono.external.targets" />
226   <ImportGroup Label="ExtensionTargets">
227   </ImportGroup>
228   <Target Name="_SetupMonoLLVMLinkItems" Condition="$(MONO_ENABLE_LLVM)=='true'">
229     <ItemGroup>
230       <Link>
231         <AdditionalLibraryDirectories>$(MONO_LLVM_LIB_DIR);%(Lib.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
232         <AdditionalDependencies>$(MONO_LLVM_LIBS);%(Lib.AdditionalDependencies)</AdditionalDependencies>
233       </Link>
234     </ItemGroup>
235   </Target>
236   <Target Name="_ConfigureExternalLinkDependency" DependsOnTargets="_ConfigureExternalMonoBuildEnvironment;_SetupMonoLLVMBuildProperties;_SetupMonoLLVMLinkItems" />
237   <PropertyGroup>
238     <ComputeLibInputsTargets>
239       $(ComputeLibInputsTargets);
240       _ConfigureExternalLinkDependency;
241     </ComputeLibInputsTargets>
242   </PropertyGroup>
243 </Project>