Commit f0c82f8c authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

'CMakeLists.txt' (FileStager-00-00-62)

	* cmt/requirements
		Remove the cmake-specific code for the dictionary creation since the CMT pattern is now
		used to auto-generate the required cmake code
	* Tagged as FileStager-00-00-62

2015-02-04  Marcin Nowak  <Marcin.Nowak@cern.ch>
	* cmt\requirements: use CMT pattern to compile dictionary instead
	of Makefile.Standalone
	* Tagged as FileStager-00-00-61

2014-11-24  David Quarrie <David.Quarrie@cern.ch>
	* cmt/requirements
		Add cmake-specific lines for building this package. These are transparent to CMT.
	* Tagged as FileStager-00-00-60

2014-01-10 Max Baak <mbaak@cern.ch>
	* fix requirements check error
	* Tagged as FileStager-00-00-59
parent 20fbec7b
################################################################################
# Package: FileStager
################################################################################
# Declare the package name:
atlas_subdir( FileStager )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
GaudiKernel )
# External dependencies:
find_package( ROOT COMPONENTS Hist Tree RIO Cint Core MathCore pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint )
# tag ROOTBasicLibs was not recognized in automatic conversion in cmt2cmake
# tag ROOTSTLDictLibs was not recognized in automatic conversion in cmt2cmake
# Component(s) in the package:
atlas_add_root_dictionary( FileStagerLib
FileStagerLibDictSource
ROOT_HEADERS FileStager/TStagerInfo.h FileStager/TStageFileInfo.h FileStager/TStageManager.h FileStager/TCopyChain.h FileStager/TCopyFile.h Root/LinkDef.h
EXTERNAL_PACKAGES ROOT )
atlas_add_library( FileStagerLib
Root/*.cxx
src/*.cxx
src/components/*.cxx
${FileStagerLibDictSource}
PUBLIC_HEADERS FileStager
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} GaudiKernel )
atlas_add_component( FileStager
src/components/*.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} GaudiKernel FileStagerLib )
atlas_add_executable( StageMonitor
bin/StageMonitor.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} GaudiKernel FileStagerLib )
# Install files from the package:
atlas_install_python_modules( python/*.py )
atlas_install_joboptions( share/*.py )
atlas_install_scripts( scripts/define_* scripts/interpret_* scripts/wrapper_* )
......@@ -2,21 +2,23 @@ package FileStager
author Max Baak <mbaak@cern.ch>
use AtlasPolicy AtlasPolicy-01-*
use GaudiInterface GaudiInterface-01-* External
use AthenaKernel AthenaKernel-* Control
use AtlasPolicy AtlasPolicy-*
use GaudiInterface GaudiInterface-* External
use AtlasROOT AtlasROOT-* External
use AthenaPoolKernel AthenaPoolKernel-* Database/AthenaPOOL
## macros
apply_tag ROOTBasicLibs
apply_tag ROOTMathLibs
apply_tag ROOTSTLDictLibs
# Specify the required ROOT components for cmake (transparent to CMT)
apply_pattern cmake_add_command command="find_package(ROOT COMPONENTS Hist Tree RIO)"
## build libraries
apply_pattern dual_use_library files="../Root/*.cxx ../src/*.cxx ../src/components/*.cxx"
macro FileStagerLib_dependencies "filestager_root_dictionary"
action filestager_root_dictionary "( make -f Makefile.Standalone stagercint clean )"
apply_pattern have_root_headers \
root_headers="TStagerInfo.h TStageFileInfo.h TStageManager.h TCopyChain.h TCopyFile.h ../Root/LinkDef.h" \
headers_lib=FileStagerLib
### Create a named installed library
#library FileStagerLib "../Root/*.cxx"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment