[Insight-developers] Doxygen EXAMPLE_PATH and modularization ?
    Brad King 
    brad.king at kitware.com
       
    Wed Mar 30 17:42:42 EDT 2011
    
    
  
On 03/30/2011 05:08 PM, Arnaud GELAS wrote:
> Hi all,
> 
> In the doxygen documentation, there are references to tests.
> 
> And we need to edit the doxygen variable EXAMPLE_PATH in consequence 
> (Examples directory as well as test directory from each module, apart 
> from 3rd part libraries). Note that doxygen expects to find tests and 
> examples in the EXAMPLE_PATH (or subdirs).
> 
> Is there any cmake variable that could help, or that could be used to 
> fill the EXAMPLE_PATH doxygen variable?
In the top-level CMakeLists.txt file move this block:
  #----------------------------------------------------------------------
  # Provide an option for generating documentation.
  add_subdirectory(Utilities/Doxygen)
to the bottom of the file.  Then add this in Utilities/Doxygen/CMakeLists.txt:
  foreach(itk-module ${ITK_MODULES_ALL})
    if(${itk-module}_IS_TEST)
      list(APPEND DOXYGEN_TEST_DIRS "${${itk-module}_SOURCE_DIR}")
    endif()
  endforeach()
-Brad
    
    
More information about the Insight-developers
mailing list