mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
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:
committed by
Brad King
parent
10f435a58f
commit
531b4fe643
@@ -0,0 +1,2 @@
|
||||
include(Platform/Windows-OrangeC)
|
||||
__windows_compiler_orangec(C)
|
||||
@@ -0,0 +1,2 @@
|
||||
include(Platform/Windows-OrangeC)
|
||||
__windows_compiler_orangec(CXX)
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user