mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
7c40f060cc
Use the multiprocessor compilation (/MP) option so that release build times can be cut down quite a bit. This will generate a brief warning for debug builds as such builds use /Gm, but otherwise the build will proceed normally albeit it would be slower. Also use the /d2Zi+ flag for Visual Studio 2010 (and later) builds to log more useful information in the .pdb files that are generated, to aid debugging release builds when necessary.
55 lines
1.9 KiB
XML
55 lines
1.9 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="coglbuilddefinesprops"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
|
|
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
|
|
InheritedPropertySheets=".\cogl-version-paths.vsprops"
|
|
>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
AdditionalIncludeDirectories="..\..\..;..\..\..\cogl;..\..\..\cogl\winsys;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include"
|
|
PreprocessorDefinitions="G_DISABLE_SINGLE_INCLUDES"
|
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
|
AdditionalOptions="/MP"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="glib-2.0.lib gobject-2.0.lib"
|
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
|
/>
|
|
<UserMacro
|
|
Name="BaseBuildDefines"
|
|
Value="_WIN32_WINNT=0x0500;COGL_ENABLE_DEBUG"
|
|
/>
|
|
<UserMacro
|
|
Name="LibBuildDefines"
|
|
Value="HAVE_CONFIG_H;COGL_COMPILATION;$(BaseBuildDefines)"
|
|
/>
|
|
<UserMacro
|
|
Name="ReleaseLibBuildDefines"
|
|
Value="$(LibBuildDefines);G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS"
|
|
/>
|
|
<UserMacro
|
|
Name="DebugLibBuildDefines"
|
|
Value="_DEBUG;$(LibBuildDefines);COGL_GL_DEBUG;COGL_OBJECT_DEBUG;COGL_HANDLE_DEBUG"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglBuildDefines"
|
|
Value="G_LOG_DOMAIN=\"Cogl\";COGL_HAS_WIN32_SUPPORT;COGL_BUILD_EXP;COGL_GL_LIBNAME=\"\";COGL_LOCALEDIR=\"/some/random/dir\""
|
|
/>
|
|
<UserMacro
|
|
Name="CoglPathBuildDefines"
|
|
Value="G_LOG_DOMAIN=\"CoglPath\""
|
|
/>
|
|
<UserMacro
|
|
Name="CoglPangoBuildDefines"
|
|
Value="G_LOG_DOMAIN=\"Cogl-Pango\""
|
|
/>
|
|
<UserMacro
|
|
Name="CoglAppAvoidForcedSDLLinkingDefines"
|
|
Value="SDL_MAIN_HANDLED"
|
|
/>
|
|
</VisualStudioPropertySheet>
|