2

同じ名前の 2 つのファイルがありますが、2 つの異なるディレクトリにあります。

 graphic_test ---semLib.c
               |
               |
               -- vxWorksApi---semLib.c

DoxygenでHtmlを構築したい。これはファイル semLib.c のヘッダーです。

 /**
 * @file    semLib.c
*/

と、こんなメッセージを頂きました

 Multiple markers at this line
        - the name `semLib.c' supplied as the second argument in the \file statement matches the following input files: /home/linuxdev/
         Linux_Development_Workspace/graphic_tests/graphic_test/semLib.c /home/linuxdev/Linux_Development_Workspace/graphic_tests/vxWorksApi/semLib.c
        - Line breakpoint: semLib.c [line: 2]

どうすればこれを回避できますか?

4

2 に答える 2

1

コマンドdoxygenドキュメント\fileから(私の強調):

\file

コメントブロックに、名前が.のソースファイルまたはヘッダーファイルのドキュメントが含まれていることを示します<name>ファイル名だけが一意でない場合、ファイル名にはパス(の一部)が含まれる場合があります。

したがって、適切なファイルで\file semLib.cおよびを使用してみてください。\file vxWorksApi/semLib.c

于 2012-09-25T10:48:50.567 に答える