Add an option for reproducible library builds
This can be useful to the library packagers, notably under Debian. Closes #17000.
This commit is contained in:
@@ -67,6 +67,16 @@
|
||||
// Recommended setting: 0
|
||||
#define wxUSE_UNSAFE_WXSTRING_CONV 1
|
||||
|
||||
// If set to 1, enables "reproducible builds", i.e. build output should be
|
||||
// exactly the same if the same build is redone again. As using __DATE__ and
|
||||
// __TIME__ macros clearly makes the build irreproducible, setting this option
|
||||
// to 1 disables their use in the library code.
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 0
|
||||
#define wxUSE_REPRODUCIBLE_BUILD 0
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// debugging settings
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -1283,15 +1293,14 @@
|
||||
// Metafiles support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Windows supports the graphics format known as metafile which is, though not
|
||||
// portable, is widely used under Windows and so is supported by wxWin (under
|
||||
// Windows only, of course). Win16 (Win3.1) used the so-called "Window
|
||||
// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in
|
||||
// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by
|
||||
// default, WMFs will be used under Win16 and EMFs under Win32. This may be
|
||||
// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting
|
||||
// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile
|
||||
// in any metafile related classes at all.
|
||||
// Windows supports the graphics format known as metafile which, though not
|
||||
// portable, is widely used under Windows and so is supported by wxWidgets
|
||||
// (under Windows only, of course). Both the so-called "Window MetaFiles" or
|
||||
// WMFs, and "Enhanced MetaFiles" or EMFs are supported in wxWin and, by
|
||||
// default, EMFs will be used. This may be changed by setting
|
||||
// wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting wxUSE_ENH_METAFILE to 0.
|
||||
// You may also set wxUSE_METAFILE to 0 to not compile in any metafile
|
||||
// related classes at all.
|
||||
//
|
||||
// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS.
|
||||
//
|
||||
@@ -1374,7 +1383,7 @@
|
||||
|
||||
// Use wxDropTarget and wxDropSource classes for drag and drop (this is
|
||||
// different from "built in" drag and drop in wxTreeCtrl which is always
|
||||
// available). Requires wxUSE_DATAOBJ and wxUSE_OLE.
|
||||
// available). Requires wxUSE_DATAOBJ.
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
|
Reference in New Issue
Block a user