Menu

pas2dox using doxywizard

Help
2004-05-18
2025-05-01
  • Simon Pearson

    Simon Pearson - 2004-05-18

    I need to setup pas2dox within a doxywizard project.  Is there any setup documentation that I should refer to in either pas2dox or doxygen?  If not, can someone help me with the basic setup.

    Thanks,

    Simon

     
    • Darren Bowles

      Darren Bowles - 2004-05-23

      Hi Simon,

      If you look at the pas2dox readme file, you'll see the following :
      ...
      FILE_PATTERNS = *.pas
      INPUT_FILTER = c:\pas2dox\pas2dox.exe
      FILTER_SOURCE_FILES = YES
      ...

      AFAIK, the DoxyWizard writes away a Doxygen configuration file, so I would expect to see the same options in that application, just change the input filter to your pas2dox directory.

      Hope that helps,
      Darren.

       
  • Scott Welker

    Scott Welker - 2012-12-22

    This may be helpful: http://stackoverflow.com/questions/1673083/delphi-doxygen

    However, I was unable to get things working properly with Delphi 5, pas2dox, and Doxygen. While my .pas files appeared to process without error, the generated documentation just a file listing. Clicking on a listed file presented nothing more than a "source link". Clicking that link browsed to a copy of the full-on file source.

    I had to bail for time.

     
  • Dariana

    Dariana - 2018-04-10

    Hi everyone!
    After discovering your answers, I tried everything that you advice. BUT I cannot get any documentation, just listed files as well. Please, can you help me with this problem(maybe another way to filter the input for Pascal)?

     
  • dwb

    dwb - 2025-05-01

    README in pas2dox-0.50rc1.tar.gz is probably wrong. INPUT_FILTER expects the file content to be piped from standard input rather than the file name specified as a command line argument (pas2dox [-h] [-d] [-k] [-i] [-o] <input_file>). Running doxygen from the source code parent folder of my Delphi 2007 Pascal project with the following doxyfile settings (others improve the output) fixed the output from Files only to Classes.

    INPUT_FILTER=
    FILTER_SOURCE_FILES = NO
    EXTENSION_MAPPING = pas=C++
    FILE_PATTERNS = "*.pas"
    RECURSIVE = YES
    FILTER_PATTERNS = "*.pas=C:\bin\pas2dox-0.50rc1.exe -k"
    
     

    Last edit: dwb 2025-05-02

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.