Commits

Sebastien Binet  committed 6262faf

add wscript

  • Participants
  • Parent commits 27c78d1
  • Branches waffle-repo

Comments (0)

Files changed (1)

+# -*- python -*-
+
+import waflib.Logs as msg
+
+PACKAGE = {
+    'name': 'Navigation',
+    'author': ['atlas collaboration'],
+}
+
+def configure(ctx):
+    msg.debug ('[configure] package name: '+PACKAGE['name'])
+    return
+
+def build(ctx):
+
+
+    ctx.build_linklib(
+        name     = 'Navigation',
+        source   = '*.cxx',
+        use      = ['DataModel', 'SGTools', 'CxxUtils', #'SGAudCore',
+                    'AthenaKernel',
+                    #'TestTools',
+                    'GaudiKernel',
+                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
+                    'Reflex',
+                    'uuid',
+                    ],
+        )
+
+    ctx.build_reflex_dict(
+        name     = 'Navigation',
+        source   = 'Navigation/NavigationDict.h',
+        selection_file = 'Navigation/selection.xml',
+        use      = ['DataModel', 'SGTools', 'CxxUtils', #'SGAudCore',
+                    'AthenaKernel',
+                    'Navigation',
+                    'GaudiKernel',
+                    ],
+    )
+
+
+    ctx.install_headers()
+
+
+    ### --- tests -------------------------------------------------------------
+    ctx.build_app(
+        name     = 'NavigationToken_test',
+        source   = 'test/NavigationToken_test.cxx',
+        use      = ['Navigation', 'DataModel', 'SGTools', 'CxxUtils', 'SGAudCore', 'AthenaKernel',
+                    'TestTools',
+                    'GaudiKernel',
+                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
+                    #'Reflex',
+                    #'uuid',
+                    ],
+        do_test  = True,
+        )
+
+    ctx.build_app(
+        name     = 'AthenaBarCodeImpl_test',
+        source   = 'test/AthenaBarCodeImpl_test.cxx',
+        use      = ['Navigation', 'DataModel', 'SGTools', 'CxxUtils', 'SGAudCore', 'AthenaKernel',
+                    'TestTools',
+                    'GaudiKernel',
+                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
+                    #'Reflex',
+                    #'uuid',
+                    ],
+        do_test  = True,
+        )
+
+    ctx.build_app(
+        name     = 'NavigableIterator_test',
+        source   = 'test/NavigableIterator_test.cxx',
+        use      = ['Navigation', 'DataModel', 'SGTools', 'CxxUtils', 'SGAudCore', 'AthenaKernel',
+                    'TestTools',
+                    'GaudiKernel',
+                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
+                    #'Reflex',
+                    #'uuid',
+                    ],
+        do_test  = True,
+        )
+
+    return
+### EOF ###