Restructure of mono.sln and build properties to better fix static/dynamic library...
[mono.git] / msvc / libmono-static.vcxproj
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="Debug|x64">\r
9       <Configuration>Debug</Configuration>\r
10       <Platform>x64</Platform>\r
11     </ProjectConfiguration>\r
12     <ProjectConfiguration Include="Release|Win32">\r
13       <Configuration>Release</Configuration>\r
14       <Platform>Win32</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   <PropertyGroup Label="Globals">\r
22     <ProjectGuid>{CB0D9E92-293C-439C-9AC7-C5F59B6E0772}</ProjectGuid>\r
23     <RootNamespace>libmono-static</RootNamespace>\r
24     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>\r
25   </PropertyGroup>\r
26   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
27   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
28     <ConfigurationType>StaticLibrary</ConfigurationType>\r
29     <CharacterSet>Unicode</CharacterSet>\r
30     <PlatformToolset>v140</PlatformToolset>\r
31   </PropertyGroup>\r
32   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
33     <ConfigurationType>StaticLibrary</ConfigurationType>\r
34     <CharacterSet>Unicode</CharacterSet>\r
35     <PlatformToolset>v140</PlatformToolset>\r
36   </PropertyGroup>\r
37   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
38     <ConfigurationType>StaticLibrary</ConfigurationType>\r
39     <CharacterSet>Unicode</CharacterSet>\r
40     <PlatformToolset>v140</PlatformToolset>\r
41   </PropertyGroup>\r
42   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
43     <ConfigurationType>StaticLibrary</ConfigurationType>\r
44     <CharacterSet>Unicode</CharacterSet>\r
45     <PlatformToolset>v140</PlatformToolset>\r
46   </PropertyGroup>\r
47   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
48   <ImportGroup Label="ExtensionSettings">\r
49   </ImportGroup>\r
50   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">\r
51     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
52     <Import Project="mono.props" />\r
53   </ImportGroup>\r
54   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">\r
55     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
56     <Import Project="mono.props" />\r
57   </ImportGroup>\r
58   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">\r
59     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
60     <Import Project="mono.props" />\r
61   </ImportGroup>\r
62   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">\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   <PropertyGroup Label="UserMacros" />\r
67   <PropertyGroup>\r
68     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
69     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
70     <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
71     <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
72     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
73     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
74     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
75     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
76     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
77     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
78     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
79     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
80   </PropertyGroup>\r
81   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
82     <LinkIncremental>true</LinkIncremental>\r
83   </PropertyGroup>\r
84   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
85     <LinkIncremental>true</LinkIncremental>\r
86   </PropertyGroup>\r
87   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
88     <PreBuildEvent>\r
89       <Command>\r
90       </Command>\r
91     </PreBuildEvent>\r
92     <ClCompile>\r
93       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
94       <Optimization>Disabled</Optimization>\r
95       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
96       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
97       <PrecompiledHeader>\r
98       </PrecompiledHeader>\r
99       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
100       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
101       <WarningLevel>Level3</WarningLevel>\r
102       <MinimalRebuild>true</MinimalRebuild>\r
103     </ClCompile>\r
104     <Link>\r
105       <SubSystem>Windows</SubSystem>\r
106     </Link>\r
107     <PostBuildEvent />\r
108     <Lib />\r
109     <ProjectReference />\r
110     <ProjectReference>\r
111       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
112     </ProjectReference>\r
113   </ItemDefinitionGroup>\r
114   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
115     <PreBuildEvent>\r
116       <Command>\r
117       </Command>\r
118     </PreBuildEvent>\r
119     <ClCompile>\r
120       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
121       <Optimization>Disabled</Optimization>\r
122       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
123       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
124       <PrecompiledHeader>\r
125       </PrecompiledHeader>\r
126       <DisableSpecificWarnings>4996;4018;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>\r
127       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
128       <WarningLevel>Level3</WarningLevel>\r
129       <MinimalRebuild>true</MinimalRebuild>\r
130     </ClCompile>\r
131     <Link>\r
132       <SubSystem>Windows</SubSystem>\r
133     </Link>\r
134     <PostBuildEvent />\r
135     <Lib />\r
136     <ProjectReference />\r
137     <ProjectReference>\r
138       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
139     </ProjectReference>\r
140   </ItemDefinitionGroup>\r
141   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
142     <PreBuildEvent>\r
143       <Command>\r
144       </Command>\r
145     </PreBuildEvent>\r
146     <ClCompile>\r
147       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
148       <IntrinsicFunctions>true</IntrinsicFunctions>\r
149       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
150       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
151       <PrecompiledHeader>\r
152       </PrecompiledHeader>\r
153       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
154       <WarningLevel>Level3</WarningLevel>\r
155       <StringPooling>true</StringPooling>\r
156     </ClCompile>\r
157     <Link>\r
158       <SubSystem>Windows</SubSystem>\r
159       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
160       <OptimizeReferences>true</OptimizeReferences>\r
161     </Link>\r
162     <PostBuildEvent />\r
163     <Lib />\r
164     <ProjectReference />\r
165     <ProjectReference>\r
166       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
167     </ProjectReference>\r
168   </ItemDefinitionGroup>\r
169   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
170     <PreBuildEvent>\r
171       <Command>\r
172       </Command>\r
173     </PreBuildEvent>\r
174     <ClCompile>\r
175       <AdditionalOptions>/D /NODEFAULTLIB:LIBCD" " %(AdditionalOptions)</AdditionalOptions>\r
176       <IntrinsicFunctions>true</IntrinsicFunctions>\r
177       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
178       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
179       <PrecompiledHeader>\r
180       </PrecompiledHeader>\r
181       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
182       <WarningLevel>Level3</WarningLevel>\r
183       <StringPooling>true</StringPooling>\r
184     </ClCompile>\r
185     <Link>\r
186       <SubSystem>Windows</SubSystem>\r
187       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
188       <OptimizeReferences>true</OptimizeReferences>\r
189     </Link>\r
190     <PostBuildEvent />\r
191     <Lib />\r
192     <ProjectReference />\r
193     <ProjectReference>\r
194       <LinkLibraryDependencies>true</LinkLibraryDependencies>\r
195     </ProjectReference>\r
196   </ItemDefinitionGroup>\r
197   <ItemGroup>\r
198     <ProjectReference Include="eglib.vcxproj">\r
199       <Project>{158073ed-99ae-4196-9edc-ddb2344f8466}</Project>\r
200     </ProjectReference>\r
201     <ProjectReference Condition="'$(MONO_TARGET_GC)'=='boehm'" Include="libgc.vcxproj">\r
202       <Project>{eb56000b-c80b-4e8b-908d-d84d31b517d3}</Project>\r
203     </ProjectReference>\r
204     <ProjectReference Condition="'$(MONO_TARGET_GC)'=='sgen'" Include="libgcmonosgen.vcxproj">\r
205       <Project>{c36612bd-22d3-4b95-85e2-7fdc4fc5d740}</Project>\r
206     </ProjectReference>\r
207     <ProjectReference Include="libmini.vcxproj">\r
208       <Project>{88d2eb79-592d-45f8-b849-ae021c1d983a}</Project>\r
209     </ProjectReference>\r
210     <ProjectReference Include="libmonoruntime.vcxproj">\r
211       <Project>{c36612bd-22d3-4b95-85e2-7fdc4fc5d739}</Project>\r
212     </ProjectReference>\r
213     <ProjectReference Include="libmonoutils.vcxproj">\r
214       <Project>{8fc2b0c8-51ad-49df-851f-5d01a77a75e4}</Project>\r
215     </ProjectReference>\r
216   </ItemGroup>\r
217   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
218   <ImportGroup Label="ExtensionTargets">\r
219   </ImportGroup>\r
220 </Project>