mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-10 12:44:55 +00:00
18 lines
425 B
CMake
18 lines
425 B
CMake
if (NOT DEFINED CMAKE_C_COMPILER)
|
|
set(CMAKE_C_COMPILER "iccarm")
|
|
endif()
|
|
|
|
if (NOT DEFINED CMAKE_CXX_COMPILER)
|
|
set(CMAKE_CXX_COMPILER "iccarm")
|
|
endif()
|
|
|
|
if (NOT DEFINED CMAKE_ASM_COMPILER)
|
|
set(CMAKE_ASM_COMPILER "iasmarm")
|
|
endif()
|
|
|
|
set(CMAKE_SIZE "size" CACHE FILEPATH "")
|
|
set(CMAKE_OBJCOPY "ielftool" CACHE FILEPATH "")
|
|
set(CMAKE_OBJDUMP "iefdumparm" CACHE FILEPATH "")
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake)
|