lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets part


From: Vadim Zeitlin
Subject: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts
Date: Wed, 4 Mar 2015 01:45:56 +0100

 Hello,

 I've recently mentioned in passing that install_wx.make could avoid
building some components of wxWidgets which were not used by lmi. As I had
to rebuild wx with gcc 3.4 once more myself today, I decided to change it
myself just to speed up the build, so here is the resulting trivial patch:

---------------------------------- >8 --------------------------------------
diff --git a/install_wx.make b/install_wx.make
index fa2cc60..01e1dcc 100644
--- a/install_wx.make
+++ b/install_wx.make
@@ -80,7 +80,13 @@ config_options = \
   --disable-compat24 \
   --disable-fswatcher \
   --disable-gif \
+  --disable-aui \
+  --disable-mediactrl \
+  --disable-propgrid \
+  --disable-ribbon \
+  --disable-richtext \
   --disable-stc \
+  --disable-webview \
   --disable-threads \
   --enable-monolithic \
   --enable-shared \
@@ -90,6 +96,7 @@ config_options = \
   --without-libjpeg \
   --without-libtiff \
   --without-regex \
+  --without-subdirs \
        AR='$(mingw_bin_dir)/ar' \
        AS='$(mingw_bin_dir)/as' \
        CC='$(mingw_bin_dir)/gcc $(ggc_flags)' \
---------------------------------- >8 --------------------------------------

 It's not a problem for me to keep it locally, so you absolutely don't need
to apply it if you think it's not worth it, but I just thought that you
might enjoy faster build times (and smaller DLLs) too. Additionally, it is
somewhat strange to disable wxStyledTextCtrl (the existing "--disable-stc")
but not the other similar components, so this patch makes things more
consistent as well.

 Regards,
VZ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]