Re:Mbeddr – engineering the future of embedded software
by mackwic on Saturday September 13, 2014 @11:58AM
(#8312715)
I personally tend to use yaml files which contains matrices of compatibility between objects, used to generate CMake statements.
I know people who use the file header to autodetect the right architecture but I found it too overkill and weird-bug-prone.
Using many small object files is my solution of choice but it pushes the if/else/endif problem into the Makefile instead.