|
|
|
@ -167,6 +167,8 @@ void Project::Clang::compile() { |
|
|
|
if(default_build_path.empty() || !build->update_default_build()) |
|
|
|
if(default_build_path.empty() || !build->update_default_build()) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Terminal::get().clear(); |
|
|
|
|
|
|
|
|
|
|
|
compiling=true; |
|
|
|
compiling=true; |
|
|
|
Terminal::get().print("Compiling project "+build->project_path.string()+"\n"); |
|
|
|
Terminal::get().print("Compiling project "+build->project_path.string()+"\n"); |
|
|
|
Terminal::get().async_process(Config::get().project.make_command, default_build_path, [this](int exit_status) { |
|
|
|
Terminal::get().async_process(Config::get().project.make_command, default_build_path, [this](int exit_status) { |
|
|
|
@ -199,6 +201,8 @@ void Project::Clang::compile_and_run() { |
|
|
|
arguments=filesystem::escape_argument(arguments); |
|
|
|
arguments=filesystem::escape_argument(arguments); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Terminal::get().clear(); |
|
|
|
|
|
|
|
|
|
|
|
compiling=true; |
|
|
|
compiling=true; |
|
|
|
Terminal::get().print("Compiling and running "+arguments+"\n"); |
|
|
|
Terminal::get().print("Compiling and running "+arguments+"\n"); |
|
|
|
Terminal::get().async_process(Config::get().project.make_command, default_build_path, [this, arguments, project_path](int exit_status){ |
|
|
|
Terminal::get().async_process(Config::get().project.make_command, default_build_path, [this, arguments, project_path](int exit_status){ |
|
|
|
@ -278,6 +282,8 @@ void Project::Clang::debug_start() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Terminal::get().clear(); |
|
|
|
|
|
|
|
|
|
|
|
debugging=true; |
|
|
|
debugging=true; |
|
|
|
Terminal::get().print("Compiling and debugging "+run_arguments+"\n"); |
|
|
|
Terminal::get().print("Compiling and debugging "+run_arguments+"\n"); |
|
|
|
Terminal::get().async_process(Config::get().project.make_command, debug_build_path, [this, breakpoints, run_arguments, project_path](int exit_status){ |
|
|
|
Terminal::get().async_process(Config::get().project.make_command, debug_build_path, [this, breakpoints, run_arguments, project_path](int exit_status){ |
|
|
|
|