diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-25 18:32:32 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-25 18:32:32 -0800 |
commit | 5715b2c4937ca094ca8f1d9d9b55c4edcc959981 (patch) | |
tree | 5584017d251a4103a6ebb3d0b504039728d4ddf3 /host/lib/CMakeLists.txt | |
parent | 3571f65a1184dd65be39bc19708cc316fd017497 (diff) | |
download | uhd-5715b2c4937ca094ca8f1d9d9b55c4edcc959981.tar.gz uhd-5715b2c4937ca094ca8f1d9d9b55c4edcc959981.tar.bz2 uhd-5715b2c4937ca094ca8f1d9d9b55c4edcc959981.zip |
Created empty usrp1e cpp file for the case when headers are not found.
Worked on the device make and discovery to fix certain problems.
Added node param to discover usrps for usrp1e, made addr optional.
Diffstat (limited to 'host/lib/CMakeLists.txt')
-rw-r--r-- | host/lib/CMakeLists.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index 253f45614..edfefa127 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -15,7 +15,9 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # - +######################################################################## +# Create a list of libuhd sources +######################################################################## SET(libuhd_sources device.cpp device_addr.cpp @@ -36,6 +38,16 @@ SET(libuhd_sources usrp/usrp2/usrp2_impl.cpp ) +######################################################################## +# Conditionally add the usrp1e sources +######################################################################## +LIST(APPEND libuhd_sources + usrp/usrp1e/usrp1e_none.cpp +) + +######################################################################## +# Setup libuhd library +######################################################################## ADD_LIBRARY(uhd SHARED ${libuhd_sources}) TARGET_LINK_LIBRARIES(uhd ${Boost_LIBRARIES}) |