From 7e8b95702f80662aa62ea885d5b1c0e9c1fd0e44 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Mon, 24 Oct 2011 21:01:51 -0400 Subject: examples: making both autotools and cmake install all the same examples. --- gr-qtgui/CMakeLists.txt | 1 + gr-qtgui/examples/CMakeLists.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 gr-qtgui/examples/CMakeLists.txt (limited to 'gr-qtgui') diff --git a/gr-qtgui/CMakeLists.txt b/gr-qtgui/CMakeLists.txt index 6a9c39f9d..3e870eee9 100644 --- a/gr-qtgui/CMakeLists.txt +++ b/gr-qtgui/CMakeLists.txt @@ -107,6 +107,7 @@ if(ENABLE_PYTHON) add_subdirectory(grc) add_subdirectory(swig) add_subdirectory(python) + add_subdirectory(examples) endif(ENABLE_PYTHON) ######################################################################## diff --git a/gr-qtgui/examples/CMakeLists.txt b/gr-qtgui/examples/CMakeLists.txt new file mode 100644 index 000000000..30fdc5e75 --- /dev/null +++ b/gr-qtgui/examples/CMakeLists.txt @@ -0,0 +1,29 @@ +# 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(GrPython) + +GR_PYTHON_INSTALL(PROGRAMS + pyqt_example_c.py + pyqt_example_f.py + pyqt_time_c.py + pyqt_time_f.py + DESTINATION ${GR_PKG_DATA_DIR}/examples/qt-gui + COMPONENT "gnuradio_examples" +) -- cgit