Change location of directory containing IEC standard library in C format.
--- a/ProjectController.py Fri Jun 27 13:56:49 2014 +0200
+++ b/ProjectController.py Tue Jul 08 18:00:52 2014 +0100
@@ -440,7 +440,7 @@
if len(self.Libraries)==0:
return [],[],()
self.GetIECProgramsAndVariables()
- LibIECCflags = '"-I%s" -Wno-unused-function'%os.path.abspath(self.GetIECLibPath())
+ LibIECCflags = '"-I%s/C" -Wno-unused-function'%os.path.abspath(self.GetIECLibPath())
LocatedCCodeAndFlags=[]
Extras=[]
for lib in self.Libraries:
@@ -675,7 +675,7 @@
# Keep track of generated C files for later use by self.CTNGenerate_C
self.PLCGeneratedCFiles = C_files
# compute CFLAGS for plc
- self.plcCFLAGS = '"-I%s" -Wno-unused-function'%self.ieclib_path
+ self.plcCFLAGS = '"-I%s/C" -Wno-unused-function'%self.ieclib_path
return True
def GetBuilder(self):