d42cb2a4d3
Define DLL_EXPORT when we are building the Clutter DLL, to ensure that constants are exported properly. https://bugzilla.gnome.org/show_bug.cgi?id=726762
58 lines
2.3 KiB
XML
58 lines
2.3 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"
|
|
/>
|
|
<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="CallyTestDefs"
|
|
Value="$(BaseWinBuildDef);PREFIXDIR=\"/some/dummy/dir\";$(ClutterDisableDeprecationWarnings)"
|
|
/>
|
|
<UserMacro
|
|
Name="TestProgDef"
|
|
Value="$(BaseWinBuildDef);TESTS_DATADIR=\"../share/clutter-$(ApiVersion)/data\";TESTS_DATA_DIR=\"../share/clutter-$(ApiVersion)/data\""
|
|
/>
|
|
<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>
|