CMakeASM-ATTInformation.cmake 566 B

123456789101112131415
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. # support for AT&T syntax assemblers, e.g. GNU as
  4. set(ASM_DIALECT "-ATT")
  5. # *.S files are supposed to be preprocessed, so they should not be passed to
  6. # assembler but should be processed by gcc
  7. set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;asm)
  8. set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
  9. include(CMakeASMInformation)
  10. set(ASM_DIALECT)