File: CMakeLists.txt

package info (click to toggle)
gr-funcube 3.10.0~rc3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,048 kB
  • sloc: python: 9,614; cpp: 1,058; ansic: 26; xml: 18; makefile: 7
file content (31 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (4)
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
# Copyright 2020 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

GR_PYTHON_CHECK_MODULE_RAW(
    "pygccxml"
    "import pygccxml"
    PYGCCXML_FOUND
    )

include(GrPybind)

########################################################################
# Python Bindings
########################################################################

list(APPEND funcube_python_files
    fcd_control_python.cc
    fcd_python.cc
    fcdpp_control_python.cc
    fcdpp_python.cc python_bindings.cc)

GR_PYBIND_MAKE_OOT(funcube 
   ../..
   gr::funcube
   "${funcube_python_files}")

install(TARGETS funcube_python DESTINATION ${GR_PYTHON_DIR}/funcube COMPONENT pythonapi)