diff -r 6f2689a2438b -r fd45c291fed0 plugins/canfestival/canfestival.py --- a/plugins/canfestival/canfestival.py Tue Sep 18 18:04:07 2007 +0200 +++ b/plugins/canfestival/canfestival.py Thu Sep 20 17:30:32 2007 +0200 @@ -1,6 +1,8 @@ import os, sys base_folder = os.path.split(sys.path[0])[0] sys.path.append(os.path.join(base_folder, "CanFestival-3", "objdictgen")) +CanfestivalIncludePath = os.path.join(base_folder, "CanFestival-3", "include") +CanfestivalLibPath = os.path.join(base_folder, "CanFestival-3", "src") from nodelist import NodeList from nodemanager import NodeManager @@ -83,7 +85,7 @@ if res : raise Exception, res - return [(Gen_OD_path,"")],"" + return [(Gen_OD_path,"-I"+CanfestivalIncludePath)],"" class RootClass: XSD = """ @@ -99,6 +101,6 @@ PlugChildsTypes = [("CanOpenNode",_NodeListPlug)] def PlugGenerate_C(self, buildpath, locations, logger): - return [],"" + return [],"-L"+CanfestivalLibPath+" -lcanfestival"