| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hscript.py
Go to the documentation of this file.
1 ## -*- python -*-
2
3 ## waf imports
4 import waflib.Logs as msg
5
6 PACKAGE = {
7 "name": "GaudiPython",
8 "authors": ["gaudi collaboration"],
9
10 "version": "v13r0",
11 }
12
13 ### ---------------------------------------------------------------------------
14 def pkg_deps(ctx):
15
16 ## public dependencies
17 ctx.use_pkg("GaudiKernel", version="*", public=True)
18 ctx.use_pkg("GaudiAlg", version="*", public=True)
19 ctx.use_pkg("GaudiUtils", version="*", public=True)
20 ctx.use_pkg("LCG_Interfaces/AIDA", version="*", public=True)
21 ctx.use_pkg("LCG_Interfaces/CLHEP", version="*", public=True)
22 ctx.use_pkg("LCG_Interfaces/Python", version="*", public=True)
23 ctx.use_pkg("LCG_Interfaces/Reflex", version="*", public=True)
24
25 ## private dependencies
26 ctx.use_pkg("GaudiCoreSvc", version="*", private=True)
27 ctx.use_pkg("GaudiCommonSvc", version="*", private=True)
28
29 return # pkg_deps
30
31
32 ### ---------------------------------------------------------------------------
33 def options(ctx):
34
35 return # options
36
37
38 ### ---------------------------------------------------------------------------
39 def configure(ctx):
40
41 return # configure
42
43
44 ### ---------------------------------------------------------------------------
45 def build(ctx):
46
47 ctx(
48 features = "gaudi_library",
49 name = "GaudiPythonLib",
50 source = ["src/Lib/*.cpp"],
51 use = ["GaudiAlgLib",
52 "python",
53 "CLHEP",
54 "AIDA",
55 ],
56 )
57
58 ctx(
59 features = "gaudi_module",
60 name = "GaudiPython",
61 source = ["src/Services/*.cpp"],
62 use = ["GaudiPythonLib", "GaudiUtilsLib"],
63 )
64
65 ctx(
66 features = "gaudi_dictionary",
67 name = "GaudiPythonDict",
68 source = "dict/kernel.h",
69 selection_file = "dict/selection_kernel.xml",
70 use = ["GaudiPythonLib", "GaudiUtilsLib"],
71 )
72
73 ctx.gaudi_install_python_modules()
74
75 ## -- tests --
76 ctx(
77 features = "gaudi_library",
78 name = "GPyTest",
79 target = "GPyTest",
80 source = ["src/Test/*.cpp"],
81 use = ["GaudiKernel", "python", "CLHEP", "AIDA"],
82 includes = ["src/Test"],
83 )
84
85 ctx(
86 features = "gaudi_dictionary",
87 name = "GPyTestDict",
88 selection_file = "src/Test/test_selection.xml",
89 source = "src/Test/test.h",
90 use = ["GaudiKernel", "python", "CLHEP"],
91 )
92
93 return # build
94
95 ## EOF ##