It seems the fix would be to support generator expressions for <LANG>_CPPCHECK like we do already for LINK_LIBRARIES, INCLUDE_DIRECTORIES, COMPILE_DEFINITIONS. Seems like it should be just a few lines of code.
@craig.scott Agreed on this approach?