moved asset_processor to new location

This commit is contained in:
Henny022p
2021-11-23 05:40:41 +01:00
parent 47a3e614a0
commit bc4a8577f3
37 changed files with 13 additions and 26877 deletions
+20
View File
@@ -0,0 +1,20 @@
#include "util.h"
#include <iostream>
void check_call(const std::vector<std::string>& cmd) {
std::string cmdstr;
bool first = true;
for (const auto& segment : cmd) {
if (first) {
first = false;
} else {
cmdstr += " ";
}
cmdstr += segment;
}
int code = system(cmdstr.c_str());
if (code != 0) {
std::cerr << cmdstr << " failed with return code " << code << std::endl;
std::exit(1);
}
}