summaryrefslogtreecommitdiff
path: root/gr-qtgui
diff options
context:
space:
mode:
authorTom Rondeau2011-10-24 21:01:51 -0400
committerTom Rondeau2011-10-24 21:01:51 -0400
commit7e8b95702f80662aa62ea885d5b1c0e9c1fd0e44 (patch)
tree482d2e06f2b480f8ce432392ddf40576ef99183c /gr-qtgui
parent1c51b4166f80147b179670ae015f445e9ef5103a (diff)
downloadgnuradio-7e8b95702f80662aa62ea885d5b1c0e9c1fd0e44.tar.gz
gnuradio-7e8b95702f80662aa62ea885d5b1c0e9c1fd0e44.tar.bz2
gnuradio-7e8b95702f80662aa62ea885d5b1c0e9c1fd0e44.zip
examples: making both autotools and cmake install all the same examples.
Diffstat (limited to 'gr-qtgui')
-rw-r--r--gr-qtgui/CMakeLists.txt1
-rw-r--r--gr-qtgui/examples/CMakeLists.txt29
2 files changed, 30 insertions, 0 deletions
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"
+)