README.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Ifacecheck utility
  2. ==================
  3. 1) INTRODUCTION
  4. This utility compares the wxWidgets real interface contained in the "include"
  5. hierarchy with the wxWidgets interface used for documentation purposes and
  6. kept in the "interface" hierarchy.
  7. Ifacecheck warns about incoherences (mainly wrong prototype signatures) and
  8. can even correct them automatically. It uses the XML outputs of the gccxml utility
  9. (see http://www.gccxml.org) and of the Doxygen utility (see http://www.doxygen.org)
  10. to do the comparison.
  11. It's explicitly designed for wxWidgets documentation needs and is probably of little
  12. use for anything else than wxWidgets docs reviewing.
  13. 2) PREREQUISITES FOR USING IT
  14. To use this utility you'll need at least:
  15. - wxWidgets "include" and "interface" headers tree
  16. - Doxygen installed
  17. - Gccxml installed
  18. 3) HOW TO USE IT (on Linux)
  19. First, create the doxygen XML:
  20. > cd docs/doxygen
  21. > ./regen.sh xml
  22. > cd ../..
  23. Next, create the gcc XML:
  24. > ./configure # configure wxWidgets as you would do when building it
  25. > cd utils/ifacecheck
  26. > ./rungccxml.sh
  27. > cd ../..
  28. Last, build and run ifacecheck:
  29. > cd utils/ifacecheck/src
  30. > make
  31. > make install
  32. > cd ..
  33. > ifacecheck -u wxapi-preproc.txt wxapi.xml ../../docs/doxygen/out/xml/index.xml >ifacecheck.log
  34. Now you should have the log of the utility saved in 'ifacecheck.log'.
  35. Its contents should be easy to interpret.
  36. For more info about ifacecheck options just type:
  37. > ifacecheck --help