summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorMartin Duffy <martin.duffy@kitware.com>2024-06-20 16:59:55 (GMT)
committerBrad King <brad.king@kitware.com>2024-07-03 13:34:41 (GMT)
commit5b3fbd5f6454a943c8cb8c5c90c05b5d87e2d966 (patch)
treebad65473aec4894af55d5441246b8fe90bd5323f /Source/cmSystemTools.h
parent73f368b3c1b85d5e2abe2ad49f6e856b69600a39 (diff)
downloadCMake-5b3fbd5f6454a943c8cb8c5c90c05b5d87e2d966.zip
CMake-5b3fbd5f6454a943c8cb8c5c90c05b5d87e2d966.tar.gz
CMake-5b3fbd5f6454a943c8cb8c5c90c05b5d87e2d966.tar.bz2
cmSystemTools: Add CMake config directory
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index d12ab07..00a6c70 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -524,6 +524,10 @@ public:
static std::string const& GetCMakeRoot();
static std::string const& GetHTMLDoc();
+ /** Get the CMake config directory **/
+ static cm::optional<std::string> GetSystemConfigDirectory();
+ static cm::optional<std::string> GetCMakeConfigDirectory();
+
/** Get the CWD mapped through the KWSys translation map. */
static std::string GetCurrentWorkingDirectory();