diff options
Diffstat (limited to 'libcppbuild.cc')
-rw-r--r-- | libcppbuild.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcppbuild.cc b/libcppbuild.cc index f575a52..9fcc4d4 100644 --- a/libcppbuild.cc +++ b/libcppbuild.cc @@ -248,7 +248,10 @@ int main(int argc, char* argv[]) for(auto task : tasks) { - task->registerDepTasks(tasks); + if(task->registerDepTasks(tasks)) + { + return 1; + } } std::list<std::shared_ptr<Task>> dirtyTasks; |