CMake: Add missing qt_cmdline.cmake files

Generated with configurejson2cmake.py

Change-Id: Ib07d883b94462f6e132f36c24e763b31309aaeed
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2021-04-15 12:33:07 +02:00
parent 22e3b6d229
commit 7577a73325
4 changed files with 29 additions and 0 deletions

21
configure.cmake Normal file
View File

@ -0,0 +1,21 @@
#### Inputs
#### Libraries
#### Tests
#### Features
qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC)
qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC)
qt_extra_definition("QT_VERSION_MINOR" ${PROJECT_VERSION_MINOR} PUBLIC)
qt_extra_definition("QT_VERSION_PATCH" ${PROJECT_VERSION_PATCH} PUBLIC)

2
qt_cmdline.cmake Normal file
View File

@ -0,0 +1,2 @@
qt_commandline_subconfig(src/quickcontrols2)
qt_commandline_subconfig(src/quicktemplates2)

View File

@ -0,0 +1,6 @@
qt_commandline_option(style-fusion TYPE boolean NAME quickcontrols2-fusion)
qt_commandline_option(style-imagine TYPE boolean NAME quickcontrols2-imagine)
qt_commandline_option(style-material TYPE boolean NAME quickcontrols2-material)
qt_commandline_option(style-universal TYPE boolean NAME quickcontrols2-universal)
qt_commandline_option(style-macos TYPE boolean NAME quickcontrols2-macos)
qt_commandline_option(style-windows TYPE boolean NAME quickcontrols2-windows)

View File