Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Offers and ideas to help codeblocks

(1/2) > >>

hanetzer:
So, I have three ideas which codeblocks may want to implement, and I'm willing to do the legwork
needed for them if the codeblocks team are interested in it.


* Move to mesonbuild.
Mesonbuild is a pure python build configuration tool (it is analogous to autotools) which generates ninja build scripts (which is analogous to make and Makefiles)
As a general rule both the configure and build stage are by and far faster using meson/ninja than configure/make, which could really speed up development flow
once you're used to the build flow
* Get newer mingw-w64 compilers for windows.
As it currently stands codeblocks ships with gcc 5.1, while 8.3 is the current release. It would be nice to at least get to 7.3 as a default, as at least my current college
requires that any and all projects submitted for the class be able to run in the codeblocks they have installed and they don't do any after-tweaking to use a different
toolchain, so it limits the more enterprising students' options. I was thinking to pull the packages from msys2's toolchain packages (they produce native windows
binaries without a dep on cygwin.dll or the like) and adjusting the compiler xml file to use it.
* Move from svn to git.
Just throwing this out there. I can do the conversion if desired but would require some help from the prior developers as svn only stores the author's username
(foobar) and git requires a name and email (foobar <foo@bar.net>). I can just use "foobar <foobar@codeblocks.org>" for existing authors if so desired.

sodev:

* Nope. If you really want to move to another build system use a more "standard" one. So far many open source projects use CMake, this is IMHO kind of the standard meta build system right now. And even Boost is moving to that one, enough said ;D. This won't be an easy task, CodeBlocks does a lot of extra stuff than compiling, you need to drive the package generators, seems like a lot of work.
* I dont know if it is just me who is so old school and refuses to use a POSIX environment on Windows to build my stuff (hmm, actually the only reason to have a GCC toolchain on Windows for me is CodeBlocks... CodeBlocks, why you no can be compiled with MSVC :'(), but i just use the online installer of MinGW-w64 to download the toolchain. It's kind of one-click, set the path in CodeBlocks and i'm done, no editing XML or the like :o ::)
* Fixing the eMails is the easiest task, you will have way more fun dealing with externals, fixing revision references in log messages and i don't know what else you will face. But i do like the move to git, no more patch files scattered around the forum, only nice PR's (ok, i know who won't like that  ;D)
Just for reference, i'm not associated with CodeBlocks in any way despite having fixed some things here and there in the past, so this is my personal opinion about these matters.

hanetzer:

--- Quote from: sodev on April 19, 2019, 04:57:40 am ---
* Nope. If you really want to move to another build system use a more "standard" one. So far many open source projects use CMake, this is IMHO kind of the standard meta build system right now. And even Boost is moving to that one, enough said ;D. This won't be an easy task, CodeBlocks does a lot of extra stuff than compiling, you need to drive the package generators, seems like a lot of work.
--- End quote ---
I just mean for building codeblocks itself, not codeblock's building projects made in codeblocks.


--- Quote from: sodev on April 19, 2019, 04:57:40 am ---
* I dont know if it is just me who is so old school and refuses to use a POSIX environment on Windows to build my stuff (hmm, actually the only reason to have a GCC toolchain on Windows for me is CodeBlocks... CodeBlocks, why you no can be compiled with MSVC :'(), but i just use the online installer of MinGW-w64 to download the toolchain. It's kind of one-click, set the path in CodeBlocks and i'm done, no editing XML or the like :o ::)
--- End quote ---
No posix environment. Just raw windows executables.


--- Quote from: sodev on April 19, 2019, 04:57:40 am ---
* Fixing the eMails is the easiest task, you will have way more fun dealing with externals, fixing revision references in log messages and i don't know what else you will face. But i do like the move to git, no more patch files scattered around the forum, only nice PR's (ok, i know who won't like that  ;D)
--- End quote ---
Yeah, but there are tools for that, just takes a bit of massaging.


--- Quote from: sodev on April 19, 2019, 04:57:40 am ---Just for reference, i'm not associated with CodeBlocks in any way despite having fixed some things here and there in the past, so this is my personal opinion about these matters.

--- End quote ---
Fair enough, but hope I've addressed your concerns well enough :)

hanetzer:
For anyone interested in how the git conversion would turn out, it is basically this:
https://github.com/hanetzer/codeblocks
I just used stand-in author@codeblocks.org authors for this conversion, but given the
correct info below I could do a more accurate conversion.

--- Code: ---afb = afb <afb@codeblocks.org>
alpha0010 = alpha0010 <alpha0010@codeblocks.org>
artoj = artoj <artoj@codeblocks.org>
biplab = biplab <biplab@codeblocks.org>
bluehazzard = bluehazzard <bluehazzard@codeblocks.org>
byo = byo <byo@codeblocks.org>
ceniza = ceniza <ceniza@codeblocks.org>
cyberkoa = cyberkoa <cyberkoa@codeblocks.org>
damienlmoore = damienlmoore <damienlmoore@codeblocks.org>
daniel2000 = daniel2000 <daniel2000@codeblocks.org>
d_anselmi = danselmi <danselmi@codeblocks.org>
danselmi = danselmi <danselmi@codeblocks.org>
dje = dje <dje@codeblocks.org>
dmoore = dmore <dmore@codeblocks.org>
fuscated = fuscated <fuscated@codeblocks.org>
jenslody = jenslody <jenslody@codeblocks.org>
killerbot = killerbot <killerbot@codeblocks.org>
loaden = loaden <loaden@codeblocks.org>
mandrav = mandrav <mandrav@codeblocks.org>
mariocupelli = mariocupelli <mariocupelli@codeblocks.org>
mortenmacfly = mortenmacfly <mortenmacfly@codeblocks.org>
ollydbg = ollydbg <ollydbg@codeblocks.org>
pecan = pecanh <pecanh@codeblocks.org>
pecanh = pecanh <pecanh@codeblocks.org>
rickg22 = rickg22 <rickg22@codeblocks.org>
thomas-denk = thomasdenk <thomasdenk@codeblocks.org>
thomasdenk = thomasdenk <thomasdenk@codeblocks.org>
tiwag = tiwag <tiwag@codeblocks.org>
tpetrov = tpetrov <tpetrov@codeblocks.org>
zlika = zlika <zlika@codeblocks.org>
(no author) = no_author <no_author@no_author>
httpd = httpd <httpd@httpd>
mhaggag = mhaggag <mhaggag@codeblocks.org>
byo_spoon = byo_spoon <byo_spoon@codeblocks.org>
mispunt = mispunt <mispunt@codeblocks.org>
sprat = sprat <sprat@codeblocks.org>

--- End code ---

This is a full list based on my trial conversion.

BlueHazzard:
There is a git repo of codeblocks (unofically, and pull requests are ignored, but it is a git repo :) )
https://github.com/obfuscated/codeblocks_sf

I do not think the build system to build codeblocks is a problem. As soon as you have build codeblocks the first time you can use codeblocks to build codeblocks and for me this is a lot more convenient then any other build system.

If you are talking about adding support for other build environments to codeblocks, this would be a good idea... Patches and any work is highly welcome. If you do anything fundamental it would be good to first post your plan and some minimal example, prior to launch the big work...
But there is TONS of other work to do... Look at the bug tracker...

Navigation

[0] Message Index

[#] Next page

Go to full version