mirror of
https://github.com/zeldaret/tmc
synced 2026-06-11 21:19:02 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user