unify error messages

This commit is contained in:
MoAlyousef
2020-11-27 14:48:15 +03:00
parent 41b00b4f98
commit ba2c52dd39
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ std::vector<std::string> to_string_vec(
CMake::CMake(const std::string &path, bool build) {
if (!fs::exists(fs::path(path) / "cmake.toml")) {
throw std::runtime_error("No cmake.toml was found!");
throw std::runtime_error("[cmkr] error: No cmake.toml was found!");
}
const auto toml = toml::parse((fs::path(path) / "cmake.toml").string());
if (build) {