clean up
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
if (NOT TARGET _family_support_marker)
|
||||
include(CMakePrintHelpers)
|
||||
|
||||
# Default to gcc
|
||||
if(NOT DEFINED TOOLCHAIN)
|
||||
set(TOOLCHAIN gcc)
|
||||
endif()
|
||||
|
||||
add_library(_family_support_marker INTERFACE)
|
||||
|
||||
if (NOT FAMILY)
|
||||
|
@@ -1,5 +1,7 @@
|
||||
# toolchain set up, include before project()
|
||||
|
||||
|
||||
if (NOT TARGET ${PROJECT})
|
||||
# toolchain set up, include before project()
|
||||
set(CMAKE_SYSTEM_PROCESSOR cortex-m7 CACHE INTERNAL "System Processor")
|
||||
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/../../../cmake/toolchain/arm_${TOOLCHAIN}.cmake)
|
||||
else ()
|
||||
|
Reference in New Issue
Block a user