- 
    
 User Story
        
     - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    None
 - 
    None
 
- 
        7cb2bbd9e7 (qt/qtbase/dev) 7cb2bbd9e7 (qt/tqtc-qtbase/dev) b7b8c85778 (qt/qtbase/6.3) b7b8c85778 (qt/tqtc-qtbase/6.3) 9c4b0a7c0f (qt/qtbase/6.2) 9c4b0a7c0f (qt/tqtc-qtbase/6.2)
 
The top level build system has the QT_BUILD_SUBMODULES variable which can be set at configure time to select which modules the configure run should include. E.g.
$ cd dev-small-build $ ../dev/configure -developer-build -- -DQT_BUILD_SUBMODULES=qtdeclarative
Since QT_BUILD_SUBMODULES is poorly named (this is a configure setting, not a build setting; what modules and targets to build is specified when calling ninja), and since building only a subset of a top level source tree a common thing to do, it would be good to have proper command line support for this variable, similar to the -skip switch:
$ cd dev-small-build $ ../dev/configure -developer-build -submodules=qtdeclarative
including some documentation
-submodules <repo> ......... Include the listed repositories from the build.
Alternatives to the name of the option:
- -repos or -repositories?
 - -modules - not great because the modules are called Core, Widgets, Quick