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