| # 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": "GaudiKernel",
8 "authors": ["LHCb Gaudi Team"],
9
10 "version": "v30r0",
11 }
12
13 ### ---------------------------------------------------------------------------
14 def pkg_deps(ctx):
15
16 ## public dependencies
17 ctx.use_pkg("GaudiPolicy", version="*", public=True)
18 ctx.use_pkg("LCG_Interfaces/Reflex", version="*", public=True)
19 ctx.use_pkg("LCG_Interfaces/Boost", version="*", public=True)
20
21 ## private dependencies
22 ctx.use_pkg("LCG_Interfaces/CppUnit", version="*", private=True)
23
24 ## runtime dependencies
25 ctx.use_pkg("LCG_Interfaces/CppUnit", version="*", runtime=True)
26 return # pkg_deps
27
28
29 ### ---------------------------------------------------------------------------
30 def options(ctx):
31
32 return # options
33
34
35 ### ---------------------------------------------------------------------------
36 def configure(ctx):
37
38 return # configure
39
40
41 ### ---------------------------------------------------------------------------
42 def build(ctx):
43
44 ctx(
45 features = "gaudi_library",
46 name = "GaudiKernel",
47 source = ["src/Lib/*.cpp"],
48 use = ["ROOT",
49 "Reflex",
50 "boost-thread",
51 "boost-filesystem",
52 "boost-system",
53 ],
54 )
55
56 ctx(
57 features = "gaudi_application",
58 name = "genconf",
59 source = ["src/Util/genconf.cpp"],
60 use = ["GaudiKernel",
61 "boost-filesystem",
62 "boost-regex",
63 "boost-program_options",
64 "Reflex",
65 ],
66 )
67 ctx.env['GENCONF'] = 'genconf.exe'
68
69 ctx(
70 features = "gaudi_dictionary",
71 name = "GaudiKernelDict",
72 source = "dict/dictionary.h",
73 selection_file = "dict/dictionary.xml",
74 use = ["GaudiKernel", "Reflex"],
75 )
76
77 ctx.gaudi_install_python_modules()
78 ctx.gaudi_install_scripts()
79
80 ## tests --
81 ctx(
82 features = "gaudi_application hwaf_utest",
83 name = "DirSearchPath_test",
84 source = ["tests/src/DirSearchPath_test.cpp"],
85 use = ["GaudiKernel", "CppUnit"],
86 )
87
88 ctx(
89 features = "gaudi_application hwaf_utest",
90 name = "Memory_test",
91 source = ["tests/src/Memory_test.cpp"],
92 use = ["GaudiKernel", "CppUnit"],
93 )
94
95 ctx(
96 features = "gaudi_application hwaf_utest",
97 name = "Parsers_test",
98 target = "Parsers_test",
99 source = ["tests/src/parsers.cpp"],
100 use = ["GaudiKernel", "CppUnit"],
101 )
102
103 ctx(
104 features = "gaudi_application hwaf_utest",
105 name = "PathResolver_test",
106 target = "PathResolver_test",
107 source = ["tests/src/PathResolver_test.cpp"],
108 use = ["GaudiKernel", "CppUnit"],
109 )
110
111 ctx(
112 features = "gaudi_application hwaf_utest",
113 name = "test_GaudiTime",
114 source = ["tests/src/test_GaudiTime.cpp"],
115 use = ["GaudiKernel", "CppUnit"],
116 )
117
118 ctx(
119 features = "gaudi_application hwaf_utest",
120 name = "test_GaudiTiming",
121 source = ["tests/src/test_GaudiTiming.cpp"],
122 use = ["GaudiKernel", "CppUnit"],
123 )
124
125 ctx(
126 features = "gaudi_application hwaf_utest",
127 name = "test_SerializeSTL",
128 source = ["tests/src/test_SerializeSTL.cpp"],
129 use = ["GaudiKernel", "CppUnit"],
130 )
131
132 ctx(
133 features = "gaudi_application hwaf_utest",
134 name = "test_headers_build",
135 source = ["tests/src/test_headers_build.cpp"],
136 use = ["GaudiKernel", "CppUnit"],
137 )
138 return # build
139
140 ## EOF ##