diff options
author | hjk <hjk@qt.io> | 2021-08-24 08:34:32 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-08-24 16:27:33 +0000 |
commit | 22ecef044476b6dc2a4fff405c6bfdda7c4c9578 (patch) | |
tree | a00cf525b1823785d2e493292b35342051d36954 /src/plugins/projectexplorer/buildconfiguration.h | |
parent | cd3c2fdc5b908e85d4093cb648b0fdf10a1455d8 (diff) |
ProjectExplorer: Streamline access to buildDirectoryTemplate data
There's only one kind of use, in the context of BuildConfiguration.
Change-Id: I09628ff443ef08e28738125a614c17d5d979189b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/buildconfiguration.h')
-rw-r--r-- | src/plugins/projectexplorer/buildconfiguration.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/buildconfiguration.h b/src/plugins/projectexplorer/buildconfiguration.h index 7bf743367f..d3df3e21ea 100644 --- a/src/plugins/projectexplorer/buildconfiguration.h +++ b/src/plugins/projectexplorer/buildconfiguration.h @@ -110,6 +110,15 @@ public: static QString buildTypeName(BuildType type); + enum SpaceHandling { KeepSpace, ReplaceSpaces }; + static Utils::FilePath buildDirectoryFromTemplate(const Utils::FilePath &projectDir, + const Utils::FilePath &mainFilePath, + const QString &projectName, + const Kit *kit, + const QString &bcName, + BuildType buildType, + SpaceHandling spaceHandling = ReplaceSpaces); + bool isActive() const; void updateCacheAndEmitEnvironmentChanged(); |