[goalc] add a build system (#704)

* add first attempt at build system

* fix stupid bug

* try again
This commit is contained in:
water111
2021-07-15 21:37:15 -04:00
committed by GitHub
parent 77667d9185
commit ef011f4fe8
33 changed files with 2208 additions and 72 deletions
+4
View File
@@ -580,6 +580,7 @@ std::string ObjectFileDB::process_tpages() {
if (tpage_dir_count == 0) {
lg::warn("Did not find tpage-dir.");
return {};
}
lg::info("Processed {} / {} textures {:.2f}% in {:.2f} ms", success, total,
@@ -612,6 +613,9 @@ std::string ObjectFileDB::process_game_text_files() {
lg::info("Processed {} text files ({} strings, {} characters) in {:.2f} ms", file_count,
string_count, char_count, timer.getMs());
if (text_by_language_by_id.empty()) {
return {};
}
return write_game_text(text_by_language_by_id);
}