File: BuildGtkDatabox.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 (26 lines) | stat: -rw-r--r-- 999 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
# SPDX-FileCopyrightText: 2012-2021 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

#[=======================================================================[.rst:
BuildGtkDatabox
---------------

GtkDatabox
#]=======================================================================]

include(YCMEPHelper)
include(ExternalProject)

ycm_ep_helper(GtkDatabox TYPE GIT
                        STYLE SOURCEFORGE
                        REPOSITORY gtkdatabox/git
                        TAG GTK2
                        CONFIGURE_COMMAND <SOURCE_DIR>/configure --enable-maintainer-mode --prefix=<INSTALL_DIR>)

externalproject_add_step(GtkDatabox prepare
                         COMMAND autoreconf --force --install --verbose <SOURCE_DIR>
                         WORKING_DIRECTORY <SOURCE_DIR>
                         COMMENT "Performing prepare step (autogen.sh) for 'GtkDatabox'"
                         DEPENDEES update
                         DEPENDERS configure)