From: <ai...@us...> - 2011-10-14 05:14:32
|
Revision: 11962 http://plplot.svn.sourceforge.net/plplot/?rev=11962&view=rev Author: airwin Date: 2011-10-14 04:15:41 +0000 (Fri, 14 Oct 2011) Log Message: ----------- Make plplot_functions module available to the CMake-based build system for the installed examples. This allows proper handling of OUTPUT attributes of custom commands for that build system. Modified Paths: -------------- trunk/examples/CMakeLists.txt trunk/examples/plplot_configure.cmake_installed_examples.in Modified: trunk/examples/CMakeLists.txt =================================================================== --- trunk/examples/CMakeLists.txt 2011-10-14 04:10:36 UTC (rev 11961) +++ trunk/examples/CMakeLists.txt 2011-10-14 04:15:41 UTC (rev 11962) @@ -277,6 +277,12 @@ RENAME plplot_configure.cmake ) + # function support for CMake-based build system for installed examples. + install(FILES + ${CMAKE_SOURCE_DIR}/cmake/modules/plplot_functions.cmake + DESTINATION ${DATA_DIR}/examples/cmake/modules + ) + # pkg-config support for CMake-based build system for installed examples. install(FILES ${CMAKE_SOURCE_DIR}/cmake/modules/pkg-config.cmake Modified: trunk/examples/plplot_configure.cmake_installed_examples.in =================================================================== --- trunk/examples/plplot_configure.cmake_installed_examples.in 2011-10-14 04:10:36 UTC (rev 11961) +++ trunk/examples/plplot_configure.cmake_installed_examples.in 2011-10-14 04:15:41 UTC (rev 11962) @@ -6,6 +6,11 @@ set(CORE_BUILD OFF) # ======================================================================= +# Useful functions. +# ======================================================================= +include(plplot_functions) + +# ======================================================================= # pkg-config support as well as macros to put link flags in standard # *.pc (pkg-config) form as well as standard fullpath form used by cmake. # PKG_CONFIG_EXECUTABLE can be used to discover whether pkg-config was This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |