aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-23 20:44:50 -0700
committerJosh Blum <josh@joshknows.com>2010-03-23 20:44:50 -0700
commit24bd27b90d06820d858c008cff915319873321c5 (patch)
treecadca487d3f804ad73bc0476b3f44a62eb33d306 /host/utils/CMakeLists.txt
parent1aef83037f6a9988b06a547710afbbe5ce815459 (diff)
downloaduhd-24bd27b90d06820d858c008cff915319873321c5.tar.gz
uhd-24bd27b90d06820d858c008cff915319873321c5.tar.bz2
uhd-24bd27b90d06820d858c008cff915319873321c5.zip
Reorganized apps dir into utils and examples dir.
The files get installed into the pkg data directory.
Diffstat (limited to 'host/utils/CMakeLists.txt')
-rw-r--r--host/utils/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/host/utils/CMakeLists.txt b/host/utils/CMakeLists.txt
new file mode 100644
index 000000000..9ac3f3a52
--- /dev/null
+++ b/host/utils/CMakeLists.txt
@@ -0,0 +1,26 @@
+#
+# Copyright 2010 Ettus Research LLC
+#
+# This program 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 of the License, or
+# (at your option) any later version.
+#
+# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+ADD_EXECUTABLE(discover_usrps discover_usrps.cpp)
+TARGET_LINK_LIBRARIES(discover_usrps uhd)
+INSTALL(TARGETS discover_usrps RUNTIME DESTINATION ${RUNTIME_DIR})
+
+ADD_EXECUTABLE(usrp2_burner usrp2_burner.cpp)
+TARGET_LINK_LIBRARIES(usrp2_burner uhd)
+INSTALL(TARGETS usrp2_burner RUNTIME DESTINATION ${PKG_DATA_DIR}/utils)
+
+INSTALL(FILES usrp2_recovery.py DESTINATION ${PKG_DATA_DIR}/utils)