summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-11 15:15:36 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-11 15:15:36 (GMT)
commita116420839639f7d8d8fea7b9542c563c3e90ba6 (patch)
tree1e042845b339e3b68431df989518fa4a61a1ab3a /Modules
parent0d0cfaea08f60df59d35fa98a79660109412d6c0 (diff)
downloadCMake-a116420839639f7d8d8fea7b9542c563c3e90ba6.zip
CMake-a116420839639f7d8d8fea7b9542c563c3e90ba6.tar.gz
CMake-a116420839639f7d8d8fea7b9542c563c3e90ba6.tar.bz2
ENH: Initial attempt at QNX support. Submitted by Tim Arney.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/QNX.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake
new file mode 100644
index 0000000..a3a8d63
--- /dev/null
+++ b/Modules/Platform/QNX.cmake
@@ -0,0 +1,11 @@
+# GCC is the default compiler on QNX 6.3.
+INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
+
+SET(CMAKE_DL_LIBS "")
+SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
+SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-rpath,")
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")
+SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
+SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")