diff options
author | Chris Wright <chris.wright@mqa.co.uk> | 2022-03-24 09:52:39 (GMT) |
---|---|---|
committer | Chris Wright <chris.wright@mqa.co.uk> | 2022-04-04 15:56:47 (GMT) |
commit | e9eabb0dcdb2fd8084135e02a1ad63047f8ae772 (patch) | |
tree | 89d5446f68cba13ab2eed308c21e6a493ddb95d7 /Modules/Compiler/ADSP-C.cmake | |
parent | 88b38f531adb90af752eb5af0f90eab0ee4343ae (diff) | |
download | CMake-e9eabb0dcdb2fd8084135e02a1ad63047f8ae772.zip CMake-e9eabb0dcdb2fd8084135e02a1ad63047f8ae772.tar.gz CMake-e9eabb0dcdb2fd8084135e02a1ad63047f8ae772.tar.bz2 |
ADSP: Configure compiler in compiler module
Diffstat (limited to 'Modules/Compiler/ADSP-C.cmake')
-rw-r--r-- | Modules/Compiler/ADSP-C.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Compiler/ADSP-C.cmake b/Modules/Compiler/ADSP-C.cmake new file mode 100644 index 0000000..cef3fb1 --- /dev/null +++ b/Modules/Compiler/ADSP-C.cmake @@ -0,0 +1,11 @@ +include(Compiler/CMakeCommonCompilerMacros) +include(Compiler/ADSP) + +__compiler_adsp(C) + +set(CMAKE_C90_STANDARD_COMPILE_OPTION -c89) +set(CMAKE_C90_STANDARD__HAS_FULL_SUPPORT ON) + +set(CMAKE_C99_STANDARD__HAS_FULL_SUPPORT ON) + +__compiler_check_default_language_standard(C 8.0.0.0 99) |