我正在尝试使用 Doxygen GUI 为我的 iPhone 项目生成文档。其中有一个选项为“选择编程语言以优化结果”。在这个选项中,我找不到 Objective C 选项。当我运行氧气时,它只显示空的 HTML 文件。
请说清楚..!下面是屏幕截图...
我正在尝试使用 Doxygen GUI 为我的 iPhone 项目生成文档。其中有一个选项为“选择编程语言以优化结果”。在这个选项中,我找不到 Objective C 选项。当我运行氧气时,它只显示空的 HTML 文件。
请说清楚..!下面是屏幕截图...
您可以查看您的Doxyfile
(文本配置文件)。使用注释生成时,该部分如下所示:
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
# sources only. Doxygen will then generate output that is more tailored for C.
# For instance, some of the names that are used will be different. The list
# of all members will be omitted, etc.
OPTIMIZE_OUTPUT_FOR_C = NO
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
# sources only. Doxygen will then generate output that is more tailored for
# Java. For instance, namespaces will be presented as packages, qualified
# scopes will look different, etc.
OPTIMIZE_OUTPUT_JAVA = NO
# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
# sources only. Doxygen will then generate output that is more tailored for
# Fortran.
OPTIMIZE_FOR_FORTRAN = NO
# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
# sources. Doxygen will then generate output that is tailored for
# VHDL.
OPTIMIZE_OUTPUT_VHDL = NO
# Doxygen selects the parser to use depending on the extension of the files it
# parses. With this tag you can assign which parser to use for a given
# extension. Doxygen has a built-in mapping, but you can override or extend it
# using this tag. The format is ext=language, where ext is a file extension,
# and language is one of the parsers supported by doxygen: IDL, Java,
# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C,
# C++. For instance to make doxygen treat .inc files as Fortran files (default
# is PHP), and .f files as C (default is Fortran), use: inc=Fortran f=C. Note
# that for custom extensions you also need to set FILE_PATTERNS otherwise the
# files are not read by doxygen.
EXTENSION_MAPPING =
显然,Objective-C 是一种选择。向导不会反映它。但是,手动设置它很容易。