Hi Hǎiliàng: With revision 12961 I have implemented the check_api_xml_consistency check target (only configured if the user uses the new -DADD_SPECIAL_CONSISTENCY_CHECKING=ON option which is used for consistency checks that require special dependencies). If ADD_SPECIAL_CONSISTENCY_CHECKING is ON and CMake also finds an executable called api.xml_consistency_checker (set up by the user as a symlink to your built check programme to distinguish it from other possible "check" programmes that might be in the user's PATH), it configures the check_api_xml_consistency target to (1) copy plplot.h from source tree to build tree, and (2) run your programme.
If you could get rid of issue (1) along the lines I suggested previously that would be nice, but not essential. Another would-be-nice is that all the tests your code does should keep track of whether they succeed or fail. Then when all the succeeding and failing tests are completed (as now) if any of them failed, your code should return a non-zero return code to signal one or more of the tests failed. (The user's eyes can pick that up from the error messages concerning inconsistencies, but it is also good on general principles to set a return code as well.) Meanwhile, with the above revision I am now able to conveniently use the check_api_xml_consistency target to check my progress in resolving all these remaining api.xml inconsistencies, and I hope to say more about my progress with that effort later this evening. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel