update
This commit is contained in:
parent
2daf890ed1
commit
be18fb8568
12 changed files with 427 additions and 19 deletions
7
main.cpp
7
main.cpp
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue