summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt33
-rw-r--r--lib/transport/CMakeLists.txt21
-rw-r--r--lib/usrp/CMakeLists.txt27
-rw-r--r--lib/usrp/dboard/CMakeLists.txt25
-rw-r--r--lib/usrp/mboard/CMakeLists.txt23
5 files changed, 129 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
new file mode 100644
index 000000000..46e487f7f
--- /dev/null
+++ b/lib/CMakeLists.txt
@@ -0,0 +1,33 @@
+#
+# Copyright 2010 Ettus Research LLC
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
+ADD_SUBDIRECTORY(usrp)
+ADD_SUBDIRECTORY(transport)
+
+ADD_LIBRARY(uhd SHARED
+ device.cpp
+ device_addr.cpp
+ gain_handler.cpp
+ shared_iovec.cpp
+ uhd.cpp
+ wax.cpp
+)
+
+TARGET_LINK_LIBRARIES(uhd uhd_usrp)
+TARGET_LINK_LIBRARIES(uhd uhd_transport)
+TARGET_LINK_LIBRARIES(uhd ${Boost_LIBRARIES})
diff --git a/lib/transport/CMakeLists.txt b/lib/transport/CMakeLists.txt
new file mode 100644
index 000000000..e633fa8f4
--- /dev/null
+++ b/lib/transport/CMakeLists.txt
@@ -0,0 +1,21 @@
+#
+# Copyright 2010 Ettus Research LLC
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
+ADD_LIBRARY(uhd_transport STATIC
+ udp.cpp
+)
diff --git a/lib/usrp/CMakeLists.txt b/lib/usrp/CMakeLists.txt
new file mode 100644
index 000000000..2f96fd349
--- /dev/null
+++ b/lib/usrp/CMakeLists.txt
@@ -0,0 +1,27 @@
+#
+# Copyright 2010 Ettus Research LLC
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
+ADD_SUBDIRECTORY(dboard)
+ADD_SUBDIRECTORY(mboard)
+
+ADD_LIBRARY(uhd_usrp STATIC
+ usrp.cpp
+)
+
+TARGET_LINK_LIBRARIES(uhd_usrp uhd_usrp_dboard)
+TARGET_LINK_LIBRARIES(uhd_usrp uhd_usrp_mboard)
diff --git a/lib/usrp/dboard/CMakeLists.txt b/lib/usrp/dboard/CMakeLists.txt
new file mode 100644
index 000000000..128def095
--- /dev/null
+++ b/lib/usrp/dboard/CMakeLists.txt
@@ -0,0 +1,25 @@
+#
+# Copyright 2010 Ettus Research LLC
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
+ADD_LIBRARY(uhd_usrp_dboard STATIC
+ basic.cpp
+ base.cpp
+ id.cpp
+ interface.cpp
+ manager.cpp
+)
diff --git a/lib/usrp/mboard/CMakeLists.txt b/lib/usrp/mboard/CMakeLists.txt
new file mode 100644
index 000000000..a6ba1f687
--- /dev/null
+++ b/lib/usrp/mboard/CMakeLists.txt
@@ -0,0 +1,23 @@
+#
+# Copyright 2010 Ettus Research LLC
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
+ADD_LIBRARY(uhd_usrp_mboard STATIC
+ base.cpp
+ test.cpp
+ usrp2.cpp
+)