- fix: Custom compile options is not used when retrieve macros defined by the compiler.
This commit is contained in:
parent
33d4327443
commit
78f00febbc
1
NEWS.md
1
NEWS.md
|
@ -7,6 +7,7 @@ Red Panda C++ Version 2.25
|
|||
- enhancement: ANSI escape sequences Support in windows 10/11 ( from cyano.CN )
|
||||
- enhancement: Option "Enable ANSI escape sequences Support" in Settings -> Executor
|
||||
- change: Use freetype as the fontengine in windows ( from cyano.CN )
|
||||
- fix: Custom compile options is not used when retrieve macros defined by the compiler.
|
||||
|
||||
Red Panda C++ Version 2.24
|
||||
|
||||
|
|
|
@ -2379,7 +2379,10 @@ QStringList Settings::CompilerSet::defines(bool isCpp) {
|
|||
}
|
||||
#endif
|
||||
|
||||
|
||||
if (mUseCustomCompileParams) {
|
||||
QStringList extraParams = splitProcessCommand(mCustomCompileParams);
|
||||
arguments.append(extraParams);
|
||||
}
|
||||
arguments.append(NULL_FILE);
|
||||
|
||||
QFileInfo ccompiler(mCCompiler);
|
||||
|
|
Loading…
Reference in New Issue