Anonymous avatar Anonymous committed 68071d8

add wscript

Comments (0)

Files changed (1)

+# -*- python -*-
+
+import waflib.Logs as msg
+
+PACKAGE = {
+    'name': 'GaudiPython',
+    'author': ['Gaudi collaboration'],
+}
+
+def configure(ctx):
+    msg.debug ('[configure] package name: '+PACKAGE['name'])
+    return
+
+def build(ctx):
+
+    ctx.build_linklib(
+        name = 'GaudiPythonLib',
+        source = 'Lib/*.cpp',
+        use = ['GaudiKernel',
+               'GaudiAlgLib',
+               'GaudiUtilsLib',
+               'CLHEP',
+               'AIDA',
+               'ROOT',
+               'python',
+               ]
+        )
+
+    ctx.build_complib(
+        name = 'GaudiPython',
+        source = 'Services/*.cpp',
+        use  = ['GaudiKernel',
+                'GaudiAlgLib',
+                'GaudiUtilsLib',
+                'GaudiPythonLib',
+                'CLHEP',
+                'Reflex',
+                'AIDA',
+                'python',
+                ]
+        )
+
+    ctx.build_reflex_dict(
+        name = 'GaudiPython',
+        source = 'dict/kernel.h',
+        selection_file = 'dict/selection_kernel.xml',
+        use  = [
+            'GaudiAlgLib',
+            'GaudiUtilsLib',
+            'GaudiPythonLib',
+            'CLHEP',
+            'Reflex',
+            'AIDA',
+            'python',
+            ],
+        #lib = ['GaudiAlgLib', 'GaudiUtilsLib', 'GaudiPythonLib',]
+        )
+
+    ctx.build_pymodule(
+        source=['python/GaudiPython/*.py',],
+        # override default b/c python files
+        # already under 'PACKAGE_NAME' == 'GaudiPython'
+        install_path_root='${INSTALL_AREA}/python')
+
+    # ctx.build_pymodule(
+    #     source = [#'python/*.py',
+    #               'python/GaudiPython/*.py',]
+    #     )
+    return
+
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.