1
0

Haiku.cmake 895 B

123456789101112131415161718192021
  1. SET(BEOS 1)
  2. # GCC is the default compiler on Haiku.
  3. INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
  4. SET(CMAKE_DL_LIBS root be)
  5. SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
  6. SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-nostart")
  7. SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
  8. SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
  9. SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
  10. SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
  11. INCLUDE(Platform/UnixPaths)
  12. LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH /boot/common)
  13. LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/common/include)
  14. LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/common/lib)
  15. LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH /boot/common/bin)
  16. LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES /boot/common/lib)
  17. LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/develop/headers/3rdparty)
  18. LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/develop/lib/x86)