linux-wdctools/CMake/CMakeASM_WDCInformation.cmake
2023-05-18 07:33:02 +02:00

25 lines
811 B
CMake

# WDC toolchain for CMake
# Copyright (C) 2021 Tentei Ltd.
# DISTRIBUTED AS PUBLIC DOMAIN. No restrictions apply.
set(CMAKE_ASM_WDC_SOURCE_FILE_EXTENSIONS asm;S;s)
set(CMAKE_ASM_WDC_COMPILER_ARG1 "")
set(CMAKE_ASM_WDC_DEFINE_FLAG "-D")
set(CMAKE_ASM_WDC_FLAGS_DEBUG_INIT "-g -DDEBUG")
set(CMAKE_ASM_WDC_VERBOSE_FLAG "-V" )
set(CMAKE_DEPFILE_FLAGS_ASM_WDC "-K <DEP_FILE>")
set(CMAKE_ASM_WDC_COMPILER_AR wdclib CACHE PATH "WDC archiver")
set(CMAKE_LINKER wdcld CACHE PATH "WDC linker")
set(CMAKE_ASM_WDC_COMPILE_OBJECT
"<CMAKE_ASM_WDC_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -O <OBJECT> <SOURCE>")
set(CMAKE_ASM_WDC_LINK_EXECUTABLE
"<CMAKE_LINKER> <LINK_FLAGS> <LINK_LIBRARIES> <OBJECTS> -O <TARGET>")
set(ASM_DIALECT "_WDC")
include(CMakeASMInformation)
set(CMAKE_INCLUDE_FLAG_ASM_WDC "-I")
set(ASM_DIALECT)