From: <ai...@us...> - 2009-10-24 20:36:47
|
Revision: 10549 http://plplot.svn.sourceforge.net/plplot/?rev=10549&view=rev Author: airwin Date: 2009-10-24 20:36:39 +0000 (Sat, 24 Oct 2009) Log Message: ----------- Create test_c_extcairo target and add it to test_noninteractive target dependencies. Modified Paths: -------------- trunk/examples/CMakeLists.txt Modified: trunk/examples/CMakeLists.txt =================================================================== --- trunk/examples/CMakeLists.txt 2009-10-24 17:26:14 UTC (rev 10548) +++ trunk/examples/CMakeLists.txt 2009-10-24 20:36:39 UTC (rev 10549) @@ -544,6 +544,19 @@ list(APPEND noninteractive_targets_LIST test_c_${device}) endforeach(file_devices_info ${FILE_DEVICES_LIST}) + if(PLD_extcairo) + get_target_property(ext-cairo-test_LOCATION ext-cairo-test LOCATION) + add_custom_command( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ext-cairo-test.ps + COMMAND ${ext-cairo-test_LOCATION} + DEPENDS ext-cairo-test + ) + add_custom_target(test_c_extcairo + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ext-cairo-test.ps + ) + list(APPEND noninteractive_targets_LIST test_c_extcairo) + endif(PLD_extcairo) + add_custom_target(test_noninteractive) if(noninteractive_targets_LIST) add_dependencies(test_noninteractive ${noninteractive_targets_LIST}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |