Files
CMake/Modules/CMakeDetermineASM_POASMCompiler.cmake
Brad King a95fae2d36 PellesC: Add support for ASM_POASM language assembler
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>
2026-04-22 14:42:00 -04:00

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)