News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Has anyone considered replacing autotools with CMAKE for building code::Blocks?

Started by billus, March 13, 2019, 02:09:15 AM

Previous topic - Next topic

billus

Seems to me that for bouncing back and forth between macOS, Windows and Linux, life is easier on a CMAKE-based build than autotools, which doesn't run natively on Windows and is painful at best on macOS.

oBFusCATed

Yes, I've considered it, but I can't find the time or desire to port the whole build system to cmake. I prefer to work on actual bugs making C::B better for users and accept that the development would be a bit harder.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

billus

Hopefully you won't mind if I give it a shot. My thinking is that, if you make the development process easier, more people will tackle a bug or two rather than spend hours figuring out how to build (as I have with Alpine, much less macOS).

oBFusCATed

I doubt it. CMake is not really user friendly. In fact on linuxes autotools is a lot user friendlier than cmake.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

fruitCode

That's a personal opinion. Besides cmake improved a lot to my opinion. I agree with billus however I see your point too about the work.

@billus: do you have anything working yet? Maybe I can assist?


MortenMacFly



Quote from: billus on March 13, 2019, 06:10:26 PM
Hopefully you won't mind if I give it a shot.

Sorry I missed that post. I do have some initial work which was meant for this purpose, but its way outdated. But I agree that it would help with e.g. the Mac builds. That was my intention as well.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

I'll revive my gdbmi plugin soon and I will experiment with both meson and cmake.
CMake is a standard these days, but it is a terrible system. And it is massively slow to do the configure when the project becomes really big...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]