@@ -34,9 +34,6 @@ None of these are enabled or set by default, unless stated otherwise.
34
34
* ` LIB_SUFFIX_64=suffix ` : suffix for library install directory
35
35
* used when building for 64-bit platforms
36
36
* overrides general ` LIB_SUFFIX ` when building for 64-bit platforms
37
- * ` QT_PACKAGE_PREFIX=Qt5 ` : sets the prefix for Qt packages, by default ` Qt5 `
38
- * ` KF_PACKAGE_PREFIX=KF5 ` : sets the prefix for KDE Frameworks packages, by
39
- default `KF5``
40
37
* ` SHELL_COMPLETION_ENABLED=ON/OFF ` : enables shell completion in general
41
38
(enabled by default)
42
39
* ` BASH_COMPLETION_ENABLED=ON/OFF ` : enables Bash completion (enabled by
@@ -74,7 +71,7 @@ None of these are enabled or set by default, unless stated otherwise.
74
71
* coverage report is stored in build directory
75
72
* ` ENABLE_INSTALL_TARGETS=ON/OFF ` : enables creation of install targets (enabled
76
73
by default)
77
- * ` ENABLE_ESCAPE_CODES_BY_DEAULT ` : enables use of escape codes for formatted
74
+ * ` ENABLE_ESCAPE_CODES_BY_DEAULT=ON/OFF ` : enables use of escape codes for formatted
78
75
output by default
79
76
* enabled by default
80
77
* see ApplicationUtilities::NoColorArgument and EscapeCodes::enabled
@@ -148,7 +145,14 @@ the relevant CMake cache variable on the CMake invocation.
148
145
available and optional
149
146
* ` QUICK_GUI=ON/OFF ` : enables Qt Quick GUI for projects where it is available
150
147
and optional
151
- * ` BUILTIN_TRANSLATIONS=ON/OFF ` : enables built-in translations in applications
148
+ * ` QT_PACKAGE_PREFIX=Qt5 ` : sets the prefix for Qt packages, by default ` Qt5 `
149
+ * use ` QT_PACKAGE_PREFIX=Qt6 ` to build against Qt 6
150
+ * ` KF_PACKAGE_PREFIX=KF5 ` : sets the prefix for KDE Frameworks packages, by
151
+ default ` KF5 `
152
+ * ` ENABLE_QT_TRANSLATIONS=ON/OFF ` : enables translations for Qt applications,
153
+ enabled by default
154
+ * ` BUILTIN_TRANSLATIONS=ON/OFF ` : enables built-in translations instead of
155
+ installing translations as separate files
152
156
* ` BUILTIN_ICON_THEMES=breeze;breeze-dark;... ` : specifies icon themes to
153
157
built-in
154
158
* ` BUILTIN_ICON_THEMES_IN_LIBRARIES=breeze;breeze-dark;... ` : same as above but
@@ -278,13 +282,16 @@ controlled by the variables documented above. Most important modules are:
278
282
` ApplicationUtilities::ArgumentParser ` class of course
279
283
* ` TestTarget ` : adds the test target ` check `
280
284
* ` check ` target is * not* required by target ` all `
281
- * test target uses files specified in ` TEST_HEADER_FILES ` /` TEST_SRC_FILES `
285
+ * test target is comprised of files specified in ` TEST_HEADER_FILES ` /` TEST_SRC_FILES `
282
286
variables
283
287
* test target will automatically link against ` cppunit ` which is the test
284
- framework used by all my projects; set ` META_NO_CPP_UNIT=OFF ` in the project
288
+ framework used by most my projects; set ` META_NO_CPP_UNIT=OFF ` in the project
285
289
file to prevent this
290
+ * ` TestUtilities ` : provides the ` configure_test_target ` macro for creating test
291
+ targets manually
292
+ * see ` CMakeLists.txt ` of ` qtutilities ` for an example
286
293
* ` AndroidApk ` : adds a target to create an APK package for Android using
287
- androiddeployqt
294
+ androiddeployqt, ignored on other platforms
288
295
* ` Doxygen ` : adds a target to generate documentation using Doxygen
289
296
* ` WindowsResources ` : handles creation of Windows resources to set application
290
297
meta data and icon, ignored on other platforms
0 commit comments