root / host / examples / CMakeLists.txt @ aa4a6b66
History | View | Annotate | Download (1.3 kB)
| 1 |
# |
|---|---|
| 2 |
# Copyright 2010 Ettus Research LLC |
| 3 |
# |
| 4 |
# This program is free software: you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation, either version 3 of the License, or |
| 7 |
# (at your option) any later version. |
| 8 |
# |
| 9 |
# This program is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
# GNU General Public License for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
# |
| 17 |
|
| 18 |
|
| 19 |
ADD_EXECUTABLE(benchmark_rx_rate benchmark_rx_rate.cpp) |
| 20 |
TARGET_LINK_LIBRARIES(benchmark_rx_rate uhd) |
| 21 |
|
| 22 |
ADD_EXECUTABLE(rx_timed_samples rx_timed_samples.cpp) |
| 23 |
TARGET_LINK_LIBRARIES(rx_timed_samples uhd) |
| 24 |
|
| 25 |
ADD_EXECUTABLE(tx_timed_samples tx_timed_samples.cpp) |
| 26 |
TARGET_LINK_LIBRARIES(tx_timed_samples uhd) |
| 27 |
|
| 28 |
ADD_EXECUTABLE(tx_waveforms tx_waveforms.cpp) |
| 29 |
TARGET_LINK_LIBRARIES(tx_waveforms uhd) |
| 30 |
|
| 31 |
ADD_EXECUTABLE(pps_test pps_test.cpp) |
| 32 |
TARGET_LINK_LIBRARIES(pps_test uhd) |
| 33 |
|
| 34 |
INSTALL(TARGETS |
| 35 |
benchmark_rx_rate |
| 36 |
rx_timed_samples |
| 37 |
tx_timed_samples |
| 38 |
tx_waveforms |
| 39 |
pps_test |
| 40 |
RUNTIME DESTINATION ${PKG_DATA_DIR}/examples
|
| 41 |
) |