The CMake configuration is a bit of a mess. Initially, the decision to only have a single CMakeLists.txt was made during a time when there weren't many source files in the codebase. The codebase has grown since then, so it now seems sensible to introduce a new CMakeLists.txt in each first-level subdirectory (from within the src directory).
There are also others bits of the current CMake config that could be improved.
I will try to get on this after (or maybe as part of) the TargetController interface refactoring.
The CMake configuration is a bit of a mess. Initially, the decision to only have a single CMakeLists.txt was made during a time when there weren't many source files in the codebase. The codebase has grown since then, so it now seems sensible to introduce a new CMakeLists.txt in each first-level subdirectory (from within the src directory).
There are also others bits of the current CMake config that could be improved.
I will try to get on this after (or maybe as part of) the TargetController interface refactoring.