From 7436e4c520436a27d3aacd918d2d9d687a3aa17a Mon Sep 17 00:00:00 2001
From: Atlas-Software Librarian <Atlas-Software.Librarian@cern.ch>
Date: Fri, 8 Apr 2016 17:11:55 +0200
Subject: [PATCH] 'CMakeLists.txt' (CommissionAthenaPool-00-00-03)

---
 .../CommissionAthenaPool/CMakeLists.txt       | 21 ++++++++++++++++
 .../CommissionAthenaPool/cmt/requirements     | 25 +++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 Commission/CommissionAthenaPool/CMakeLists.txt
 create mode 100755 Commission/CommissionAthenaPool/cmt/requirements

diff --git a/Commission/CommissionAthenaPool/CMakeLists.txt b/Commission/CommissionAthenaPool/CMakeLists.txt
new file mode 100644
index 00000000000..56f02287eeb
--- /dev/null
+++ b/Commission/CommissionAthenaPool/CMakeLists.txt
@@ -0,0 +1,21 @@
+################################################################################
+# Package: CommissionAthenaPool
+################################################################################
+
+# Declare the package name:
+atlas_subdir( CommissionAthenaPool )
+
+# Declare the package's dependencies:
+atlas_depends_on_subdirs( PUBLIC
+                          Database/AthenaPOOL/AthenaPoolUtilities
+                          GaudiKernel
+                          PRIVATE
+                          Commission/CommissionEvent
+                          Database/AthenaPOOL/AthenaPoolCnvSvc )
+
+# Component(s) in the package:
+atlas_add_poolcnv_library( CommissionAthenaPoolPoolCnv
+                           src/*.cxx
+                           FILES CommissionEvent/ComTime.h
+                           LINK_LIBRARIES AthenaPoolUtilities GaudiKernel CommissionEvent AthenaPoolCnvSvcLib )
+
diff --git a/Commission/CommissionAthenaPool/cmt/requirements b/Commission/CommissionAthenaPool/cmt/requirements
new file mode 100755
index 00000000000..f45001e1a80
--- /dev/null
+++ b/Commission/CommissionAthenaPool/cmt/requirements
@@ -0,0 +1,25 @@
+package CommissionAthenaPool
+
+author Hong Ma <hma@bnl.gov>
+
+use AtlasPolicy          AtlasPolicy-*
+use GaudiInterface       GaudiInterface-*       External
+
+private 
+use CommissionEvent      CommissionEvent-*        Commission
+use AthenaPoolCnvSvc     AthenaPoolCnvSvc-*     Database/AthenaPOOL
+end_private 
+
+use AthenaPoolUtilities  AthenaPoolUtilities-*     Database/AthenaPOOL
+# use AtlasReflex            AtlasReflex-00-*            External
+
+# use AthenaPoolServices AthenaPoolServices-00-* Database/AthenaPOOL
+
+apply_pattern declare_joboptions files="*.txt *.py"
+
+macro converters "-s=${CommissionEvent_root}/CommissionEvent ComTime.h "
+
+apply_pattern poolcnv files=${converters}
+
+macro_append CommissionAthenaPoolPoolCnv_shlibflags $(CommissionAthenaPool_dict_linkopts)
+
-- 
GitLab