aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSergiy Dubovik <sergiy.dubovik@nokia.com>2010-03-27 15:53:27 +0200
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-03-27 15:54:34 +0200
commit3ba1eff56b4a32aaa8975efe0c1518d9d413c6b9 (patch)
tree96c288ccbb67006eb65393633794669c0ccf57d2 /configure
parente94cc4944645b04fe97fcdc825a0e5aa2226e2f1 (diff)
Changes: Enables precompiled headers. configure script enables it by default.
RevBy: Tomas
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 1e0cfa75..a2280505 100755
--- a/configure
+++ b/configure
@@ -55,6 +55,7 @@ CFG_OPENGL=yes
CFG_TESTABLE=no
CFG_COVERAGE=no
CFG_TIMESTAMPS=no
+CFG_PCH=yes
CFG_DEV=no
CFG_MINIMAL=no
CFG_BUILD_TESTS=no
@@ -205,6 +206,9 @@ while [ "$#" -gt 0 ]; do
timestamps)
CFG_TIMESTAMPS="$VAL"
;;
+ pch)
+ CFG_PCH="$VAL"
+ ;;
dev)
CFG_DEV="yes"
CFG_BUILD_TESTS="yes"
@@ -386,6 +390,7 @@ Configure options:
-testable .......... Enable the testability plugin interface in libdui
-timestamps ........ Enable time debug measurements in the code
-coverage .......... Enable code coverage calculation
+ -pch ............... Enable pre-compiled header
Additional options:
@@ -453,6 +458,10 @@ if [ "$CFG_COVERAGE" = "yes" ]; then
DUICONFIG_FEATURES="$DUICONFIG_FEATURES coverage"
fi
+if [ "$CFG_PCH" = "yes" ]; then
+ DUICONFIG_FEATURES="$DUICONFIG_FEATURES pch"
+fi
+
if [ "$CFG_MINIMAL" = "yes" ]; then
DUICONFIG_FEATURES="$DUICONFIG_FEATURES minimal"
fi