1
Using Code::Blocks / Re: how to let github action to run codeblocks.exe to build cbp project
« Last post by christo on Yesterday at 07:47:09 pm »Hi @ollydbg,
Could you please try below patch? I could see compiler auto-detection dialogue when I tested build via command line in Ubuntu, below patch avoided it.
Could you please try below patch? I could see compiler auto-detection dialogue when I tested build via command line in Ubuntu, below patch avoided it.
Code
diff --git a/src/sdk/compilerfactory.cpp b/src/sdk/compilerfactory.cpp
index f36e2beb9..87f2eb5ae 100644
--- a/src/sdk/compilerfactory.cpp
+++ b/src/sdk/compilerfactory.cpp
@@ -288,7 +288,7 @@ void CompilerFactory::LoadSettings()
}
// auto-detect missing compilers
- if (needAutoDetection)
+ if (needAutoDetection && !Manager::IsBatchBuild())
{
AutoDetectCompilers adc(Manager::Get()->GetAppWindow());
PlaceWindow(&adc);
Recent Posts