From 6db62591c4d7f44690ba6b4c5cd0e6f82dba04c7 Mon Sep 17 00:00:00 2001 From: Nathan Date: Wed, 9 Apr 2025 21:48:29 -0500 Subject: [PATCH] modules should know about their dependencies --- include/utils/App/App.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/utils/App/App.h b/include/utils/App/App.h index d540f22..d97efdb 100644 --- a/include/utils/App/App.h +++ b/include/utils/App/App.h @@ -119,9 +119,11 @@ namespace Archimedes { bool skip = false; for(auto it : m->deps) { + //std::cout << "Module " << m->getName() << " has dependency " << it.first << std::endl; for(auto s : runOrder) { if(s == it.first) { skip = true; + m->moduleInstances[s] = modules[s]; } }