Commits

Sebastien Binet  committed a1ab60f

add wscript

  • Participants
  • Parent commits 9c1362a
  • Branches waffle-repo

Comments (0)

Files changed (1)

+# -*- python -*-
+
+import waflib.Logs as msg
+
+PACKAGE = {
+    'name': 'EventInfo',
+    'author': ['atlas collaboration'],
+}
+
+def configure(ctx):
+    msg.debug ('[configure] package name: '+PACKAGE['name'])
+    return
+
+def build(ctx):
+
+
+    ctx.build_linklib(
+       name     = 'EventInfo',
+       source   = '''AtlasMcWeight.cxx
+                     EventID.cxx
+                     EventType.cxx
+                     EventInfo.cxx
+                     EventStreamInfo.cxx
+                     PileUpEventInfo.cxx
+                     PileUpTimeEventIndex.cxx
+                     EventIncident.cxx
+                     TriggerInfo.cxx
+                     MergedEventInfo.cxx
+                     TagInfo.cxx''',
+        #defines  = ['PACKAGE_VERSION="v*"', 'PACKAGE_VERSION_UQ=v*'],
+        use      = ['DataModel', 'SGTools', 'SGAudCore', 'AthenaKernel', 'CxxUtils',
+                    #'TestTools',
+                    'GaudiKernel', 'Reflex',
+                    'boost_filesystem', 'boost_system', 'boost_regex', 'boost_thread',
+                    #'uuid',
+                    ],
+        )
+
+    ctx.build_app(
+        name     = 'PileUpEventInfo_test',
+        source   = 'test/PileUpEventInfo_test.cxx',
+        #defines  = ['PACKAGE_VERSION="v*"', 'PACKAGE_VERSION_UQ=v*'],
+        use      = ['EventInfo', 'DataModel', 'SGTools', 'SGAudCore', 'AthenaKernel', 'CxxUtils',
+                    'TestTools',
+                    'GaudiKernel', 'Reflex',
+                    'boost_filesystem', 'boost_system', 'boost_regex', 'boost_thread',
+                    #'uuid',
+                    ],
+        do_test  = True,
+        )
+
+    ctx.build_app(
+        name     = 'MergedEventInfo_test',
+        source   = 'test/MergedEventInfo_test.cxx',
+        #defines  = ['PACKAGE_VERSION="v*"', 'PACKAGE_VERSION_UQ=v*'],
+        use      = ['EventInfo', 'DataModel', 'SGTools', 'SGAudCore', 'AthenaKernel', 'CxxUtils',
+                    'TestTools',
+                    'GaudiKernel', 'Reflex',
+                    'boost_filesystem', 'boost_system', 'boost_regex', 'boost_thread',
+                    'uuid',
+                    ],
+        do_test  = True,
+        )
+
+    ctx.build_reflex_dict(
+        name     = 'EventInfo',
+        source   = 'EventInfo/EventInfoDict.h',
+        selection_file = 'EventInfo/selection.xml',
+        #defines  = ['PACKAGE_VERSION="v*"', 'PACKAGE_VERSION_UQ=v*'],
+        use      = ['EventInfo', 'DataModel', 'SGTools', 'SGAudCore', 'AthenaKernel', 'CxxUtils',
+                    #'TestTools',
+                    'GaudiKernel', 'Reflex',
+                    'boost_filesystem', 'boost_system', 'boost_regex', 'boost_thread',
+                    #'uuid',
+                    ],
+    )
+
+
+    ctx.install_headers()
+
+    ctx.build_pymodule(source=['python/*.py'])
+
+    ctx.install_joboptions(source=['share/*.py'])
+
+    return
+### EOF ###