Improve compilation time of asset_processor

By splitting it up into object files and letting them be compiled in
parallel. Also only rebuild the parts that changed.
This commit is contained in:
octorock
2021-11-19 20:58:25 +01:00
parent 24e1a6091c
commit 91ad7860b2
10 changed files with 115 additions and 33 deletions
-9
View File
@@ -18,12 +18,3 @@ void check_call(const std::vector<std::string>& cmd) {
std::exit(1);
}
}
// https://github.com/nlohmann/json/issues/642#issuecomment-311937344
std::string to_string(const nlohmann::json& j) {
if (j.type() == nlohmann::json::value_t::string) {
return j.get<std::string>();
}
return j.dump();
}