cmake/Modules/CMakeDetermineASM-ATTCompiler.cmake

11 lines
394 B
CMake
Raw Normal View History

2016-10-30 18:24:19 +01:00
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
2009-10-04 10:30:41 +03:00
# determine the compiler to use for ASM using AT&T syntax, e.g. GNU as
2013-03-16 19:13:01 +02:00
set(ASM_DIALECT "-ATT")
2013-07-04 23:25:18 +03:00
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gas ${_CMAKE_TOOLCHAIN_PREFIX}as)
2013-03-16 19:13:01 +02:00
include(CMakeDetermineASMCompiler)
set(ASM_DIALECT)