Skip to content

Commit a02af1c

Browse files
committed
Fix Build All Libraries so that CMM and LMM are done correctly.
1 parent c1cd06c commit a02af1c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

propside/buildc.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ int BuildC::runBuild(QString option, QString projfile, QString compiler)
132132
{
133133
status->setText(tr("Building ..."));
134134

135-
QString model = projectOptions->getMemModel();
135+
QString memmod = projectOptions->getMemModel();
136136
if (option.indexOf(BUILDALL_MEMTYPE) == 0) {
137-
model = option.mid(option.indexOf("=")+1);
138-
model = ">memtype="+model;
137+
memmod = option.mid(option.indexOf("=")+1);
138+
memmod = ">memtype="+memmod;
139139
option = "";
140140
for (int n = 0; n < list.length(); n++) {
141141
if(list[n].contains(">memtype")) {
142-
list[n] = model;
142+
list[n] = memmod;
143143
break;
144144
}
145145
}
@@ -1221,11 +1221,12 @@ int BuildC::getCompilerParameters(QStringList copts, QStringList *args)
12211221
//portName = cbPort->itemText(cbPort->currentIndex());
12221222
//boardName = cbBoard->itemText(cbBoard->currentIndex());
12231223

1224-
QString model = projectOptions->getMemModel();
1224+
//model = projectOptions->getMemModel();
12251225
QString newmodel;
12261226
if (copts.at(0).contains(BUILDALL_MEMTYPE)) {
12271227
QString mopt = copts.at(0);
12281228
newmodel = mopt.mid(mopt.indexOf("=")+1);
1229+
model = newmodel;
12291230
copts.removeAt(0);
12301231
}
12311232
model = model.mid(0,model.indexOf(" ")); // anything after the first word is just description

propside/propside.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# These define the version number in Menu->About
66
DEFINES += IDEVERSION=1
77
DEFINES += MINVERSION=1
8-
DEFINES += FIXVERSION=0
8+
DEFINES += FIXVERSION=1
99
VERSION = IDEVERSION"."MINVERSION"."FIXVERSION
1010

1111
QT += core

0 commit comments

Comments
 (0)