-# Copyright (C) 2009-2014 EDF R&D
+# Copyright (C) 2009-2022 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
import os
#import context from ..
-execfile("../context.py")
+exec(compile(open("../context.py").read(), "../context.py", 'exec'))
from module_generator import Generator,Module,Service,CPPComponent
cwd=os.getcwd()
defs="//def1",body=body,
),
],
- includes="-I/usr/include",
kind="exe",
exe_path=os.path.join(cwd,"prog"),
)
g=Generator(Module("cppcompos",components=[c1],prefix="./install"),context)
g.generate()
-g.bootstrap()
g.configure()
g.make()
g.install()
-g.make_appli("appli", restrict=["KERNEL"], altmodules={"GUI":GUI_ROOT_DIR, "YACS":YACS_ROOT_DIR})
+g.make_appli("appli", restrict=["KERNEL"], altmodules={"GUI":GUI_ROOT_DIR,
+ "YACS":YACS_ROOT_DIR}, sys_modules=SYS_MODULES)