diff options
author | Alex <qt-info@nokia.com> | 2010-09-08 16:44:59 +1000 |
---|---|---|
committer | Alex <qt-info@nokia.com> | 2010-09-08 16:50:16 +1000 |
commit | 1d74101ecf05c3d5f0a8680d0b4e8ffa61d315a0 (patch) | |
tree | 381fe1ccb668831bce4b509c12fad9ac0073d990 /configure | |
parent | 18f142f18393750c22cfb06bd8d753fb93bb9198 (diff) |
add configure options for public symbols only tests
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |