lpcmanager

Parents 0d3ddbd8b801
Children 46652508c9b4
Reflect beremiz commit fe3394697b02 : 'Make some POU libraries selected by default or not...'
--- a/LPCExtension.py Mon Aug 06 14:37:31 2018 +0200
+++ b/LPCExtension.py Mon Aug 06 14:38:46 2018 +0200
@@ -13,20 +13,20 @@
# _lpcmanager_path, arch, etc are defined here because
# globals() of LPCManager.py are passed to extentions
-features.libraries=[('Native', 'NativeLib.NativeLibrary')]
+features.libraries=[('Native', 'NativeLib.NativeLibrary', True)]
def _poulibpath(name):
return os.path.join(_lpcmanager_path, 'Pous', "pous"+name+".xml")
if arch in PLC_MC9_module:
- features.libraries += [('Python', 'py_ext.PythonLibrary'),
- ('RTC', SimplePOULibraryFactory(_poulibpath("RTC")))]
+ features.libraries += [('Python', 'py_ext.PythonLibrary', True),
+ ('RTC', SimplePOULibraryFactory(_poulibpath("RTC")), True)]
elif arch in PLC_GOT_module:
features.libraries += [('Python', 'py_ext.PythonLibrary'),
- ('RTC', SimplePOULibraryFactory(_poulibpath("RTC"))),
- ('GOT', SimplePOULibraryFactory(_poulibpath("GOT")))]
+ ('RTC', SimplePOULibraryFactory(_poulibpath("RTC")), True),
+ ('GOT', SimplePOULibraryFactory(_poulibpath("GOT")), True)]
else:
- features.libraries += [('LPC', SimplePOULibraryFactory(_poulibpath("LPC")))]
+ features.libraries += [('LPC', SimplePOULibraryFactory(_poulibpath("LPC")), True)]
#
# --------- Configuration Tree Nodes (CTN) catalog extension ------------