diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2021-01-11 15:49:30 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2021-01-15 12:34:22 +0100 |
commit | 66918b6492297e7750621d85d4372bf45e81a86d (patch) | |
tree | 161146a97b8863432ddedb629b700f479189d4c8 /configure.cmake | |
parent | bb26d975c157a70d93e42ddd2748f81440186cf5 (diff) |
Qt6: Port module to cmake build system
Fixes: QTBUG-89767
Fixes: QTBUG-89878
Change-Id: I860ae7b9dbb0f79e9e952d594b9737d4c452579a
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake new file mode 100644 index 00000000..53e3f110 --- /dev/null +++ b/configure.cmake @@ -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) |