forked from fblumenthal/buildem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doxygen.cmake
35 lines (28 loc) · 934 Bytes
/
doxygen.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Install doxygen from source
#
if (NOT doxygen_NAME)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
include (ExternalProject)
include (ExternalSource)
include (BuildSupport)
external_source (doxygen
1.8.2
doxygen-1.8.2.src.tar.gz
6fa7baf995fa3f71cfc09e264ba88a83
http://ftp.stack.nl/pub/users/dimitri)
message ("Installing ${doxygen_NAME} into FlyEM build area: ${BUILDEM_DIR} ...")
ExternalProject_Add(${doxygen_NAME}
PREFIX ${BUILDEM_DIR}
URL ${doxygen_URL}
URL_MD5 ${doxygen_MD5}
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ${BUILDEM_ENV_STRING} ./configure
--prefix ${BUILDEM_DIR}
BUILD_COMMAND ${BUILDEM_ENV_STRING} $(MAKE)
BUILD_IN_SOURCE 1
INSTALL_COMMAND ${BUILDEM_ENV_STRING} $(MAKE) install
)
set_target_properties(${doxygen_NAME} PROPERTIES EXCLUDE_FROM_ALL ON)
endif (NOT doxygen_NAME)