]> git.uio.no Git - u/mrichter/AliRoot.git/blob - doxygen/CMakeLists.txt
Generation of dictionaries and rootmaps with Root6
[u/mrichter/AliRoot.git] / doxygen / CMakeLists.txt
1 # **************************************************************************
2 # * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3 # *                                                                        *
4 # * Author: The ALICE Off-line Project.                                    *
5 # * Contributors are mentioned in the code where appropriate.              *
6 # *                                                                        *
7 # * Permission to use, copy, modify and distribute this software and its   *
8 # * documentation strictly for non-commercial purposes is hereby granted   *
9 # * without fee, provided that the above copyright notice appears in all   *
10 # * copies and that both the copyright notice and this permission notice   *
11 # * appear in the supporting documentation. The authors make no claims     *
12 # * about the suitability of this software for any purpose. It is          *
13 # * provided "as is" without express or implied warranty.                  *
14 # **************************************************************************
15
16 if(CAN_GENERATE_DOC)
17
18     # prepare Doxygen config from template
19     configure_file(
20         ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
21         ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
22         @ONLY
23     )
24
25     # generate doc in build dir by using "make doxygen"
26     add_custom_target(doxygen
27         ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
28         WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
29         COMMENT "Generating AliRoot reference manual using Doxygen"
30         VERBATIM
31     )
32
33 endif(CAN_GENERATE_DOC)