~csiro-asl/small/release-1.0

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Brett Grandbois
  • Date: 2011-07-28 05:12:33 UTC
  • Revision ID: brett.grandbois@csiro.au-20110728051233-nnn1edmhlznrd39t
remove the old internal packaging configuration and make it more generic
for general distribution

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
# Doxygen
33
33
 
34
 
SET(DocDir ${CMAKE_CURRENT_SOURCE_DIR}/doc})
 
34
SET(DocDir ${CMAKE_CURRENT_SOURCE_DIR}/doc)
35
35
FIND_PACKAGE(Doxygen)
36
36
IF(DOXYGEN_FOUND)
37
37
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
38
38
add_custom_target(doc
39
39
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
40
 
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
 
40
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
41
41
COMMENT "Generating API documentation with Doxygen" VERBATIM
42
42
)
43
43
endif(DOXYGEN_FOUND)