Restructure of mono.sln and build properties to better fix static/dynamic library...
[mono.git] / msvc / libmonoruntime.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   <ItemGroup>\r
22     <ProjectReference Include="eglib.vcxproj">\r
23       <Project>{158073ed-99ae-4196-9edc-ddb2344f8466}</Project>\r
24     </ProjectReference>\r
25   </ItemGroup>\r
26   <PropertyGroup Label="Globals">\r
27     <ProjectGuid>{C36612BD-22D3-4B95-85E2-7FDC4FC5D739}</ProjectGuid>\r
28     <Keyword>Win32Proj</Keyword>\r
29     <RootNamespace>libmonoruntime</RootNamespace>\r
30     <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>\r
31   </PropertyGroup>\r
32   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />\r
33   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">\r
34     <ConfigurationType>StaticLibrary</ConfigurationType>\r
35     <UseDebugLibraries>true</UseDebugLibraries>\r
36     <CharacterSet>Unicode</CharacterSet>\r
37     <PlatformToolset>v140</PlatformToolset>\r
38   </PropertyGroup>\r
39   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">\r
40     <ConfigurationType>StaticLibrary</ConfigurationType>\r
41     <UseDebugLibraries>true</UseDebugLibraries>\r
42     <CharacterSet>Unicode</CharacterSet>\r
43     <PlatformToolset>v140</PlatformToolset>\r
44   </PropertyGroup>\r
45   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">\r
46     <ConfigurationType>StaticLibrary</ConfigurationType>\r
47     <UseDebugLibraries>false</UseDebugLibraries>\r
48     <CharacterSet>Unicode</CharacterSet>\r
49     <PlatformToolset>v140</PlatformToolset>\r
50   </PropertyGroup>\r
51   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">\r
52     <ConfigurationType>StaticLibrary</ConfigurationType>\r
53     <UseDebugLibraries>false</UseDebugLibraries>\r
54     <CharacterSet>Unicode</CharacterSet>\r
55     <PlatformToolset>v140</PlatformToolset>\r
56   </PropertyGroup>\r
57   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />\r
58   <ImportGroup Label="ExtensionSettings">\r
59   </ImportGroup>\r
60   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
61     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
62     <Import Project="mono.props" />\r
63   </ImportGroup>\r
64   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">\r
65     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
66     <Import Project="mono.props" />\r
67   </ImportGroup>\r
68   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
69     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
70     <Import Project="mono.props" />\r
71   </ImportGroup>\r
72   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">\r
73     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />\r
74     <Import Project="mono.props" />\r
75   </ImportGroup>\r
76   <PropertyGroup Label="UserMacros" />\r
77   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
78     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
79     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
80     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
81   </PropertyGroup>\r
82   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
83     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
84     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
85     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
86   </PropertyGroup>\r
87   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\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     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
91   </PropertyGroup>\r
92   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
93     <OutDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\lib\$(Configuration)\</OutDir>\r
94     <IntDir>$(MONO_BUILD_DIR_PREFIX)$(Platform)\obj\$(ProjectName)$(MONO_TARGET_SUFFIX)\$(Configuration)\</IntDir>\r
95     <TargetName>$(ProjectName)$(MONO_TARGET_SUFFIX)</TargetName>\r
96   </PropertyGroup>\r
97   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
98     <ClCompile>\r
99       <PrecompiledHeader>\r
100       </PrecompiledHeader>\r
101       <WarningLevel>Level3</WarningLevel>\r
102       <Optimization>Disabled</Optimization>\r
103       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_LIB;$(GC_DEFINES);_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
104       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
105       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
106       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
107     </ClCompile>\r
108     <Link>\r
109       <SubSystem>Windows</SubSystem>\r
110       <GenerateDebugInformation>true</GenerateDebugInformation>\r
111     </Link>\r
112     <Lib />\r
113   </ItemDefinitionGroup>\r
114   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
115     <ClCompile>\r
116       <PrecompiledHeader>\r
117       </PrecompiledHeader>\r
118       <WarningLevel>Level3</WarningLevel>\r
119       <Optimization>Disabled</Optimization>\r
120       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_LIB;$(GC_DEFINES);WIN64;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
121       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
122       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
123       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
124     </ClCompile>\r
125     <Link>\r
126       <SubSystem>Windows</SubSystem>\r
127       <GenerateDebugInformation>true</GenerateDebugInformation>\r
128     </Link>\r
129     <Lib />\r
130   </ItemDefinitionGroup>\r
131   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
132     <ClCompile>\r
133       <WarningLevel>Level3</WarningLevel>\r
134       <PrecompiledHeader>\r
135       </PrecompiledHeader>\r
136       <IntrinsicFunctions>true</IntrinsicFunctions>\r
137       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_LIB;$(GC_DEFINES);NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
138       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
139       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
140       <StringPooling>true</StringPooling>\r
141     </ClCompile>\r
142     <Link>\r
143       <SubSystem>Windows</SubSystem>\r
144       <GenerateDebugInformation>true</GenerateDebugInformation>\r
145       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
146       <OptimizeReferences>true</OptimizeReferences>\r
147     </Link>\r
148     <Lib />\r
149   </ItemDefinitionGroup>\r
150   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
151     <ClCompile>\r
152       <WarningLevel>Level3</WarningLevel>\r
153       <PrecompiledHeader>\r
154       </PrecompiledHeader>\r
155       <IntrinsicFunctions>true</IntrinsicFunctions>\r
156       <PreprocessorDefinitions>WIN32;WIN32_LEAN_AND_MEAN;_LIB;$(GC_DEFINES);WIN64;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
157       <AdditionalIncludeDirectories>$(MONO_DIR);$(MONO_INCLUDE_DIR);$(LIBGC_CPPFLAGS_INCLUDE);$(GLIB_CFLAGS_INCLUDE);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
158       <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>\r
159       <StringPooling>true</StringPooling>\r
160     </ClCompile>\r
161     <Link>\r
162       <SubSystem>Windows</SubSystem>\r
163       <GenerateDebugInformation>true</GenerateDebugInformation>\r
164       <EnableCOMDATFolding>true</EnableCOMDATFolding>\r
165       <OptimizeReferences>true</OptimizeReferences>\r
166     </Link>\r
167     <Lib />\r
168   </ItemDefinitionGroup>\r
169   <Import Project="libmonoruntime.targets" />\r
170   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
171   <ImportGroup Label="ExtensionTargets">\r
172   </ImportGroup>\r
173 </Project>