Statistics
| Branch: | Tag: | Revision:

root / host / lib / usrp / usrp1 / CMakeLists.txt @ 47c92a2a

History | View | Annotate | Download (2.03 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
#This file will be included by cmake, use absolute paths!
19

    
20
########################################################################
21
# Conditionally configure the USRP1 support
22
########################################################################
23
LIBUHD_REGISTER_COMPONENT("USRP1" ENABLE_USRP1 ON "ENABLE_LIBUHD;ENABLE_USB" OFF)
24

    
25
IF(ENABLE_USRP1)
26
    INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/../firmware/fx2/common)
27

    
28
    LIBUHD_APPEND_SOURCES(
29
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/clock_ctrl.cpp
30
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/clock_ctrl.hpp
31
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/codec_ctrl.cpp
32
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/codec_ctrl.hpp
33
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/codec_impl.cpp
34
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/dboard_impl.cpp
35
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/dboard_iface.cpp
36
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/dsp_impl.cpp
37
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/io_impl.cpp
38
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/mboard_impl.cpp
39
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/usrp1_iface.cpp
40
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/usrp1_iface.hpp
41
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/usrp1_impl.cpp
42
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/usrp1_impl.hpp
43
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/usrp1_ctrl.cpp
44
        ${CMAKE_SOURCE_DIR}/lib/usrp/usrp1/usrp1_ctrl.hpp
45
    )
46
ENDIF(ENABLE_USRP1)