1 # **************************************************************************
2 # * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4 # * Author: The ALICE Off-line Project. *
5 # * Contributors are mentioned in the code where appropriate. *
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 # **************************************************************************
18 # prepare Doxygen config from template
20 ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
21 ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
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"
33 endif(CAN_GENERATE_DOC)