Skip to content
Snippets Groups Projects
Commit a6ec61d2 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay Committed by Graeme Stewart
Browse files

Adding a hand-written CMakeLists.txt file to the package (ByteStreamStoragePlugins-00-01-01)

2016-03-17 Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
	* Added a hand-written CMakeLists.txt file to the package to
	  build its libraries correctly. Finally fixing ATEAM-255.
	* Removed the executable flag from all of the files of the package.
	* Tagging as ByteStreamStoragePlugins-00-01-01
parent 63cd85e6
No related merge requests found
# $Id: CMakeLists.txt 730743 2016-03-17 15:28:57Z krasznaa $
################################################################################
# Package: ByteStreamStoragePlugins
################################################################################
# Declare the package name:
atlas_subdir( ByteStreamStoragePlugins )
# External dependencies:
find_package( Boost )
find_package( CASTOR COMPONENTS rfio )
find_package( Xrootd COMPONENTS PosixPreload )
find_package( dcache_client )
find_package( tdaq-common COMPONENTS ers )
# Make sure that libraries are linked correctly:
string( REPLACE "-Wl,--as-needed" "" CMAKE_SHARED_LINKER_FLAGS
"${CMAKE_SHARED_LINKER_FLAGS}" )
# Component(s) in the package:
atlas_add_library( fReadCastor
src/fReadCastor.h src/fReadCastor.cxx
NO_PUBLIC_HEADERS
PRIVATE_INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS} ${CASTOR_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
PRIVATE_LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} ${CASTOR_LIBRARIES}
${Boost_LIBRARIES} )
atlas_add_library( fReadXRootD
src/fReadXRootD.h src/fReadXRootD.cxx
NO_PUBLIC_HEADERS
PRIVATE_INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS} ${XROOTD_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
PRIVATE_LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} ${XROOTD_LIBRARIES}
${Boost_LIBRARIES}
PRIVATE_DEFINITIONS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 )
atlas_add_library( fReaddCache
src/fReaddCache.h src/fReaddCache.cxx
NO_PUBLIC_HEADERS
PRIVATE_INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS}
${DCACHE_CLIENT_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}
PRIVATE_LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} ${DCACHE_CLIENT_LIBRARIES}
${Boost_LIBRARIES} )
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment