summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/OpenVMS.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-10 17:04:04 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-10 17:04:04 (GMT)
commit41b0f92c6af01b10f3665902d169c858a8bf550c (patch)
treeab9b1b43ccc0b80772deb6c9dcd4e112d555a772 /Modules/Platform/OpenVMS.cmake
parentc8795101a47990842bd7e5c2163831d1fbe3c160 (diff)
downloadCMake-41b0f92c6af01b10f3665902d169c858a8bf550c.zip
CMake-41b0f92c6af01b10f3665902d169c858a8bf550c.tar.gz
CMake-41b0f92c6af01b10f3665902d169c858a8bf550c.tar.bz2
ENH: Enable basic OpenVMS platform support
This adds the Modules/Platform/OpenVMS.cmake platform file for OpenVMS. We just use Unix-like rules to work with the GNV compiler front-end. A problem with process execution currently prevents CMake link scripts from working, so we avoid using them.
Diffstat (limited to 'Modules/Platform/OpenVMS.cmake')
-rw-r--r--Modules/Platform/OpenVMS.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Platform/OpenVMS.cmake b/Modules/Platform/OpenVMS.cmake
new file mode 100644
index 0000000..3b7ba41
--- /dev/null
+++ b/Modules/Platform/OpenVMS.cmake
@@ -0,0 +1,7 @@
+INCLUDE(Platform/UnixPaths)
+
+SET(CMAKE_C_CREATE_STATIC_LIBRARY
+ "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>"
+ "<CMAKE_RANLIB> <TARGET>"
+ )
+SET(CMAKE_CXX_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})