Compiler/TI: Improve C/CXX Standard Options
Improvements:
- Fixed current definition of C90/C99
- Added C11, CXX98, CXX14
- Make all definitions compiler version/architecture dependent
- Side discovery: Avoid setting a variable named
prefix
in macro
This is tested with
- Generators: Ninja
- Compiler: ti-cgt-arm_20.2.1.LTS, ti-cgt-c2000_20.2.1.LTS, ti-cgt-c6000_8.3.6, ti-cgt-msp430_20.2.1.LTS and an older: ti-cgt-msp430_16.9.11.LTS
- Version numbers are "best effort" based on TI homepage and manuals.