mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -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.
63 lines
2.5 KiB
XML
63 lines
2.5 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="clutterbuilddefinesprops"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
|
|
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
|
|
InheritedPropertySheets=".\clutter-version-paths.vsprops"
|
|
>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
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;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include"
|
|
PreprocessorDefinitions="G_DISABLE_SINGLE_INCLUDES"
|
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
|
AdditionalOptions="/MP"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="cogl-pango-1.0.lib cogl-path-1.0.lib cogl-1.0.lib glib-2.0.lib gobject-2.0.lib"
|
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
|
/>
|
|
<UserMacro
|
|
Name="BaseWinBuildDef"
|
|
Value="_WIN32_WINNT=0x0501"
|
|
/>
|
|
<UserMacro
|
|
Name="ClutterBuildDefines"
|
|
Value="$(BaseWinBuildDef);G_LOG_DOMAIN=\"Clutter\";CLUTTER_LOCALEDIR=\"../share/locale\";CLUTTER_SYSCONFDIR=\"../etc\";COGL_DISABLE_DEPRECATION_WARNINGS"
|
|
/>
|
|
<UserMacro
|
|
Name="ClutterDisableDeprecationWarnings"
|
|
Value="CLUTTER_DISABLE_DEPRECATION_WARNINGS;GLIB_DISABLE_DEPRECATION_WARNINGS"
|
|
/>
|
|
<UserMacro
|
|
Name="AvoidSDLMain"
|
|
Value="SDL_MAIN_HANDLED"
|
|
/>
|
|
<UserMacro
|
|
Name="CallyTestDefs"
|
|
Value="$(BaseWinBuildDef);PREFIXDIR=\"/some/dummy/dir\";$(ClutterDisableDeprecationWarnings);$(AvoidSDLMain)"
|
|
/>
|
|
<UserMacro
|
|
Name="TestProgDef"
|
|
Value="$(BaseWinBuildDef);TESTS_DATADIR=\"../share/clutter-$(ApiVersion)/data\";TESTS_DATA_DIR=\"../share/clutter-$(ApiVersion)/data\";$(AvoidSDLMain)"
|
|
/>
|
|
<UserMacro
|
|
Name="TestPerfProgDef"
|
|
Value="$(TestProgDef);$(ClutterDisableDeprecationWarnings)"
|
|
/>
|
|
<UserMacro
|
|
Name="LibBuildDefines"
|
|
Value="HAVE_CONFIG_H;CLUTTER_COMPILATION;COGL_ENABLE_EXPERIMENTAL_API;DLL_EXPORT"
|
|
/>
|
|
<UserMacro
|
|
Name="DebugLibBuildDefines"
|
|
Value="$(LibBuildDefines);_DEBUG;CLUTTER_ENABLE_DEBUG"
|
|
/>
|
|
<UserMacro
|
|
Name="ReleaseLibBuildDefines"
|
|
Value="$(LibBuildDefines);G_DISABLE_ASSERT;G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS"
|
|
/>
|
|
</VisualStudioPropertySheet>
|