Skip to content
Snippets Groups Projects
Commit c0e22c77 authored by Steven Murray's avatar Steven Murray
Browse files

castor/tape/utils/CMakeLists.txt now builds all of its directory

castor/tape/legacymsg/CMakeLists.txt now builds all of its directory
castor/tape/net/CMakeLists.txt now builds all of its directory

Started cmake work on the castor/tpcp directory.  Looks like I will need to do the rfio directory first.
parent 5718e668
Branches
Tags
No related merge requests found
......@@ -203,8 +203,6 @@ endif(NOT DEFINED COMPILE_CLIENT)
################################################################################
add_subdirectory (castor)
add_subdirectory (castor/db/cnv)
add_subdirectory (castor/vdqm)
add_subdirectory (common)
add_subdirectory (dlf)
add_subdirectory (ns)
......
......@@ -22,6 +22,10 @@
#
cmake_minimum_required (VERSION 2.6)
add_subdirectory (db)
add_subdirectory (tape)
add_subdirectory (vdqm)
################################################################################
# Rules to build and install libcastorclient.so
################################################################################
......
#
# castor/db/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
#
cmake_minimum_required (VERSION 2.6)
add_subdirectory (cnv)
#
# castor/tape/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
#
cmake_minimum_required (VERSION 2.6)
add_subdirectory (legacymsg)
add_subdirectory (net)
#add_subdirectory (tpcp)
add_subdirectory (utils)
#
# castor/tape/legacymsg/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
#
cmake_minimum_required (VERSION 2.6)
################################################################################
# Rules to build and install libcastortapelegacymsg.so
################################################################################
set (TAPE_LEGACYMSG_LIB_SRC_FILES
CommonMarshal.cpp
RtcpMarshal.cpp
TapeBridgeMarshal.cpp
VmgrMarshal.cpp)
add_library (castortapelegacymsg SHARED ${TAPE_LEGACYMSG_LIB_SRC_FILES})
set_target_properties (castortapelegacymsg
PROPERTIES SOVERSION ${MAJOR_CASTOR_VERSION})
target_link_libraries (castortapelegacymsg castorclient castorcommon
castortapeutils)
install (TARGETS castortapelegacymsg DESTINATION ${CASTOR_DEST_LIB_DIR})
#
# castor/tape/net/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
#
cmake_minimum_required (VERSION 2.6)
################################################################################
# Rules to build and install libcastortapenet.so
################################################################################
set (TAPE_NET_LIB_SRC_FILES
IpAndPort.cpp
net.cpp)
add_library (castortapenet SHARED ${TAPE_NET_LIB_SRC_FILES})
set_target_properties (castortapenet
PROPERTIES SOVERSION ${MAJOR_CASTOR_VERSION})
target_link_libraries (castortapenet castorcommon castorclient castortapeutils)
install (TARGETS castortapenet DESTINATION ${CASTOR_DEST_LIB_DIR})
#
# castor/tape/tpcp/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
#
cmake_minimum_required (VERSION 2.6)
################################################################################
# Rules to build and install dumptp
################################################################################
set (DUMPTP_SRC_FILES
DumpTpCommand.cpp
DumpTpMain.cpp
Helper.cpp
StreamOperators.cpp
TapeFileSequenceParser.cpp
TapeFseqRange.cpp
TapeFseqRangeListSequence.cpp
TapeFseqRangeSequence.cpp
TpcpCommand.cpp)
add_executable (dumptp ${DUMPTP_SRC_FILES})
#target_link_libraries (castortapetpcp castorcommon castorclient castortapeutils)
target_link_libraries (dumptp castorcommon castortapeutils castorvdqm castorvmgr)
install (TARGETS dumptp DESTINATION ${CASTOR_DEST_LIB_DIR})
CastorInstallExeManPage (dumptp)
#
# castor/tape/utils/CMakeLists.txt
#
# This file is part of the Castor project.
# See http://castor.web.cern.ch/castor
#
# Copyright (C) 2003 CERN
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Steven.Murray@cern.ch
#
cmake_minimum_required (VERSION 2.6)
################################################################################
# Rules to build and install libcastortapeutils.so
################################################################################
set (TAPE_UTILS_LIB_SRC_FILES
BoolFunctor.cpp
ShutdownBoolFunctor.cpp
ScopedLock.cpp
SmartFILEPtr.cpp
SmartFd.cpp
SmartFdList.cpp
Timer.cpp
utils.cpp)
add_library (castortapeutils SHARED ${TAPE_UTILS_LIB_SRC_FILES})
set_target_properties (castortapeutils
PROPERTIES SOVERSION ${MAJOR_CASTOR_VERSION})
target_link_libraries (castortapeutils castorcommon)
install (TARGETS castortapeutils DESTINATION ${CASTOR_DEST_LIB_DIR})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment