
include(Compiler/Renesas)
__compiler_renesas(ASM)

if(CMAKE_ASM_COMPILER_ARCHITECTURE_ID STREQUAL "RX")
  set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS src;SRC;s;S)
elseif(CMAKE_ASM_COMPILER_ARCHITECTURE_ID STREQUAL "RL78")
  set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;ASM;s;S)
elseif(CMAKE_ASM_COMPILER_ARCHITECTURE_ID STREQUAL "RH850")
  set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;ASM;s;S)
else()
    message(FATAL_ERROR "Architecture for Renesas compiler: ${CMAKE_ASM_COMPILER_ARCHITECTURE_ID} is not supported.")
endif()
