This commit is contained in:
Jorijn van der Graaf 2025-09-09 18:10:54 +02:00
commit a36beab2ac
6 changed files with 71 additions and 10 deletions

View file

@ -98,7 +98,7 @@ void ModulePartition::Compile(std::string clangDir, const Configuration& config,
if(config.verbose) {
std::cout << command << std::endl;
}
system(command.c_str());
BounceCommand(command.c_str());
}
*compiled = true;
compiled->notify_all();
@ -112,7 +112,7 @@ void ModulePartition::CompileSource(std::string clangDir, const Configuration& c
if(config.verbose) {
std::cout << command << std::endl;
}
system(command.c_str());
BounceCommand(command.c_str());
}
Module::Module(const std::string& name, const fs::path& path, const Configuration& config, const fs::path& pcmDir, std::string& files, const fs::path& buildDir) : name(name), path(path) {
@ -187,7 +187,7 @@ void Module::Compile(std::string clangDir, const Configuration& config, fs::path
if(config.verbose) {
std::cout << command << std::endl;
}
system(command.c_str());
BounceCommand(command.c_str());
}
std::vector<std::thread> threads2;
@ -203,7 +203,7 @@ void Module::Compile(std::string clangDir, const Configuration& config, fs::path
if(config.verbose) {
std::cout << command << std::endl;
}
system(command.c_str());
BounceCommand(command.c_str());
});
for(std::thread& thread : threads2){