~ci-train-bot/location-service/location-service-ubuntu-yakkety-1895

« back to all changes in this revision

Viewing changes to doc/CMakeLists.txt

  • Committer: Thomas Voß
  • Date: 2013-05-28 14:20:45 UTC
  • Revision ID: thomas.voss@canonical.com-20130528142045-kq5umqdmm4o53vwk
Initial push.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright © 2013 Canonical Ltd.
 
2
#
 
3
# This program is free software: you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License version 3 as
 
5
# published by the Free Software Foundation.
 
6
#
 
7
# This program is distributed in the hope that it will be useful,
 
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
# GNU General Public License for more details.
 
11
#
 
12
# You should have received a copy of the GNU General Public License
 
13
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
14
#
 
15
# Authored by: Thomas Voss <thomas.voss@canonical.com>
 
16
 
 
17
find_package(Doxygen)
 
18
 
 
19
if(DOXYGEN_FOUND)
 
20
  configure_file(
 
21
    ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in 
 
22
    ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
 
23
  add_custom_target(doc ALL 
 
24
    ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
 
25
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
 
26
    COMMENT "Generating API documentation with Doxygen" VERBATIM)
 
27
  install(
 
28
    DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
 
29
    DESTINATION share/LocationService/doc)
 
30
endif(DOXYGEN_FOUND)
 
 
b'\\ No newline at end of file'