summaryrefslogtreecommitdiff
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-04 14:12:01 -0500
committerKyle Edwards <kyle.edwards@kitware.com>2020-02-04 14:13:07 -0500
commit2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc (patch)
tree9b52bf9b0a2ba5a32b87579fe184dadea3443318 /Source/cmakemain.cxx
parent28013c9434b748c5009061844f19b29f0d482c9e (diff)
downloadcmake-2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc.tar.gz
Refactor: Allow generators to decide default configuration for build
And allow them to read any cache values they need.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 5579ae16e9..494d5d982d 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -350,7 +350,7 @@ int do_build(int ac, char const* const* av)
#else
int jobs = cmake::NO_BUILD_PARALLEL_LEVEL;
std::vector<std::string> targets;
- std::string config = "Debug";
+ std::string config;
std::string dir;
std::vector<std::string> nativeOptions;
bool cleanFirst = false;