summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-04 16:06:46 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-02-04 19:13:07 (GMT)
commit16a4ba5b311669000d83c99b1b985597205d3d69 (patch)
treed488198bc202d2daa0ef63a11fc47d81e420f801 /Source/cmState.h
parent2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc (diff)
downloadCMake-16a4ba5b311669000d83c99b1b985597205d3d69.zip
CMake-16a4ba5b311669000d83c99b1b985597205d3d69.tar.gz
CMake-16a4ba5b311669000d83c99b1b985597205d3d69.tar.bz2
Ninja Multi-Config: Use build.ninja if cmake --build has no --config
If cmake --build is called with no --config argument, and a build.ninja file is available, use that instead of defaulting to the Debug config.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 817046f..6ee2b0c 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -88,6 +88,7 @@ public:
std::vector<std::string> GetCacheEntryKeys() const;
const char* GetCacheEntryValue(std::string const& key) const;
+ std::string GetSafeCacheEntryValue(std::string const& key) const;
const std::string* GetInitializedCacheValue(std::string const& key) const;
cmStateEnums::CacheEntryType GetCacheEntryType(std::string const& key) const;
void SetCacheEntryValue(std::string const& key, std::string const& value);