project_include.cmake 490 B

123456789101112
  1. #
  2. # Warn if the toolchain version doesn't match
  3. #
  4. if(NOT (${target} STREQUAL "linux" OR CMAKE_C_COMPILER_ID MATCHES "Clang"))
  5. get_expected_ctng_version(expected_toolchain expected_gcc)
  6. gcc_version_check("${expected_gcc}")
  7. crosstool_version_check("${expected_toolchain}")
  8. endif()
  9. if(NOT ${target} STREQUAL "linux" AND CMAKE_C_COMPILER_ID MATCHES "Clang")
  10. message(WARNING "Building ESP-IDF with clang is an experimental feature and is not yet officially supported.")
  11. endif()