From: <ai...@us...> - 2014-01-29 16:52:38
|
Revision: 12972 http://sourceforge.net/p/plplot/code/12972 Author: airwin Date: 2014-01-29 16:52:35 +0000 (Wed, 29 Jan 2014) Log Message: ----------- Adjust to new version of H?\199?\142ili?\195?\160ng W?\195?\161ng's check programme which now has a -incdir argument to specify where the configured headers included by plplot.h are located. This change in "check" means it is no longer necessary to copy plplot.h from the source to the build directory in order to get this application to work. Tested on Linux using the check_api_xml_consistency target which still produces a clean result on the consistency of api.xml with our API as defined by plplot.h. Modified Paths: -------------- trunk/doc/docbook/src/CMakeLists.txt Modified: trunk/doc/docbook/src/CMakeLists.txt =================================================================== --- trunk/doc/docbook/src/CMakeLists.txt 2014-01-29 02:27:57 UTC (rev 12971) +++ trunk/doc/docbook/src/CMakeLists.txt 2014-01-29 16:52:35 UTC (rev 12972) @@ -36,12 +36,7 @@ find_program(API_XML_CONSISTENCY_CHECKER api.xml_consistency_checker) if(API_XML_CONSISTENCY_CHECKER) add_custom_target(check_api_xml_consistency - # Currently the checker needs plplot.h to be in the same directory - # as the configured header files. - COMMAND ${CMAKE_COMMAND} -E copy_if_different - ${CMAKE_SOURCE_DIR}/include/plplot.h - ${CMAKE_BINARY_DIR}/include/plplot.h - COMMAND ${API_XML_CONSISTENCY_CHECKER} -header=${CMAKE_BINARY_DIR}/include/plplot.h -apixml=${CMAKE_SOURCE_DIR}/doc/docbook/src/api.xml + COMMAND ${API_XML_CONSISTENCY_CHECKER} -header=${CMAKE_SOURCE_DIR}/include/plplot.h -incdir=${CMAKE_BINARY_DIR}/include -apixml=${CMAKE_SOURCE_DIR}/doc/docbook/src/api.xml ) else(API_XML_CONSISTENCY_CHECKER) message(STATUS "WARNING: cannot find the api.xml_consistency_checker application so cannot check the consistency of api.xml with plplot.h") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |