diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-15 19:11:34 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-15 19:11:34 -0800 |
commit | 9d1041f8150e047d929aaf7c0461201f043d8b93 (patch) | |
tree | 6b8bfcd1f5e9a68d286b19c64bc4f390701a2552 /lib/CMakeLists.txt | |
parent | e8b60b03e62bdca247ed92e91c01f27dfebd487e (diff) | |
download | uhd-9d1041f8150e047d929aaf7c0461201f043d8b93.tar.gz uhd-9d1041f8150e047d929aaf7c0461201f043d8b93.tar.bz2 uhd-9d1041f8150e047d929aaf7c0461201f043d8b93.zip |
CMake does not have convenience libraries like automake.
Removed the nested lib CMakeLists.txt in favor of a single
top level lib/CMakeLists.txt for building the shared library.
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r-- | lib/CMakeLists.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 6150fd574..049236016 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -16,9 +16,6 @@ # -ADD_SUBDIRECTORY(usrp) -ADD_SUBDIRECTORY(transport) - ADD_LIBRARY(uhd SHARED device.cpp device_addr.cpp @@ -26,10 +23,18 @@ ADD_LIBRARY(uhd SHARED shared_iovec.cpp uhd.cpp wax.cpp + transport/udp.cpp + usrp/usrp.cpp + usrp/dboard/basic.cpp + usrp/dboard/base.cpp + usrp/dboard/id.cpp + usrp/dboard/interface.cpp + usrp/dboard/manager.cpp + usrp/mboard/base.cpp + usrp/mboard/test.cpp + usrp/mboard/usrp2.cpp ) -TARGET_LINK_LIBRARIES(uhd uhd_usrp) -TARGET_LINK_LIBRARIES(uhd uhd_transport) TARGET_LINK_LIBRARIES(uhd ${Boost_LIBRARIES}) INSTALL(TARGETS uhd LIBRARY DESTINATION ${LIBRARY_DIR}) |