Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7309 for code/branches/doc/src


Ignore:
Timestamp:
Sep 1, 2010, 11:51:39 AM (14 years ago)
Author:
rgrieder
Message:

Strip correct paths from includes in Doxygen. That only affects the include file denoted for the documentation of a symbol (like a class).
That way the documentation already shows the correct path in order to include the file required to use the class in question.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/CMakeLists.txt

    r7224 r7309  
    116116ADD_SUBDIRECTORY(modules)
    117117
    118 ################ Executable ################
     118################## Executable ###################
    119119
    120120INCLUDE_DIRECTORIES(
     
    161161  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox-main.vcproj.user")
    162162ENDIF(MSVC)
     163
     164#################### Doxygen ####################
     165
     166# Prepare include paths for Doxygen. This is necessary to display
     167# the correct path to use when including a file, e.g.
     168# core/XMLPort.h instead of src/core/XMLPort.h
     169
     170INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/modules)
     171GET_DIRECTORY_PROPERTY(_temp INCLUDE_DIRECTORIES)
     172# Replace ';' by spaces
     173STRING(REPLACE ";" " " _temp "${_temp}")
     174SET(DOXYGEN_INCLUDE_DIRECTORIES "${_temp}" PARENT_SCOPE)
Note: See TracChangeset for help on using the changeset viewer.