diff options
author | David Lindauer <touchstone222@runbox.com> | 2023-06-25 01:23:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-25 16:27:29 (GMT) |
commit | 531b4fe64377b2e2ce5918535df389be0a754b04 (patch) | |
tree | 67d6dca1cb123bb8473aa9542cc7e647bff5efa3 /Modules/Platform | |
parent | 10f435a58f97a71f6718bfdd0cacb72175a906ef (diff) | |
download | CMake-531b4fe64377b2e2ce5918535df389be0a754b04.zip CMake-531b4fe64377b2e2ce5918535df389be0a754b04.tar.gz CMake-531b4fe64377b2e2ce5918535df389be0a754b04.tar.bz2 |
OrangeC: Add support for OrangeC compiler
Add compiler information modules. Update the test suite.
Fixes: #25032
Co-authored-by: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Windows-OrangeC-C.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/Windows-OrangeC-CXX.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/Windows-OrangeC.cmake | 10 |
3 files changed, 14 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-OrangeC-C.cmake b/Modules/Platform/Windows-OrangeC-C.cmake new file mode 100644 index 0000000..6b7e6b5 --- /dev/null +++ b/Modules/Platform/Windows-OrangeC-C.cmake @@ -0,0 +1,2 @@ +include(Platform/Windows-OrangeC) +__windows_compiler_orangec(C) diff --git a/Modules/Platform/Windows-OrangeC-CXX.cmake b/Modules/Platform/Windows-OrangeC-CXX.cmake new file mode 100644 index 0000000..7de6716 --- /dev/null +++ b/Modules/Platform/Windows-OrangeC-CXX.cmake @@ -0,0 +1,2 @@ +include(Platform/Windows-OrangeC) +__windows_compiler_orangec(CXX) diff --git a/Modules/Platform/Windows-OrangeC.cmake b/Modules/Platform/Windows-OrangeC.cmake new file mode 100644 index 0000000..4f66e0e --- /dev/null +++ b/Modules/Platform/Windows-OrangeC.cmake @@ -0,0 +1,10 @@ +set(CMAKE_LINK_LIBRARY_SUFFIX "") +set(CMAKE_STATIC_LIBRARY_SUFFIX ".l") +set(CMAKE_IMPORT_LIBRARY_SUFFIX ".l") +set(CMAKE_FIND_LIBRARY_PREFIXES "") +set(CMAKE_FIND_LIBRARY_SUFFIXES ".l") + +macro(__windows_compiler_orangec lang) + set(CMAKE_${lang}_CREATE_WIN32_EXE "-Wg") + set(CMAKE_${lang}_CREATE_CONSOLE_EXE "-Wc") +endmacro() |