diff options
author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2018-05-07 14:38:36 +0200 |
---|---|---|
committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2018-05-07 12:53:13 +0000 |
commit | 0efa2133113f0d012666d300e7aedd1c5e607a94 (patch) | |
tree | 2bf7e65af6d80e28ec4128009bb964b154ff2762 /build_scripts/options.py | |
parent | d5f650771cda6587f140dd15b6768188fb3ea347 (diff) |
Add option to skip docs generation
Adding option to avoid building the documentation.
Change-Id: Ia5595e6686c6e7d31e94818c1efb28238a3fbfc7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'build_scripts/options.py')
-rw-r--r-- | build_scripts/options.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_scripts/options.py b/build_scripts/options.py index 3d02b368f..6472c664d 100644 --- a/build_scripts/options.py +++ b/build_scripts/options.py @@ -52,6 +52,8 @@ OPTION_ONLYPACKAGE = has_option("only-package") OPTION_STANDALONE = has_option("standalone") OPTION_MAKESPEC = option_value("make-spec") OPTION_IGNOREGIT = has_option("ignore-git") +# don't generate documentation +OPTION_SKIP_DOCS = has_option("skip-docs") # don't include pyside2-examples OPTION_NOEXAMPLES = has_option("no-examples") # number of parallel build jobs |