Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Honor -nomake for examples and demos
Don't build or install demos and examples when they are disabled.

Reviewed-by: TrustMe
  • Loading branch information
Eckhart Koppen committed May 13, 2011
1 parent a7fe708 commit 61c0b5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qtdeclarative.pro
Expand Up @@ -10,10 +10,16 @@ module_qtdeclarative_tools.depends = module_qtdeclarative_src
module_qtdeclarative_demos.subdir = demos
module_qtdeclarative_demos.target = module-qtdeclarative-demos
module_qtdeclarative_demos.depends = module_qtdeclarative_src
!contains(QT_BUILD_PARTS,demos) {
module_qtdeclarative_demos.CONFIG = no_default_target no_default_install
}

module_qtdeclarative_examples.subdir = examples/declarative
module_qtdeclarative_examples.target = module-qtdeclarative-examples
module_qtdeclarative_examples.depends = module_qtdeclarative_src
!contains(QT_BUILD_PARTS,examples) {
module_qtdeclarative_examples.CONFIG = no_default_target no_default_install
}

module_qtdeclarative_tests.subdir = tests
module_qtdeclarative_tests.target = module-qtdeclarative-tests
Expand Down

0 comments on commit 61c0b5c

Please sign in to comment.