Statistics
| Branch: | Tag: | Revision:

root / host / utils / CMakeLists.txt @ b96088b6

History | View | Annotate | Download (1.9 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
# Utilities that get installed into the runtime path
20
########################################################################
21
ADD_EXECUTABLE(uhd_find_devices uhd_find_devices.cpp)
22
TARGET_LINK_LIBRARIES(uhd_find_devices uhd)
23

    
24
ADD_EXECUTABLE(uhd_usrp_probe uhd_usrp_probe.cpp)
25
TARGET_LINK_LIBRARIES(uhd_usrp_probe uhd)
26

    
27
INSTALL(TARGETS
28
    uhd_find_devices
29
    uhd_usrp_probe
30
    RUNTIME DESTINATION ${RUNTIME_DIR}
31
)
32

    
33
########################################################################
34
# Utilities that get installed into the share path
35
########################################################################
36
ADD_EXECUTABLE(usrp2_addr_burner usrp2_addr_burner.cpp)
37
TARGET_LINK_LIBRARIES(usrp2_addr_burner uhd)
38

    
39
ADD_EXECUTABLE(usrp_burn_db_eeprom usrp_burn_db_eeprom.cpp)
40
TARGET_LINK_LIBRARIES(usrp_burn_db_eeprom uhd)
41

    
42
ADD_EXECUTABLE(usrp_init_eeprom usrp_init_eeprom.cpp)
43
TARGET_LINK_LIBRARIES(usrp_init_eeprom uhd)
44

    
45
INSTALL(TARGETS
46
    usrp2_addr_burner
47
    usrp_burn_db_eeprom
48
    usrp_init_eeprom
49
    RUNTIME DESTINATION ${PKG_DATA_DIR}/utils
50
)
51

    
52
INSTALL(PROGRAMS
53
    usrp2_recovery.py
54
    usrp2_card_burner.py
55
    usrp2_card_burner_gui.py
56
    DESTINATION ${PKG_DATA_DIR}/utils
57
)