CMake: Document -init-submodules option of the super configure script

And mention the init-repository --help section for additional options
that can be passed to adjust the cloning process.

This should only be merged after the qt5.git change is merged.

Task-number: QTBUG-120030
Change-Id: I16c36f8d5d5d75521ca3f4a476dd921537f9db9c
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Alexandru Croitor 2024-02-13 18:48:03 +01:00
parent 7b6289a035
commit c88b86fcc4

View File

@ -202,6 +202,15 @@ Component selection:
-skip-examples <repo>[,<repo>] ... Skip building examples for one or more
repositories. The list should be separated with commas.
e.g. -skip-examples qtimageformats,qtsvg
-init-submodules ..... When configure is called from the qt git super module,
it will automatically clone and initialize the
repositories specified by the -submodules option. When
no -submodules are specified, and no existing
submodules are cloned, a default set of submodules
will be initialized. To adjust other aspects of the
cloning process, check the init-repository --help
output for additional options that can be passed
to configure.
-make <part> ......... Add <part> to the list of parts to be built.
Specifying this option clears the default list first.
(allowed values: libs, tools, examples, tests,