[CMake] Adding Code::Blocks support
Michael Casadevall
sonicmctails at aol.com
Fri May 5 13:33:30 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I would like to add a new generator to CMake adding support for
Code::Block Project Files, since Code::Blocks, while being an IDE,
doubles as a full build system which supports quite a few obscure
compilers such as the Digital Mars compiler that CMake doesn't
support. I'm currently tracking head, but any tips on adding the new
generator would be handy, and there a few things I've got questions
about:
1. Compiler detection - How should this handled. Code::Blocks
supports up to eight different compilers, and there is no way that I
can find of detecting which compiler C::B is going to use. I could
just try in turn every compiler CMake knows how to use, but not fail
should it not find a usable compiler, and still generate the cbp files.
2. Library detection - See above.
3. Paths - C::B fairly anonying with path placement. The cbp file
expects to be in the root of the source directory, and although this
isn't a requirement, odd things sometimes happen (like I've seen C::B
tell me a path is ../*path to source*, it either requires full paths
(which I'm unsure if CMake supports) or relative paths.
4. Interworkspace Dependancies - As far as I can tell, Code::Blocks
doesn't support multiple projects in the workspace
In a lot of ways, Code::Blocks works like KDevelop, so it's a good
basis for this module.
Michael C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEW4xwPruu8bAYTRwRAnZNAJ4iXFdcgKMElWOyOLgvcwSLvHotYgCgyQHV
fVrCpjjcovFHFLUTPY3nvF8=
=6laa
-----END PGP SIGNATURE-----
More information about the CMake
mailing list