qmake added TINY_CCACHE_BUILD to variables.pri

- updated docs
This commit is contained in:
silverqx
2023-09-07 12:07:43 +02:00
parent bfb3f123c2
commit bf64d1e1e4
4 changed files with 8 additions and 1 deletions

View File

@@ -817,8 +817,9 @@ These variables will be set after the configuration is done:
| Variable Name | Description |
| ----------------------------- | ----------- |
| `TINY_BUILD_SUBFOLDER` | Folder by release type if `CONFIG+=debug_and_release` is defined <small>(/debug, /release, or an empty string)</small>. |
| `TINY_CCACHE_BUILD` | To correctly link `ccache` build against a `ccache` build <small>(_ccache or an empty string)</small>. |
| `TINY_MSVC_VERSION` | The `msvc` compiler string <small>(MSVC2022 or MSVC2019)</small>. |
| `TINY_QT_VERSION_UNDERSCORED` | Underscored Qt version <small>(eg. 6_5_2)</small>. |
| `TINY_QT_VERSION_UNDERSCORED` | Underscored `Qt` version <small>(eg. 6_5_2)</small>. |
| `TINY_RELEASE_TYPE_CAMEL` | Build type string <small>(Debug, Profile, or Release)</small>. |
| `TINY_VCPKG_INCLUDE` | Path to the `vcpkg` `include` folder <small>(vcpkg/installed/&lt;triplet&gt;/include/)</small>. |

View File

@@ -25,6 +25,7 @@
# These variables will be set after the configuration is done:
#
# - TINY_BUILD_SUBFOLDER - Folder by release type if CONFIG+=debug_and_release is defined (/debug, /release, or an empty string).
# - TINY_CCACHE_BUILD - To correctly link ccache build against a ccache build (_ccache or an empty string).
# - TINY_MSVC_VERSION - Msvc compiler string (MSVC2022 or MSVC2019).
# - TINY_QT_VERSION_UNDERSCORED - Underscored Qt version (eg. 6_5_2).
# - TINY_RELEASE_TYPE_CAMEL - Build type string (Debug, Profile, or Release).

View File

@@ -25,6 +25,7 @@
# These variables will be set after the configuration is done:
#
# - TINY_BUILD_SUBFOLDER - Folder by release type if CONFIG+=debug_and_release is defined (/debug, /release, or an empty string).
# - TINY_CCACHE_BUILD - To correctly link ccache build against a ccache build (_ccache or an empty string).
# - TINY_MSVC_VERSION - Msvc compiler string (MSVC2022 or MSVC2019).
# - TINY_QT_VERSION_UNDERSCORED - Underscored Qt version (eg. 6_5_2).
# - TINY_RELEASE_TYPE_CAMEL - Build type string (Debug, Profile, or Release).

View File

@@ -33,3 +33,7 @@ debug_and_release {
TINY_BUILD_SUBFOLDER = $$quote(/debug)
}
else: TINY_BUILD_SUBFOLDER =
# To correctly link ccache build against a ccache build (_ccache or an empty string)
contains(OUT_PWD, .*ccache.*): TINY_CCACHE_BUILD = _ccache
else: TINY_CCACHE_BUILD =