additional file fix
This commit is contained in:
parent
f90881b03d
commit
698665215b
9 changed files with 64 additions and 88 deletions
|
|
@ -71,12 +71,7 @@ int main(int argc, char* argv[]) {
|
|||
if(command == "build") {
|
||||
Configuration& config = project.Build(argument);
|
||||
if(run){
|
||||
std::string binDir;
|
||||
if(project.binDir.empty()) {
|
||||
binDir = std::format("bin/{}", config.name);
|
||||
} else {
|
||||
binDir = std::format("{}/{}", project.binDir.string(), config.name);
|
||||
}
|
||||
std::string binDir = std::format("{}/{}", project.binDir.string(), config.name);
|
||||
if(config.debug) {
|
||||
system(std::format("cd {} && ./{}", (fs::path(projectPath).parent_path()/binDir).string(), project.name).c_str());
|
||||
//system(std::format("cd {} && lldb -o run {}", (fs::path(projectPath).parent_path()/binDir).string(), project.name).c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue