From e72613000edc46f3f2b354a698202ac0a4a32fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Wed, 3 Oct 2018 14:14:23 +0200 Subject: wasm: skip examples by default This removes the need for specifying "-nomake examples" on the configure line. We are using static builds; building all of the examples is too space and time consuming (especially time). Change-Id: Iff23239ca7304b1d1cf734c8bf69ad3f8ef31844 Reviewed-by: Oswald Buddenhagen Reviewed-by: Lorn Potter --- config_help.txt | 3 ++- configure.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config_help.txt b/config_help.txt index 5b32eb183f..44dccfb8da 100644 --- a/config_help.txt +++ b/config_help.txt @@ -213,7 +213,8 @@ Component selection: [libs and examples, also tools if not cross-building, also tests if -developer-build] -nomake ....... Exclude from the list of parts to be built. - -compile-examples .... When unset, install only the sources of examples [yes] + -compile-examples .... When unset, install only the sources of examples + [no on WebAssembly, otherwise yes] -gui ................. Build the Qt GUI module and dependencies [yes] -widgets ............. Build the Qt Widgets module and dependencies [yes] -no-dbus ............. Do not build the Qt D-Bus module diff --git a/configure.json b/configure.json index 522bd34e9b..7c79b5c582 100644 --- a/configure.json +++ b/configure.json @@ -1203,6 +1203,7 @@ }, "compile_examples": { "label": "Compile examples", + "autoDetect": "!config.wasm", "output": [ "privateConfig" ] }, "incredibuild_xge": { -- cgit v1.2.3