I try to use the qpc framework in (quantumleaps/qpc@^6.3.7) my project. The build machine just compiles all the code in src folder of the Library - regardless of any side conditions. In the final build only a selected part (cherry-picked part) of all source code should be included in the Binary. Depending on the project configuration this would result in a other Running Program.
A striped down version of my project can be found on my github:
I think it is not an easy task to understand what QPC is, but the Book is worth reading. The reference is: