- fix: error in auto generate makefile under linux
This commit is contained in:
parent
7bc5a2ee7a
commit
17516c8111
1
NEWS.md
1
NEWS.md
|
@ -15,6 +15,7 @@ Red Panda C++ Version 1.0.2
|
||||||
- enhancement: only tag the first inconstantency when running problem case, to greatly reduce compare & display time
|
- enhancement: only tag the first inconstantency when running problem case, to greatly reduce compare & display time
|
||||||
- fix: can't stop a freeze program that has stdin redirected.
|
- fix: can't stop a freeze program that has stdin redirected.
|
||||||
- enhancement: context menu for problem cases table
|
- enhancement: context menu for problem cases table
|
||||||
|
- fix: error in auto generate makefile under linux
|
||||||
|
|
||||||
Red Panda C++ Version 1.0.1
|
Red Panda C++ Version 1.0.1
|
||||||
- fix: only convert project icon file when it's filename doesn't end with ".ico"
|
- fix: only convert project icon file when it's filename doesn't end with ".ico"
|
||||||
|
|
|
@ -284,9 +284,9 @@ void ProjectCompiler::writeMakeClean(QFile &file)
|
||||||
{
|
{
|
||||||
writeln(file, "clean: clean-custom");
|
writeln(file, "clean: clean-custom");
|
||||||
if (mProject->options().type == ProjectType::DynamicLib)
|
if (mProject->options().type == ProjectType::DynamicLib)
|
||||||
writeln(file, "\t${RM} $(CLEANOBJ) $(BIN) $(DEF) $(STATIC) > NUL 2>&1");
|
writeln(file, QString("\t${RM} $(CLEANOBJ) $(BIN) $(DEF) $(STATIC) > %1 2>&1").arg(NULL_FILE));
|
||||||
else
|
else
|
||||||
writeln(file, "\t${RM} $(CLEANOBJ) $(BIN) > NUL 2>&1");
|
writeln(file, QString("\t${RM} $(CLEANOBJ) $(BIN) > %1 2>&1").arg(NULL_FILE));
|
||||||
writeln(file);
|
writeln(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -282,7 +282,7 @@ private slots:
|
||||||
void onProblemSetIndexChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
void onProblemSetIndexChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||||
void onProblemCaseIndexChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
void onProblemCaseIndexChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||||
void onProblemNameChanged(int index);
|
void onProblemNameChanged(int index);
|
||||||
void onRroblemRunCurrentCase();
|
void onProblemRunCurrentCase();
|
||||||
void onNewProblemConnection();
|
void onNewProblemConnection();
|
||||||
void updateProblemTitle();
|
void updateProblemTitle();
|
||||||
void onEditorClosed();
|
void onEditorClosed();
|
||||||
|
|
|
@ -698,6 +698,7 @@ void Project::setCompilerSet(int compilerSetIndex)
|
||||||
if (mOptions.compilerSet != compilerSetIndex) {
|
if (mOptions.compilerSet != compilerSetIndex) {
|
||||||
mOptions.compilerSet = compilerSetIndex;
|
mOptions.compilerSet = compilerSetIndex;
|
||||||
updateCompilerSetType();
|
updateCompilerSetType();
|
||||||
|
setModified(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue