bloombloombloom / Bloom

A debug interface for AVR-based embedded systems development on GNU/Linux.
https://bloom.oscillate.io/
Other
65 stars 4 forks source link

Tidy CMake configuration #26

Closed navnavnav closed 2 years ago

navnavnav commented 2 years ago

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.

navnavnav commented 2 years ago

Development for this is complete. I've tidied up the CMake config but it's still a little messy in some places. But I'm happy with it for now.