-# Copyright (C) 2009-2013 EDF R&D
+# Copyright (C) 2009-2015 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
#import context from ..
execfile("../context.py")
from module_generator import Generator,Module,Service,PYComponent,CPPComponent,F77Component
+from module_generator import Library
# C++ component
],
),
],
- libs="-L%s -lcode1" % cwd,
- rlibs="-Wl,--rpath -Wl,%s" % cwd,
+ libs=[Library(name="code1", path=cwd)],
+ rlibs=cwd,
)
-g=Generator(Module("pycompos",components=[c1,c2,c3],prefix="./install",layout="multidir"),context)
+g=Generator(Module("pycompos",components=[c1,c2,c3],prefix="./install"),context)
g.generate()
-g.bootstrap()
g.configure()
g.make()
g.install()