project_include.cmake 430 B

12345678910111213141516171819202122
  1. if(GCC_NOT_5_2_0)
  2. if(CONFIG_NEWLIB_NANO_FORMAT)
  3. set(LIBC c_nano)
  4. else()
  5. set(LIBC c)
  6. endif()
  7. set(LIBM m)
  8. else()
  9. if(CONFIG_SPIRAM_CACHE_WORKAROUND)
  10. set(LIBC c-psram-workaround)
  11. set(LIBM m-psram-workaround)
  12. else()
  13. if(CONFIG_NEWLIB_NANO_FORMAT)
  14. set(LIBC c_nano)
  15. else()
  16. set(LIBC c)
  17. endif()
  18. set(LIBM m)
  19. endif()
  20. endif()