~chasedouglas/+junk/client-lib

« back to all changes in this revision

Viewing changes to lib/CMakeLists.txt

  • Committer: Chase Douglas
  • Date: 2012-07-20 22:52:05 UTC
  • Revision ID: chase.douglas@canonical.com-20120720225205-1k5u0qkns0n81ff5
Initial C library API

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright © 2012 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: Chase Douglas <chase.douglas@canonical.com>
 
16
 
 
17
find_program(DOXYGEN doxygen)
 
18
if("${DOXYGEN}" STREQUAL "DOXYGEN-NOTFOUND")
 
19
    message(SEND_ERROR "Failed to find doxygen")
 
20
endif()
 
21
 
 
22
add_custom_target(doc ALL
 
23
                  ${DOXYGEN}
 
24
                  COMMENT "Generating client library documentation"
 
25
                  VERBATIM
 
26
                  SOURCES "include/mir/mir.h")