2011-12-15 02:17:16 +08:00
|
|
|
# Copyright 2011 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is part of GNU Radio
|
|
|
|
#
|
|
|
|
# GNU Radio is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# GNU Radio is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with GNU Radio; see the file COPYING. If not, write to
|
|
|
|
# the Free Software Foundation, Inc., 51 Franklin Street,
|
|
|
|
# Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# Include python install macros
|
|
|
|
########################################################################
|
|
|
|
include(GrPython)
|
|
|
|
if(NOT PYTHONINTERP_FOUND)
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# Install python sources
|
|
|
|
########################################################################
|
|
|
|
GR_PYTHON_INSTALL(
|
|
|
|
FILES
|
|
|
|
__init__.py
|
|
|
|
altitude.py
|
2012-10-10 14:46:02 +08:00
|
|
|
az_map.py
|
2011-12-15 02:17:16 +08:00
|
|
|
cpr.py
|
2013-06-21 14:05:41 +08:00
|
|
|
html_template.py
|
2011-12-15 02:17:16 +08:00
|
|
|
mlat.py
|
2012-07-17 10:27:09 +08:00
|
|
|
exceptions.py
|
|
|
|
flightgear.py
|
|
|
|
gui_model.py
|
|
|
|
kml.py
|
2019-09-18 05:13:51 +08:00
|
|
|
modes_types.py
|
2012-07-17 10:27:09 +08:00
|
|
|
parse.py
|
|
|
|
msprint.py
|
2013-05-28 10:50:42 +08:00
|
|
|
radio.py
|
2012-07-17 10:27:09 +08:00
|
|
|
raw_server.py
|
2012-10-16 00:27:22 +08:00
|
|
|
rx_path.py
|
2012-07-17 10:27:09 +08:00
|
|
|
sbs1.py
|
|
|
|
sql.py
|
2013-06-03 20:38:26 +08:00
|
|
|
zmq_socket.py
|
2012-06-13 22:49:22 +08:00
|
|
|
Quaternion.py
|
2011-12-15 02:17:16 +08:00
|
|
|
DESTINATION ${GR_PYTHON_DIR}/air_modes
|
|
|
|
)
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# Handle the unit tests
|
|
|
|
########################################################################
|
|
|
|
#include(GrTest)
|
|
|
|
|
|
|
|
#set(GR_TEST_TARGET_DEPS gnuradio-gr-air-modes)
|
|
|
|
#set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig)
|
|
|
|
#GR_ADD_TEST(qa_gr-air-modes ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_gr-air-modes.py)
|