Statistics
| Branch: | Tag: | Revision:

root / gr-vocoder / swig / CMakeLists.txt @ 3017c8ea

History | View | Annotate | Download (1.8 kB)

1
# Copyright 2011 Free Software Foundation, Inc.
2
#
3
# This file is part of GNU Radio
4
#
5
# GNU Radio is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3, or (at your option)
8
# any later version.
9
#
10
# GNU Radio is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with GNU Radio; see the file COPYING.  If not, write to
17
# the Free Software Foundation, Inc., 51 Franklin Street,
18
# Boston, MA 02110-1301, USA.
19
20
########################################################################
21
# Setup swig generation
22
########################################################################
23
INCLUDE(GrPython)
24
INCLUDE(GrSwig)
25
26
SET(GR_SWIG_INCLUDE_DIRS
27
    ${GR_VOCODER_INCLUDE_DIRS}
28
    ${GNURADIO_CORE_SWIG_INCLUDE_DIRS}
29
)
30
31
SET(GR_SWIG_LIBRARIES gnuradio-vocoder)
32
33
GR_SWIG_MAKE(vocoder_swig vocoder_swig.i)
34
35
GR_SWIG_INSTALL(
36
    TARGETS vocoder_swig
37
    DESTINATION ${GR_PYTHON_DIR}/gnuradio/vocoder
38
    COMPONENT "vocoder_python"
39
)
40
41
INSTALL(
42
    FILES
43
    vocoder_alaw_decode_bs.i
44
    vocoder_alaw_encode_sb.i
45
    vocoder_codec2_decode_ps.i
46
    vocoder_codec2_encode_sp.i
47
    vocoder_cvsd_decode_bs.i
48
    vocoder_cvsd_encode_sb.i
49
    vocoder_g721_decode_bs.i
50
    vocoder_g721_encode_sb.i
51
    vocoder_g723_24_decode_bs.i
52
    vocoder_g723_24_encode_sb.i
53
    vocoder_g723_40_decode_bs.i
54
    vocoder_g723_40_encode_sb.i
55
    vocoder_gsm_fr_encode_sp.i
56
    vocoder_gsm_fr_decode_ps.i
57
    vocoder_ulaw_decode_bs.i
58
    vocoder_ulaw_encode_sb.i
59
    DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig
60
    COMPONENT "vocoder_swig"
61
)