equal
deleted
inserted
replaced
120 c_code += self.modeldata.GenerateC(c_path, locstr, self.GetConfig()) |
120 c_code += self.modeldata.GenerateC(c_path, locstr, self.GetConfig()) |
121 |
121 |
122 with open(c_path, 'w') as c_file: |
122 with open(c_path, 'w') as c_file: |
123 c_file.write(c_code) |
123 c_file.write(c_code) |
124 |
124 |
125 LDFLAGS = [' "' + os.path.join(PahoMqttCLibraryPath, "libpaho-mqtt3as.a") + '"', '-lcrypto'] |
125 LDFLAGS = [' "' + os.path.join(PahoMqttCLibraryPath, "libpaho-mqtt3cs.a") + '"', '-lssl', '-lcrypto'] |
126 |
126 |
127 CFLAGS = ' '.join(['-I"' + path + '"' for path in PahoMqttCIncludePaths]) |
127 CFLAGS = ' '.join(['-I"' + path + '"' for path in PahoMqttCIncludePaths]) |
128 |
128 |
129 return [(c_path, CFLAGS)], LDFLAGS, True |
129 return [(c_path, CFLAGS)], LDFLAGS, True |
130 |
130 |