glib/build/win32/vs9/glib-build-defines.vsprops
Chun-wei Fan 3c4ee831f7 MSVC 2008 Projects: Split the Property Sheets
Split the property sheet into four sheets, to make maintainance of the
build files easier, and also to prepare for using autotools to fill in
the parts for the "installation" of headers.

Also put more of the items that are repeated in the projects into the
property sheets, also to improve ease of maintenance.

Updates to the Visual Studio 2010 projects will come later, as the script
to update them to Visual Studio 2012 must also be taken into account during'
the process.
2013-08-21 16:05:47 +08:00

66 lines
2.0 KiB
XML

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="glibbuilddefinesprops"
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)\"
InheritedPropertySheets=".\glib-version-paths.vsprops"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include"
PreprocessorDefinitions="HAVE_CONFIG_H"
ForcedIncludeFiles="msvc_recommended_pragmas.h"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="intl.lib"
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
/>
<UserMacro
Name="GLibBundledPCREDefines"
Value="PCRE_STATIC;LINK_SIZE=2;MAX_NAME_SIZE=32;MAX_NAME_COUNT=10000;NEWLINE=-1;POSIX_MALLOC_THRESHOLD=10;MATCH_LIMIT=10000000;MATCH_LIMIT_RECURSION=10000000;SUPPORT_UCP;SUPPORT_UTF;SUPPORT_UTF8"
/>
<UserMacro
Name="DllExportDefines"
Value="DLL_EXPORT"
/>
<UserMacro
Name="UseSystemPCREDefines"
Value="USE_SYSTEM_PCRE"
/>
<UserMacro
Name="GLibInBuildMacro"
Value="GLIB_COMPILATION"
/>
<UserMacro
Name="GioInBuildMacro"
Value="GIO_COMPILATION"
/>
<UserMacro
Name="GLibBuildDefines"
Value="$(GLibInBuildMacro);$(DllExportDefines);G_LOG_DOMAIN=\&quot;GLib\&quot;"
/>
<UserMacro
Name="GThreadBuildDefines"
Value="G_LOG_DOMAIN=\&quot;GThread\&quot;"
/>
<UserMacro
Name="GModuleBuildDefines"
Value="G_LOG_DOMAIN=\&quot;GModule\&quot;"
/>
<UserMacro
Name="GObjectBuildDefines"
Value="GOBJECT_COMPILATION;$(DllExportDefines);G_LOG_DOMAIN=\&quot;GLib-GObject\&quot;;FFI_BUILDING"
/>
<UserMacro
Name="GioBuildDefines"
Value="$(GioInBuildMacro);G_LOG_DOMAIN=\&quot;GLib-GIO\&quot;;$(DllExportDefines)"
/>
<UserMacro
Name="WindowsNetworkingLibs"
Value="ws2_32.lib shlwapi.lib dnsapi.lib iphlpapi.lib"
/>
</VisualStudioPropertySheet>