diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-04 19:12:01 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-04 19:13:07 (GMT) |
commit | 2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc (patch) | |
tree | 9b52bf9b0a2ba5a32b87579fe184dadea3443318 /Source/cmakemain.cxx | |
parent | 28013c9434b748c5009061844f19b29f0d482c9e (diff) | |
download | CMake-2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc.zip CMake-2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc.tar.gz CMake-2ac835b9f9a7a4dec16c498a51c0dbc3d64844bc.tar.bz2 |
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 5579ae1..494d5d9 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; |