This commit is contained in:
Jorijn van der Graaf 2025-04-24 19:21:09 +02:00
commit be18fb8568
12 changed files with 427 additions and 19 deletions

View file

@ -66,8 +66,11 @@ int main(int argc, char* argv[]) {
}
if(run){
for(const Configuration& config : project.configurations) {
if(config.name == configuration){
for(Configuration& config : project.configurations) {
if(config.name == configuration) {
if(config.target == "x86_64-w64-mingw64" || config.target == "x86_64-w64-mingw32") {
project.name += ".exe";
}
system(std::format("{}", (projectPath/fs::path(config.outputDir)/project.name).generic_string()).c_str());
return 0;
}