I try to create CMake toolchain file for Tasking Aurix compiler (ctc) in which -c
option have different meaning:
-c --iso=<year> ISO C standard (90, 99) (default: 99)
Is it possible to omit -c
parameter for object files recipes or maybe it's possible to set custom template for such recipes?
Currently I have ugly workaround for it so after CMake I call script which edit generated makefile's and change option -c
to -c 99
but preferably I would like to be able to generate valid makefile's from CMake directly.