|
From: <ai...@us...> - 2009-07-19 19:29:16
|
Revision: 10163
http://plplot.svn.sourceforge.net/plplot/?rev=10163&view=rev
Author: airwin
Date: 2009-07-19 19:29:03 +0000 (Sun, 19 Jul 2009)
Log Message:
-----------
Update D and Fortran language support files for the installed examples build
to be consistent with those for the core build.
Modified Paths:
--------------
trunk/examples/CMakeLists.txt
Modified: trunk/examples/CMakeLists.txt
===================================================================
--- trunk/examples/CMakeLists.txt 2009-07-19 17:30:25 UTC (rev 10162)
+++ trunk/examples/CMakeLists.txt 2009-07-19 19:29:03 UTC (rev 10163)
@@ -287,12 +287,24 @@
${CMAKE_SOURCE_DIR}/cmake/modules/FindPkgConfig.cmake
DESTINATION ${DATA_DIR}/examples/cmake/modules
)
-
+
# Install PLplot-specific language support files needed for CMake-based
# build of installed examples.
+# N.B. This list of files must be maintained consistently with the file
+# lists in cmake/modules/language_support.cmake.
set(LANG_SUPPORT_FILES)
+set(PLATFORM_SUPPORT_FILES)
+if(ENABLE_ada)
+ set(LANG_SUPPORT_FILES ${LANG_SUPPORT_FILES}
+ CMakeAdaCompiler.cmake.in
+ CMakeAdaInformation.cmake
+ CMakeDetermineAdaCompiler.cmake
+ CMakeTestAdaCompiler.cmake
+ )
+endif(ENABLE_ada)
+
if(ENABLE_d)
set(LANG_SUPPORT_FILES ${LANG_SUPPORT_FILES}
CMakeD_Copyright.txt
@@ -301,16 +313,25 @@
CMakeDetermineDCompiler.cmake
CMakeTestDCompiler.cmake
)
+ set(PLATFORM_SUPPORT_FILES ${PLATFORM_SUPPORT_FILES}
+ Platform/Linux-dmd.cmake
+ Platform/Linux-gdc.cmake
+ Platform/Windows-dmd.cmake
+ Platform/Windows-gdc.cmake
+ )
endif(ENABLE_d)
-if(ENABLE_ada)
+if(ENABLE_f77 OR ENABLE_f95)
set(LANG_SUPPORT_FILES ${LANG_SUPPORT_FILES}
- CMakeAdaCompiler.cmake.in
- CMakeAdaInformation.cmake
- CMakeDetermineAdaCompiler.cmake
- CMakeTestAdaCompiler.cmake
+ CMakeFortranInformation.cmake
)
-endif(ENABLE_ada)
+ set(PLATFORM_SUPPORT_FILES ${PLATFORM_SUPPORT_FILES}
+ Platform/Cygwin-GNU-Fortran.cmake
+ Platform/Windows-GNU-Fortran.cmake
+ Platform/Windows-df.cmake
+ Platform/Windows-f90.cmake
+ )
+endif(ENABLE_f77 OR ENABLE_f95)
if(LANG_SUPPORT_FILES)
foreach(LANG_SUPPORT_FILE ${LANG_SUPPORT_FILES})
@@ -320,3 +341,13 @@
)
endforeach(LANG_SUPPORT_FILE ${LANG_SUPPORT_FILES})
endif(LANG_SUPPORT_FILES)
+
+if(PLATFORM_SUPPORT_FILES)
+ foreach(PLATFORM_SUPPORT_FILE ${PLATFORM_SUPPORT_FILES})
+ install(FILES
+ ${CMAKE_SOURCE_DIR}/cmake/modules/${PLATFORM_SUPPORT_FILE}
+ DESTINATION ${DATA_DIR}/examples/cmake/modules/Platform
+ )
+ endforeach(PLATFORM_SUPPORT_FILE ${PLATFORM_SUPPORT_FILES})
+endif(PLATFORM_SUPPORT_FILES)
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|