mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
aa62a5cb7f
Use the multipropcessor compilation (/MP) option, which can help cut down build times for release builds by quite a bit. A warning will be emitted for debug builds, due to the use of /Gm, but the build will otherwise proceed normally. Also use the /d2Zi+ compiler flag for MSVC 2010 (and later) builds, so that more useful info would be logged to the .pdb files that are generated during the build.
70 lines
4.0 KiB
XML
70 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="clutter-version-paths.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros">
|
|
<BaseWinBuildDef>_WIN32_WINNT=0x0501</BaseWinBuildDef>
|
|
<LibBuildDefines>HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;DLL_EXPORT</LibBuildDefines>
|
|
<DebugLibBuildDefines>$(LibBuildDefines);_DEBUG;CLUTTER_ENABLE_DEBUG</DebugLibBuildDefines>
|
|
<ReleaseLibBuildDefines>$(LibBuildDefines);G_DISABLE_ASSERT;G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS</ReleaseLibBuildDefines>
|
|
<ClutterBuildDefines>$(BaseWinBuildDef);G_LOG_DOMAIN="Clutter";CLUTTER_LOCALEDIR="../share/locale";CLUTTER_SYSCONFDIR="../etc";COGL_DISABLE_DEPRECATION_WARNINGS</ClutterBuildDefines>
|
|
<ClutterDisableDeprecationWarnings>CLUTTER_DISABLE_DEPRECATION_WARNINGS;GLIB_DISABLE_DEPRECATION_WARNINGS</ClutterDisableDeprecationWarnings>
|
|
<AvoidSDLMain>SDL_MAIN_HANDLED</AvoidSDLMain>
|
|
<CallyTestDefs>$(BaseWinBuildDef);PREFIXDIR="/some/dummy/dir";$(ClutterDisableDeprecationWarnings);$(AvoidSDLMain)</CallyTestDefs>
|
|
<TestProgDef>$(BaseWinBuildDef);TESTS_DATADIR="../share/clutter-$(ApiVersion)/data";TESTS_DATA_DIR="../share/clutter-$(ApiVersion)/data";$(AvoidSDLMain)</TestProgDef>
|
|
<TestPerfProgDef>$(TestProgDef);$(ClutterDisableDeprecationWarnings)</TestPerfProgDef>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>clutterbuilddefinesprops</_PropertySheetDisplayName>
|
|
<OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
|
|
<IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>..\..\..;..\..\..\clutter;$(GlibEtcInstallRoot)\include\cogl-1.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\json-glib-1.0;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
|
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
<AdditionalOptions>/d2Zi+ %(AdditionalOptions)</AdditionalOptions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>cogl-pango-1.0.lib;cogl-path-1.0.lib;cogl-1.0.lib;glib-2.0.lib;gobject-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<BuildMacro Include="BaseWinBuildDef">
|
|
<Value>$(BaseWinBuildDef)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="LibBuildDefines">
|
|
<Value>$(LibBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="DebugLibBuildDefines">
|
|
<Value>$(DebugLibBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="ReleaseLibBuildDefines">
|
|
<Value>$(ReleaseLibBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="ClutterBuildDefines">
|
|
<Value>$(ClutterBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="ClutterDisableDeprecationWarnings">
|
|
<Value>$(ClutterDisableDeprecationWarnings)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="AvoidSDLMain">
|
|
<Value>$(AvoidSDLMain)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CallyTestDefs">
|
|
<Value>$(CallyTestDefs)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="TestProgDef">
|
|
<Value>$(TestProgDef)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="TestPerfProgDef">
|
|
<Value>$(TestPerfProgDef)</Value>
|
|
</BuildMacro>
|
|
</ItemGroup>
|
|
</Project>
|