summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-02-26 15:13:54 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-03-01 09:07:17 (GMT)
commit3d50a8049b20e01b8a2cb9b954b14302dc6144c6 (patch)
tree80f65aef23c0aa17055fbe86ef1d174bb3f02e34 /doc/src/snippets/code
parent8113f2d94afd4e25caf12edf9716b7e0a82de1a8 (diff)
downloadQt-3d50a8049b20e01b8a2cb9b954b14302dc6144c6.zip
Qt-3d50a8049b20e01b8a2cb9b954b14302dc6144c6.tar.gz
Qt-3d50a8049b20e01b8a2cb9b954b14302dc6144c6.tar.bz2
Added .condition modifier to SUBDIRS.
In Symbian, it is now possible to set certain subdirs to be built only when specified define is true when bld.inf is parsed. For example, compile a subdir only when building for emulator: SUBDIRS += winscw_lib winscw_lib.condition = WINSCW Also improved SUBDIRS variable documentation; the modifiers were completely undocumented. Task-number: QT-3017 Reviewed-by: axis
Diffstat (limited to 'doc/src/snippets/code')
-rw-r--r--doc/src/snippets/code/doc_src_qmake-manual.qdoc14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/snippets/code/doc_src_qmake-manual.qdoc b/doc/src/snippets/code/doc_src_qmake-manual.qdoc
index 5a04420..e8c00d3 100644
--- a/doc/src/snippets/code/doc_src_qmake-manual.qdoc
+++ b/doc/src/snippets/code/doc_src_qmake-manual.qdoc
@@ -982,3 +982,17 @@ MYVARIABLES = LIB
addMMPRules(MYCONDITIONS, MYVARIABLES)
//! [148]
+
+//! [149]
+SUBDIRS += my_executable my_library
+my_executable.subdir = app
+my_executable.depends = my_library
+my_library.subdir = lib
+//! [149]
+
+//! [150]
+symbian {
+ SUBDIRS += emulator_dll
+ emulator_dll.condition = WINSCW
+}
+//! [150]