From 9d1041f8150e047d929aaf7c0461201f043d8b93 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 15 Feb 2010 19:11:34 -0800 Subject: 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. --- lib/usrp/CMakeLists.txt | 27 --------------------------- lib/usrp/dboard/CMakeLists.txt | 25 ------------------------- lib/usrp/mboard/CMakeLists.txt | 23 ----------------------- 3 files changed, 75 deletions(-) delete mode 100644 lib/usrp/CMakeLists.txt delete mode 100644 lib/usrp/dboard/CMakeLists.txt delete mode 100644 lib/usrp/mboard/CMakeLists.txt (limited to 'lib/usrp') diff --git a/lib/usrp/CMakeLists.txt b/lib/usrp/CMakeLists.txt deleted file mode 100644 index 2f96fd349..000000000 --- a/lib/usrp/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -# -# 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 . -# - - -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 deleted file mode 100644 index 128def095..000000000 --- a/lib/usrp/dboard/CMakeLists.txt +++ /dev/null @@ -1,25 +0,0 @@ -# -# 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 . -# - - -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 deleted file mode 100644 index a6ba1f687..000000000 --- a/lib/usrp/mboard/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -# -# 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 . -# - - -ADD_LIBRARY(uhd_usrp_mboard STATIC - base.cpp - test.cpp - usrp2.cpp -) -- cgit v1.2.3