summaryrefslogtreecommitdiff
path: root/src/tasks.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-06-08 17:31:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-06-09 22:25:15 +0200
commit61f7f7538cc6abb0be64c35570f38dd2541d7451 (patch)
tree092c97084f191eb502b06740a76658432dada34a /src/tasks.cc
parentd9cb571fe126e7e94a52361d733161aa25f23597 (diff)
Add const Settings& to build configuration callbacks.
Diffstat (limited to 'src/tasks.cc')
-rw-r--r--src/tasks.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tasks.cc b/src/tasks.cc
index af364b9..646292a 100644
--- a/src/tasks.cc
+++ b/src/tasks.cc
@@ -9,7 +9,6 @@
#include <iostream>
#include <algorithm>
-#include "settings.h"
#include "libctor.h"
#include "task.h"
#include "task_cc.h"
@@ -35,7 +34,7 @@ const std::deque<Target>& getTargets(const Settings& settings,
{
std::cout << configFiles[i].file << " in path " << path << "\n";
}
- auto configs = configFiles[i].cb();
+ auto configs = configFiles[i].cb(settings);
for(auto& config : configs)
{
if(resolve_externals)