Tidy Up the glib MSVC Project

Move the per-source define/undefine cflags into the property sheets, and
apply the cflags for the bundled PCRE sources to the PCRE sources only
This commit is contained in:
Chun-wei Fan
2014-01-06 12:21:46 +08:00
parent 16c41f0c36
commit 940b3c2250
4 changed files with 247 additions and 165 deletions

View File

@@ -4,7 +4,9 @@
<Import Project="glib-version-paths.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<GLibBundledPCREDefines>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</GLibBundledPCREDefines>
<GLibBundledPCREDefines>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"</GLibBundledPCREDefines>
<GLibBundledPCREUndefs>-UBSR_ANYCRLF -UEBCDIC</GLibBundledPCREUndefs>
<LocalCharsetDefs>LIBDIR="blah"</LocalCharsetDefs>
<DllExportDefines>DLL_EXPORT</DllExportDefines>
<UseSystemPCREDefines>USE_SYSTEM_PCRE</UseSystemPCREDefines>
<GLibInBuildMacro>GLIB_COMPILATION</GLibInBuildMacro>
@@ -36,6 +38,12 @@
<BuildMacro Include="GLibBundledPCREDefines">
<Value>$(GLibBundledPCREDefines)</Value>
</BuildMacro>
<BuildMacro Include="GLibBundledPCREUndefs">
<Value>$(GLibBundledPCREUndefs)</Value>
</BuildMacro>
<BuildMacro Include="LocalCharsetDefs">
<Value>$(LocalCharsetDefs)</Value>
</BuildMacro>
<BuildMacro Include="DllExportDefines">
<Value>$(DllExportDefines)</Value>
</BuildMacro>