piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 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 | # Include python install macros |
| 22 | ######################################################################## |
| 23 | include(GrPython) |
| 24 | if(NOT PYTHONINTERP_FOUND) |
| 25 | return() |
| 26 | endif() |
| 27 | |
| 28 | ######################################################################## |
| 29 | # Install python sources |
| 30 | ######################################################################## |
| 31 | GR_PYTHON_INSTALL( |
| 32 | FILES |
| 33 | __init__.py |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 34 | receiver/gsm_input.py |
Piotr K | 66bb3cd | 2014-08-13 19:04:57 +0200 | [diff] [blame] | 35 | receiver/fcch_burst_tagger.py |
| 36 | receiver/sch_detector.py |
| 37 | receiver/fcch_detector.py |
| 38 | receiver/chirpz.py |
ptrkrysik | 3be74a7 | 2014-12-13 10:11:00 +0100 | [diff] [blame] | 39 | misc_utils/clock_offset_corrector.py DESTINATION ${GR_PYTHON_DIR}/grgsm |
piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 40 | ) |
| 41 | |
| 42 | ######################################################################## |
| 43 | # Handle the unit tests |
| 44 | ######################################################################## |
piotr | 7f3f366 | 2014-07-08 16:47:53 +0200 | [diff] [blame] | 45 | #include(GrTest) |
piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 46 | |
piotr | 7f3f366 | 2014-07-08 16:47:53 +0200 | [diff] [blame] | 47 | #set(GR_TEST_TARGET_DEPS gnuradio-gsm) |
| 48 | #set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/swig) |
| 49 | #GR_ADD_TEST(qa_receiver ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_receiver.py) |
| 50 | #GR_ADD_TEST(qa_receiver_hier ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_receiver_hier.py) |
ptrkrysik | 18b631e | 2014-12-15 09:09:18 +0100 | [diff] [blame] | 51 | #GR_ADD_TEST(qa_decryption ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_decryption.py) |
| 52 | #GR_ADD_TEST(qa_decryption ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qa_decryption.py) |