Skip to content
  • Alexander Neundorf's avatar
    Rework the way assembler is handled, use the C/CXX compiler by default · 4b40d429
    Alexander Neundorf authored
    This commit changes the way how the assembler support works in cmake.
    The language "ASM" now always uses the C/Cxx compiler instead
    of the assembler directly. This fixes #8392, assembler files are
    not preprocessed.
    If one wants to use the assembler directly, the specific
    assembler "dialect" has to be enabled. I.e. to get as/gas,
    you have to use now ASM-ATT, the same way for ASM_MASM and ASM_NASM.
    
    Implemented this now for gcc.
    SunStudio, IBM, HP and Intel still todo.
    
    Alex
    4b40d429