summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-29 14:18:54 -0400
committerBrad King <brad.king@kitware.com>2021-06-30 10:55:40 -0400
commit03bd9c4c10741073e9f39dee6c5ee6000a2b1da2 (patch)
tree77c287ed62693469ba135125d53b1a6cbaed30d0 /Source/cmMakefile.h
parent88fade3914629666b28260f2197c8f11c6737857 (diff)
downloadcmake-03bd9c4c10741073e9f39dee6c5ee6000a2b1da2.tar.gz
cmMakefile: Add helper to initialize CMAKE_CONFIGURATION_TYPES
Factor out duplicate code from the Ninja Multi-Config, Visual Studio, and Xcode generators.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 77e9c74050..14c1a0fc6f 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -310,6 +310,8 @@ public:
*/
void SetProjectName(std::string const& name);
+ void InitCMAKE_CONFIGURATION_TYPES(std::string const& genDefault);
+
/* Get the default configuration */
std::string GetDefaultConfiguration() const;