toolchain.cmake.in 623 B

12345678910111213
  1. set(CMAKE_SYSTEM_NAME Linux)
  2. set(CMAKE_C_COMPILER @@TARGET_CC@@)
  3. set(CMAKE_CXX_COMPILER @@TARGET_CXX@@)
  4. set(CMAKE_SYSTEM_NAME Linux)
  5. set(CMAKE_C_FLAGS "@@TARGET_CFLAGS@@" CACHE STRING "OpenADK CFLAGS" FORCE)
  6. set(CMAKE_CXX_FLAGS "@@TARGET_CXXFLAGS@@" CACHE STRING "OpenADK CXXFLAGS" FORCE)
  7. set(CMAKE_INSTALL_SO_NO_EXE 0)
  8. set(CMAKE_PROGRAM_PATH \"@@STAGING_HOST_DIR@@/usr/bin\")
  9. set(CMAKE_FIND_ROOT_PATH \"@@STAGING_TARGET_DIR@@\")
  10. set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
  11. set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  12. set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
  13. set(ENV{PKG_CONFIG_SYSROOT_DIR} \"@@STAGING_TARGET_DIR@@\")