File: BuildGtkDataboxMM.cmake

package info (click to toggle)
ycm-cmake-modules 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,640 kB
  • sloc: python: 319; sh: 181; makefile: 22
file content (32 lines) | stat: -rw-r--r-- 1,223 bytes parent folder | download
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
# SPDX-FileCopyrightText: 2012-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

#[=======================================================================[.rst:
BuildGtkDataboxMM
-----------------

GtkDataboxMM
#]=======================================================================]

include(YCMEPHelper)
include(ExternalProject)

find_or_build_package(GtkDatabox QUIET)
if(COMMAND set_package_properties)
    set_package_properties(GtkDatabox PROPERTIES PURPOSE "Used by GtkDatabox")
endif()

ycm_ep_helper(GtkDataboxMM TYPE GIT
                           STYLE SOURCEFORGE
                           REPOSITORY gtkdataboxmm/code
                           DEPENDS GtkDatabox
                           TAG v0.9.4
                           CONFIGURE_COMMAND <SOURCE_DIR>/configure --enable-maintainer-mode --prefix=<INSTALL_DIR>)

externalproject_add_step(GtkDataboxMM prepare
                         COMMAND NOCONFIGURE=1 <SOURCE_DIR>/autogen.sh
                         WORKING_DIRECTORY <SOURCE_DIR>
                         COMMENT "Performing prepare step (autogen.sh) for 'GtkDataboxMM'"
                         DEPENDEES update
                         DEPENDERS configure)