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