summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-PGI-C.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-09-17 19:55:17 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-09-17 19:55:17 (GMT)
commit4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8 (patch)
tree911ac1b075af9be769d8999e61dec635b1257f4c /Modules/Platform/Linux-PGI-C.cmake
parentf9391ab2916755b319dff4dd11282425b2c076cc (diff)
downloadCMake-4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8.zip
CMake-4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8.tar.gz
CMake-4ee1ee1bd0d6b19feb5846bfeccdc39a90d52ac8.tar.bz2
ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
Diffstat (limited to 'Modules/Platform/Linux-PGI-C.cmake')
-rw-r--r--Modules/Platform/Linux-PGI-C.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-PGI-C.cmake b/Modules/Platform/Linux-PGI-C.cmake
new file mode 100644
index 0000000..104e3dc
--- /dev/null
+++ b/Modules/Platform/Linux-PGI-C.cmake
@@ -0,0 +1,5 @@
+SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
+
+SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
+SET (CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
+