mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-30 17:36:16 +01:00
951fd642dc
The latest upstream libffi is getting bit-rotten with the Windows/MSVC builds, and since we are eventually moving to a Meson-based build system, make use of the Centricular fork of libffi[1], which is better maintained and tested for builds on Windows, with the use of DLLs over static libraries and elimination of awkward build flags that we had to use for GObject. [1]: https://github.com/centricular/libffi
79 lines
2.2 KiB
XML
79 lines
2.2 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"
|
|
AdditionalOptions="/MP"
|
|
/>
|
|
<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;G_LOG_DOMAIN=\"GLib-GRegex\""
|
|
/>
|
|
<UserMacro
|
|
Name="GlibBundledPCREExportDefines"
|
|
Value="PCRE_EXP_DECL=__declspec(dllexport)extern;PCRE_EXP_DEFN="
|
|
/>
|
|
<UserMacro
|
|
Name="GLibBundledPCREUndefs"
|
|
Value="-UBSR_ANYCRLF -UEBCDIC"
|
|
/>
|
|
<UserMacro
|
|
Name="LocalCharsetDefs"
|
|
Value="LIBDIR="blah""
|
|
/>
|
|
<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=\"GLib\""
|
|
/>
|
|
<UserMacro
|
|
Name="GThreadBuildDefines"
|
|
Value="G_LOG_DOMAIN=\"GThread\""
|
|
/>
|
|
<UserMacro
|
|
Name="GModuleBuildDefines"
|
|
Value="G_LOG_DOMAIN=\"GModule\""
|
|
/>
|
|
<UserMacro
|
|
Name="GObjectBuildDefines"
|
|
Value="GOBJECT_COMPILATION;$(DllExportDefines);G_LOG_DOMAIN=\"GLib-GObject\""
|
|
/>
|
|
<UserMacro
|
|
Name="GioBuildDefines"
|
|
Value="$(GioInBuildMacro);G_LOG_DOMAIN=\"GLib-GIO\";$(DllExportDefines)"
|
|
/>
|
|
<UserMacro
|
|
Name="WindowsNetworkingLibs"
|
|
Value="ws2_32.lib shlwapi.lib dnsapi.lib iphlpapi.lib"
|
|
/>
|
|
</VisualStudioPropertySheet>
|