From a20ff140f15a639756be94cd39ab9019bdd22b46 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 27 Nov 2014 22:23:31 +0000 Subject: [PATCH] Add gtk3 build support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/tools/build-wxwidgets.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/tools/build-wxwidgets.py b/build/tools/build-wxwidgets.py index 6bc07808cb..c767b72415 100755 --- a/build/tools/build-wxwidgets.py +++ b/build/tools/build-wxwidgets.py @@ -201,6 +201,7 @@ def main(scriptName, args): "jobs" : (defJobs, "Number of jobs to run at one time in make. Default: %s" % defJobs), "install" : (False, "Install the toolkit to the installdir directory, or the default dir."), "installdir" : ("", "Directory where built wxWidgets will be installed"), + "gtk3" : (False, "On Linux build for gtk3 (default gtk2)"), "mac_distdir" : (None, "If set on Mac, will create an installer package in the specified dir."), "mac_universal_binary" : ("", "Comma separated list of architectures to include in the Mac universal binary"), @@ -263,6 +264,9 @@ def main(scriptName, args): if options.osx_cocoa: configure_opts.append("--with-osx_cocoa") + + if options.gtk3: + configure_opts.append("--with-gtk=3") wxpy_configure_opts = [ "--with-opengl",