From 396b6f42dc0beadf10543e370cc941d1ec0044d7 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 8 Apr 2024 13:49:59 +0800 Subject: [PATCH] fix : project include dirs not in make file --- RedPandaIDE/compiler/projectcompiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RedPandaIDE/compiler/projectcompiler.cpp b/RedPandaIDE/compiler/projectcompiler.cpp index ce98693a..f01288d2 100644 --- a/RedPandaIDE/compiler/projectcompiler.cpp +++ b/RedPandaIDE/compiler/projectcompiler.cpp @@ -246,7 +246,9 @@ void ProjectCompiler::writeMakeDefines(QFile &file, bool &genModuleDef) QStringList libraryArguments = getLibraryArguments(FileType::Project); QStringList cIncludeArguments = getCIncludeArguments(); + cIncludeArguments += getProjectIncludeArguments(); QStringList cxxIncludeArguments = getCppIncludeArguments(); + cxxIncludeArguments += getProjectIncludeArguments(); #ifdef Q_OS_WIN QStringList resourceArguments = parseArguments(mProject->options().resourceCmd, devCppMacroVariables(), true); #endif