From: <ai...@us...> - 2010-03-05 17:47:28
|
Revision: 10849 http://plplot.svn.sourceforge.net/plplot/?rev=10849&view=rev Author: airwin Date: 2010-03-05 17:47:22 +0000 (Fri, 05 Mar 2010) Log Message: ----------- Implement test_pyqt4_example interactive target which the test_interactive target depends upon. This works for both the build tree and the installed examples tree. Modified Paths: -------------- trunk/examples/CMakeLists.txt Modified: trunk/examples/CMakeLists.txt =================================================================== --- trunk/examples/CMakeLists.txt 2010-03-05 17:45:48 UTC (rev 10848) +++ trunk/examples/CMakeLists.txt 2010-03-05 17:47:22 UTC (rev 10849) @@ -652,6 +652,32 @@ endif(ENABLE_cxx) + if(ENABLE_pyqt4) + if(CORE_BUILD) + add_custom_target(test_pyqt4_example + COMMAND ${CMAKE_CURRENT_BINARY_DIR}/python/pyqt4_example.py + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/python + ) + add_dependencies(test_pyqt4_example + plplot_pyqt4 + python_examples + _plplotcmodule + qt + ) + else(CORE_BUILD) + add_custom_target(test_pyqt4_example + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/python/pyqt4_example.py + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python + ) + add_dependencies(test_pyqt4_example + plplot_pyqt4 + _plplotcmodule + qt + ) + endif(CORE_BUILD) + list(APPEND interactive_targets_LIST test_pyqt4_example) + endif(ENABLE_pyqt4) + if(ENABLE_pygcw) if(CORE_BUILD) add_custom_target(test_pygcw This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |