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>
13 lines
546 B
CMake
13 lines
546 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file LICENSE.rst or https://cmake.org/licensing for details.
|
|
|
|
# This file is used by EnableLanguage in cmGlobalGenerator to
|
|
# determine that the selected ASM_POASM "compiler" (should be poasm)
|
|
# works. For assembler this can only check whether the compiler has been found,
|
|
# because otherwise there would have to be a separate assembler source file
|
|
# for each assembler on every architecture.
|
|
|
|
set(ASM_DIALECT "_POASM")
|
|
include(CMakeTestASMCompiler)
|
|
set(ASM_DIALECT)
|