1
General (but related to Code::Blocks) / Re: r13922 .cbp Option object_output usage
« Last post by Miguel Gimenez on Yesterday at 09:12:29 pm »Spam reported to moderator
As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
What is base in the first example?
Do you see any errors in the script console?
Have you tried to execute your scripts in the script console to debug them?
Have you added some prints to debug what is going on?
AddCommandsAfterBuild is the correct function/method to call if you want to add post build commands.
There are very few APIs which work only in wizards. Most of the APIs work everywhere. moviesda
Thanks for the fix and sorry for not responding earlier, but got distracted by day job ...When working on builds for Fedora (https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/, details are in the builder-live.log files), I have noticed that libtool version 2.6.2 present in Rawhide fails the build of the codesnippets plugin after the tinyxml LIBADD was removed from its Makefile.am in revision 13996. System tinyxml library is used in the builds. I have confirmed that with libtool downgraded to 2.5.4 the build runs OK. AFAICT other plugins still use the LIBADD mechanism. Likely some change in libtool is causing this ...
Thanks for the report.
Fixed svn r14017
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.Codediff --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);
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);