summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2010-06-07 15:35:12 +1000
committerAlex <qt-info@nokia.com>2010-06-07 15:35:12 +1000
commit91aa86ce3e502882ad3347b5876282e1dfc29879 (patch)
treecd8fd6347a4b7477bcd4e4f3fae03064483eb454 /configure
parent162309abe5249746ec2d1bf41cfe43b6246b0342 (diff)
first demo separation
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 47f82ac2eb..6c714d6289 100755
--- a/configure
+++ b/configure
@@ -88,6 +88,7 @@ QT_MOBILITY_BIN=
QT_MOBILITY_PLUGINS=
BUILD_UNITTESTS=
BUILD_EXAMPLES=
+BUILD_DEMOS=
BUILD_DOCS=yes
BUILD_TOOLS=yes
RELEASEMODE=
@@ -129,6 +130,7 @@ usage()
echo " Note, this adds test symbols to all libraries"
echo " and should not be used for release builds."
echo "-examples ......... Build example applications"
+ echo "-demos ............ Build demo applications"
echo "-no-docs .......... Do not build documentation (build by default)"
echo "-no-tools ......... Do not build tools (build by default)"
echo "-modules <list> ... Restrict list of modules to build (default all supported)"
@@ -181,6 +183,9 @@ while [ "$#" -gt 0 ]; do
-tests)
BUILD_UNITTESTS="yes"
;;
+ -demos)
+ BUILD_DEMOS="yes"
+ ;;
-examples)
BUILD_EXAMPLES="yes"
;;
@@ -383,6 +388,12 @@ else
echo "build_examples = yes" >> "$CONFIG_IN"
fi
+if [ -z "$BUILD_DEMOS" ]; then
+ echo "build_demos = no" >> "$CONFIG_IN"
+else
+ echo "build_demos = yes" >> "$CONFIG_IN"
+fi
+
if [ -z "$BUILD_DOCS" ]; then
echo "build_docs = no" >> "$CONFIG_IN"
else