CMakeDetermineASM-ATTCompiler.cmake 394 Bytes
Newer Older
1 2
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
3 4


5
# determine the compiler to use for ASM using AT&T syntax, e.g. GNU as
6

7
set(ASM_DIALECT "-ATT")
8
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gas ${_CMAKE_TOOLCHAIN_PREFIX}as)
9 10
include(CMakeDetermineASMCompiler)
set(ASM_DIALECT)