update
This commit is contained in:
parent
90f8d3e1d9
commit
a36beab2ac
6 changed files with 71 additions and 10 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue