From: <ai...@us...> - 2010-06-16 18:07:16
|
Revision: 11077 http://plplot.svn.sourceforge.net/plplot/?rev=11077&view=rev Author: airwin Date: 2010-06-16 18:07:09 +0000 (Wed, 16 Jun 2010) Log Message: ----------- Implement the test_tcl_standard_examples target (which can be run independently or as a dependency of the test_interactive target) to run Arjen's new examples/tcl/standard_examples(.in) script. Modified Paths: -------------- trunk/examples/CMakeLists.txt Modified: trunk/examples/CMakeLists.txt =================================================================== --- trunk/examples/CMakeLists.txt 2010-06-16 18:04:26 UTC (rev 11076) +++ trunk/examples/CMakeLists.txt 2010-06-16 18:07:09 UTC (rev 11077) @@ -845,6 +845,33 @@ list(APPEND interactive_targets_LIST test_pygcw) endif(ENABLE_pygcw) + if(ENABLE_tcl) + if(CORE_BUILD) + add_custom_target(test_tcl_standard_examples + COMMAND ${CMAKE_CURRENT_BINARY_DIR}/tcl/standard_examples -dev xwin -np + DEPENDS ${xwin_target} + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tcl + ) + else(CORE_BUILD) + add_custom_target(test_tcl_standard_examples + COMMAND ${CMAKE_CURRENT_BINARY_DIR}/tcl/standard_examples -dev xwin -np + DEPENDS ${xwin_target} + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tcl + ) + endif(CORE_BUILD) + add_dependencies(test_tcl_standard_examples + pltcl + tcl_examples + tclIndex_tcl + xwin + ) + if(FILE_DEPENDS_xwin) + add_dependencies(test_tcl_standard_examples test_xwin_dyndriver) + endif(FILE_DEPENDS_xwin) + list(APPEND interactive_targets_LIST ${test_tcl_standard_examples}) + + endif(ENABLE_tcl) + if(ENABLE_tk AND PLD_tk) set(targets_examples_tk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |