From aca3ce8b248644754eb7b61428530f5475fdf76a Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 15 Apr 2024 16:55:10 +0800 Subject: [PATCH] - change: Don't generate project resource files for sdcc project. --- NEWS.md | 1 + RedPandaIDE/project.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS.md b/NEWS.md index a4328e77..727059c3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -144,6 +144,7 @@ Red Panda C++ Version 2.27 - enhancement: Auto type induction for "std::make_shared"/"std::make_unique". - enhancement: sdcc project compiler: compile source file in subfolders. - fix: project options -> compiler set -> static link & auto convert charset options not correctly loaded. + - change: Don't generate project resource files for sdcc project. Red Panda C++ Version 2.26 - enhancement: Code suggestion for embedded std::vectors. diff --git a/RedPandaIDE/project.cpp b/RedPandaIDE/project.cpp index 0dcec0be..315cf4dd 100644 --- a/RedPandaIDE/project.cpp +++ b/RedPandaIDE/project.cpp @@ -1362,6 +1362,8 @@ QString Project::folder() void Project::buildPrivateResource() { + if (mOptions.type == ProjectType::MicroController) + return; int comp = 0; foreach (const PProjectUnit& unit,mUnits) { if (