summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2010-09-08 16:44:59 +1000
committerAlex <qt-info@nokia.com>2010-09-08 16:50:16 +1000
commit1d74101ecf05c3d5f0a8680d0b4e8ffa61d315a0 (patch)
tree381fe1ccb668831bce4b509c12fad9ac0073d990 /configure
parent18f142f18393750c22cfb06bd8d753fb93bb9198 (diff)
add configure options for public symbols only tests
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index a983c98abf..3d73ace3fd 100755
--- a/configure
+++ b/configure
@@ -89,6 +89,7 @@ QT_MOBILITY_PLUGINS=
QT_MOBILITY_EXAMPLES=
QT_MOBILITY_DEMOS=
BUILD_UNITTESTS=
+BUILD_PUBLIC_UNITTESTS=
BUILD_EXAMPLES=
BUILD_DEMOS=
BUILD_DOCS=yes
@@ -200,6 +201,9 @@ while [ "$#" -gt 0 ]; do
-tests)
BUILD_UNITTESTS="yes"
;;
+ -public-tests-only)
+ BUILD_PUBLIC_UNITTESTS="yes"
+ ;;
-demos)
BUILD_DEMOS="yes"
;;
@@ -429,6 +433,12 @@ else
echo "build_unit_tests = yes" >> "$CONFIG_IN"
fi
+if [ -z "$BUILD_PUBLIC_UNITTESTS" ]; then
+ echo "build_public_unit_tests = no" >> "$CONFIG_IN"
+else
+ echo "build_public_unit_tests = yes" >> "$CONFIG_IN"
+fi
+
if [ -z "$BUILD_EXAMPLES" ]; then
echo "build_examples = no" >> "$CONFIG_IN"
else