Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Easy Code Documentation with Xcode
Subject:   Separate target
Date:   2004-09-15 08:49:40
From:   cparnot
I created a separate target for the shell script: the target does not compile anything, it just runs the one shell script to build the documentation (I think in Xcode, it is called an aggregate target?). This way, I don't have Doxygen going through all the files in the source every time I build, and I can rebuild the documentation when I feel the need for it and/or I know I changed something. This makes a big difference for projects larger than the example here.


I have then a related question: is there a way to get Doxygen to be smarter and only scan files that have been modified? It seems it goes through all the files no matter what and rebuild the whole html directory from scratch every time it is called.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Separate target
    2006-03-24 01:34:56  RvA [View]

    I did do this but I get two errors


    /Volumes/Users/rva/Developer/PathDemo/build/PathDemo.build/Development/Documentation.build/Script-B3A7647709D3F1C0004FC3C0.sh: line 2: unexpected EOF while looking for matching `''
    /Volumes/Users/rva/Developer/PathDemo/build/PathDemo.build/Development/Documentation.build/Script-B3A7647709D3F1C0004FC3C0.sh: line 3: syntax error: unexpected end of file



    does some one know how to solve this?

    I see this error even I do it step by step with the discussed settings.

    I'm using XCode 2.2

    Thanks
    • Separate target
      2006-03-24 02:02:59  RvA [View]

      Shame on me!
      Yesterday evening I was busy with this for a hour. checking the docs, the code, the files. Even spaces in the files their path.

      Ahum, but not the path to the Doxygen application itself. There was a space in the path. After putting everything inside "" it runs like it should.

      Hmm, was it coincedence? path problem <=> Pathdemo as the name :-)