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>
This commit is contained in:
David Lindauer
2023-06-24 21:23:39 -04:00
committed by Brad King
parent 10f435a58f
commit 531b4fe643
57 changed files with 213 additions and 61 deletions
+2
View File
@@ -0,0 +1,2 @@
include(Platform/Windows-OrangeC)
__windows_compiler_orangec(C)
@@ -0,0 +1,2 @@
include(Platform/Windows-OrangeC)
__windows_compiler_orangec(CXX)
+10
View File
@@ -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()