summaryrefslogtreecommitdiff
path: root/examples/build_system/cmake/cpu/ft32.cmake
blob: 13153e555cdf5f1920bb40652129512eeec23994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if (TOOLCHAIN STREQUAL "gcc")
  set(TOOLCHAIN_COMMON_FLAGS
    -fvar-tracking
    -fvar-tracking-assignments
    )

elseif (TOOLCHAIN STREQUAL "clang")
  message(FATAL_ERROR "Clang is not supported for this target")

elseif (TOOLCHAIN STREQUAL "iar")
  message(FATAL_ERROR "IAR is not supported for this target")

endif ()