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 | include(GrPython) |
| 21 | |
Piotr Krysik | 3558208 | 2015-09-02 21:49:12 +0200 | [diff] [blame] | 22 | #SET(APPS_DIR ${CMAKE_SOURCE_DIR}/apps) |
Piotr Krysik | 242522f | 2015-08-13 10:51:59 +0200 | [diff] [blame] | 23 | |
Piotr Krysik | 3558208 | 2015-09-02 21:49:12 +0200 | [diff] [blame] | 24 | #SET(GRCC_COMMAND ${PC_GNURADIO_RUNTIME_PREFIX}/${GR_RUNTIME_DIR}/grcc) |
| 25 | #SET(BLOCK_PATH ../grc/) |
Piotr Krysik | 242522f | 2015-08-13 10:51:59 +0200 | [diff] [blame] | 26 | |
Piotr Krysik | 3558208 | 2015-09-02 21:49:12 +0200 | [diff] [blame] | 27 | #ADD_CUSTOM_TARGET(airprobe_file.py ALL) |
| 28 | #ADD_CUSTOM_COMMAND( |
| 29 | # TARGET airprobe_file.py |
| 30 | # COMMAND GRC_BLOCKS_PATH=${BLOCK_PATH} ${GRCC_COMMAND} -d ${CMAKE_CURRENT_BINARY_DIR} |
| 31 | # ARGS "airprobe_file.grc" |
| 32 | # WORKING_DIRECTORY ${APPS_DIR} |
| 33 | #) |
Piotr Krysik | 242522f | 2015-08-13 10:51:59 +0200 | [diff] [blame] | 34 | |
Piotr Krysik | 3558208 | 2015-09-02 21:49:12 +0200 | [diff] [blame] | 35 | #ADD_CUSTOM_TARGET(airprobe_rtlsdr.py ALL) |
| 36 | #ADD_CUSTOM_COMMAND( |
| 37 | # TARGET airprobe_rtlsdr.py |
| 38 | # COMMAND GRC_BLOCKS_PATH=${BLOCK_PATH} ${GRCC_COMMAND} -d ${CMAKE_CURRENT_BINARY_DIR} |
| 39 | # ARGS "airprobe_rtlsdr.grc" |
| 40 | # WORKING_DIRECTORY ${APPS_DIR} |
| 41 | #) |
Piotr Krysik | 20d2de4 | 2015-08-17 14:19:59 +0200 | [diff] [blame] | 42 | |
piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 43 | GR_PYTHON_INSTALL( |
Piotr Krysik | 20d2de4 | 2015-08-17 14:19:59 +0200 | [diff] [blame] | 44 | PROGRAMS |
Piotr Krysik | 3558208 | 2015-09-02 21:49:12 +0200 | [diff] [blame] | 45 | # ${CMAKE_CURRENT_BINARY_DIR}/airprobe_rtlsdr.py |
| 46 | airprobe_rtlsdr.py |
| 47 | airprobe_decode.py |
Piotr Krysik | c17d9a2 | 2015-09-05 02:13:52 +0200 | [diff] [blame] | 48 | airprobe_rtlsdr_capture.py |
Roman Khassraf | 1e68717 | 2015-09-27 11:29:12 +0200 | [diff] [blame] | 49 | airprobe_rtlsdr_scanner.py |
piotr | 437f546 | 2014-02-04 17:57:25 +0100 | [diff] [blame] | 50 | DESTINATION bin |
| 51 | ) |