diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-02-26 11:04:00 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-03-25 16:31:39 +0100 |
commit | 9f444ce5335d0e7a0978879d9441975de549e20b (patch) | |
tree | aa8d8b3180127aafca638621f4b8ead4c6b121ca /qmake/CMakeLists.txt | |
parent | 9145650302d3cfe7df0fbc2a11f5d8f5f867897d (diff) |
Add a way to install versioned hard-links for tools
Add the option argument INSTALL_VERSIONED_LINK to qt_internal_add_tool
and qt_internal_add_app. For tools/apps with this argument we create an
install rule that creates a versioned hard link. For example, for
bin/qmake we create bin/qmake6.
Note that this only applies to prefix builds.
Apply this argument to qmake.
The qt_internal_add_app change is necessary for qtdiag and in qttools.
Task-number: QTBUG-89170
Change-Id: Id32d6055544c475166f4d854aaeb6292fbb5fbb5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit c19d957f45fa27f61b5ecc566f8dbc19f12a44c3)
Diffstat (limited to 'qmake/CMakeLists.txt')
-rw-r--r-- | qmake/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt index b89cf25f10..688314b736 100644 --- a/qmake/CMakeLists.txt +++ b/qmake/CMakeLists.txt @@ -47,6 +47,7 @@ qt_get_tool_target_name(target_name qmake) qt_internal_add_tool(${target_name} TOOLS_TARGET Core # special case USER_FACING + INSTALL_VERSIONED_LINK SOURCES cachekeys.h generators/mac/pbuilder_pbx.cpp generators/mac/pbuilder_pbx.h |