diff options
author | Brad King <brad.king@kitware.com> | 2021-06-29 18:18:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-30 14:55:40 (GMT) |
commit | 03bd9c4c10741073e9f39dee6c5ee6000a2b1da2 (patch) | |
tree | 77c287ed62693469ba135125d53b1a6cbaed30d0 /Source/cmMakefile.h | |
parent | 88fade3914629666b28260f2197c8f11c6737857 (diff) | |
download | CMake-03bd9c4c10741073e9f39dee6c5ee6000a2b1da2.zip CMake-03bd9c4c10741073e9f39dee6c5ee6000a2b1da2.tar.gz CMake-03bd9c4c10741073e9f39dee6c5ee6000a2b1da2.tar.bz2 |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 77e9c74..14c1a0f 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; |