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

Fixing the package's linker options with CMake (TileByteStream-00-08-85)

2016-06-23 Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
	* Updated CMakeLists.txt to link correctly against the tdaq-common
	  libraries. This is necessary to be able to turn on the
	  -Wl,--no-undefined linker flag in devval.
	* Removed the executable flag from all of the files of the package.
	* Removed the empty src/RMS directory.
	* Tagging as TileByteStream-00-08-85


Former-commit-id: 9490f2a833921075a930649a014724844b521d4a
parent 7fa6b6cc
No related branches found
No related tags found
No related merge requests found
Showing
with 36 additions and 30 deletions
# $Id: CMakeLists.txt 757198 2016-06-23 10:12:56Z krasznaa $
################################################################################
# Package: TileByteStream
################################################################################
......@@ -6,43 +7,47 @@
atlas_subdir( TileByteStream )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
Control/AthenaKernel
Event/ByteStreamCnvSvcBase
Event/ByteStreamData
GaudiKernel
TileCalorimeter/TileEvent
TileCalorimeter/TileIdentifier
PRIVATE
Calorimeter/CaloDetDescr
Calorimeter/CaloIdentifier
Control/CLIDSvc
Control/SGTools
Control/StoreGate
Event/ByteStreamCnvSvc
TileCalorimeter/TileCalib/TileCalibBlobObjs
TileCalorimeter/TileConditions
TileCalorimeter/TileDetDescr
TileCalorimeter/TileL2Algs
TileCalorimeter/TileRecUtils )
atlas_depends_on_subdirs(
PUBLIC
Control/AthenaBaseComps
Control/AthenaKernel
Event/ByteStreamCnvSvcBase
Event/ByteStreamData
GaudiKernel
TileCalorimeter/TileEvent
TileCalorimeter/TileIdentifier
PRIVATE
Calorimeter/CaloDetDescr
Calorimeter/CaloIdentifier
Control/CLIDSvc
Control/SGTools
Control/StoreGate
Event/ByteStreamCnvSvc
TileCalorimeter/TileCalib/TileCalibBlobObjs
TileCalorimeter/TileConditions
TileCalorimeter/TileDetDescr
TileCalorimeter/TileL2Algs
TileCalorimeter/TileRecUtils )
# External dependencies:
find_package( tdaq-common )
find_package( tdaq-common COMPONENTS eformat eformat_write )
# Component(s) in the package:
atlas_add_library( TileByteStreamLib
src/Tile*.cxx
PUBLIC_HEADERS TileByteStream
INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS}
LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} AthenaBaseComps AthenaKernel ByteStreamData GaudiKernel TileEvent TileIdentifier ByteStreamCnvSvcBaseLib ByteStreamData_test CaloDetDescrLib StoreGateLib SGtests ByteStreamCnvSvcLib TileConditionsLib TileL2AlgsLib TileRecUtilsLib
PRIVATE_LINK_LIBRARIES CaloIdentifier SGTools TileCalibBlobObjs TileDetDescr )
TileByteStream/*.h TileByteStream/*.icc src/*.cxx
PUBLIC_HEADERS TileByteStream
INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS}
LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} AthenaBaseComps AthenaKernel
ByteStreamData GaudiKernel TileEvent TileIdentifier ByteStreamCnvSvcBaseLib
CaloDetDescrLib StoreGateLib ByteStreamCnvSvcLib TileConditionsLib
TileL2AlgsLib TileRecUtilsLib
PRIVATE_LINK_LIBRARIES CaloIdentifier SGTools TileCalibBlobObjs
TileDetDescr )
atlas_add_component( TileByteStream
src/components/*.cxx
INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS}
LINK_LIBRARIES ${TDAQ-COMMON_LIBRARIES} AthenaBaseComps AthenaKernel ByteStreamCnvSvcBaseLib ByteStreamData ByteStreamData_test GaudiKernel TileEvent TileIdentifier CaloDetDescrLib CaloIdentifier SGTools StoreGateLib SGtests ByteStreamCnvSvcLib TileCalibBlobObjs TileConditionsLib TileDetDescr TileL2AlgsLib TileRecUtilsLib TileByteStreamLib )
src/components/*.cxx
INCLUDE_DIRS ${TDAQ-COMMON_INCLUDE_DIRS}
LINK_LIBRARIES TileByteStreamLib )
# Install files from the package:
atlas_install_joboptions( share/*.py )
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
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
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
......@@ -32,3 +32,4 @@ end_private
apply_pattern dual_use_library files="Tile*.cxx"
apply_pattern declare_joboptions files="*.py"
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