mirror of
https://github.com/Kitware/CMake.git
synced 2026-06-24 08:47:59 +00:00
The Pelles C compiler does not support ASM, and the `poasm` assembler uses a distinct syntax. Add a dedicated language as we do for similar cases from other vendors. Leave documentation commented out for now because the PellesC toolchain support in general is not yet documented. Fixes: #27758 Issue: #21536 Co-authored-by: Serguei E. Leontiev <leo@sai.msu.ru>
8 lines
270 B
CMake
8 lines
270 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file LICENSE.rst or https://cmake.org/licensing for details.
|
|
|
|
set(ASM_DIALECT "_POASM")
|
|
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT poasm)
|
|
include(CMakeDetermineASMCompiler)
|
|
unset(ASM_DIALECT)
|