diff options
Diffstat (limited to 'libcppbuild.cc')
-rw-r--r-- | libcppbuild.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libcppbuild.cc b/libcppbuild.cc index f641a90..f575a52 100644 --- a/libcppbuild.cc +++ b/libcppbuild.cc @@ -165,7 +165,7 @@ void recompileCheck(const Settings& settings, int argc, char* argv[]) { args.push_back(argv[i]); } - exit(execute(argv[0], args)); + exit(execute(argv[0], args, settings.verbose)); } } } @@ -278,6 +278,11 @@ int main(int argc, char* argv[]) } } + if(dirtyTasks.empty()) + { + return 0; + } + std::cout << "Building\n"; std::list<std::future<int>> processes; |