summaryrefslogtreecommitdiff
path: root/share/cmake-3.5/Modules/Platform/BeOS.cmake
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-05-17 10:02:28 +0100
committerPavel Labath <labath@google.com>2016-05-18 16:41:34 +0000
commit2558e7154fe7da69d90c6f99632a84b624a90a9a (patch)
tree01b6efc8719b523e315cc868d31f203602f385f7 /share/cmake-3.5/Modules/Platform/BeOS.cmake
parent091caafda44f7fe52a94387b2eafcf204ea909d3 (diff)
downloadlinux-x86-2558e7154fe7da69d90c6f99632a84b624a90a9a.tar.gz
source: go/ab/2846898 Change-Id: I762a07bd4ff86251b349d36ae9359256204cd313
Diffstat (limited to 'share/cmake-3.5/Modules/Platform/BeOS.cmake')
-rw-r--r--share/cmake-3.5/Modules/Platform/BeOS.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.5/Modules/Platform/BeOS.cmake b/share/cmake-3.5/Modules/Platform/BeOS.cmake
new file mode 100644
index 0000000..ef811bd
--- /dev/null
+++ b/share/cmake-3.5/Modules/Platform/BeOS.cmake
@@ -0,0 +1,12 @@
+set(BEOS 1)
+
+set(CMAKE_DL_LIBS root be)
+set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC")
+set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE")
+set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
+set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-nostart")
+set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
+set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
+set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
+
+include(Platform/UnixPaths)