Author Topic: Enhance toolchain detection and distribute pre-configured  (Read 4598 times)

Offline smartmobili

  • Single posting newcomer
  • *
  • Posts: 6
Enhance toolchain detection and distribute pre-configured
« on: May 20, 2009, 07:31:36 pm »
Hi,

I have started an open source project to unify development on windows CE, symbian and iPhone
and I need  a common IDE.
CodeBlocks seems a good candidate even if there a many things I don't like but I don't have time to talk about this for now.
The first thing I would like to know if is it possible to redistribute codeblocks preconfigured for some toolchains.
Here is what I would like to do :


1) Install Codeblocks
2) Start a Setup that will ask user where he wants to install some toolchains and generate some XML configuration files
that will describe compiler parameters (path, flags, ...)
3) Start Codebklocks and read the XML files to fill the compilers info.

Actually what would be great is to enhance toolchain detection by any means...

What do you think and what can be done ?
Actually the problem is to be able to export compiler settings.
« Last Edit: May 20, 2009, 09:39:15 pm by smartmobili »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Enhance toolchain detection and distribute pre-configured
« Reply #1 on: May 21, 2009, 01:07:45 pm »
Well, if nothing else, you can put whatever you need into a script and run that, this should work. Code::Blocks can be told to run a script file given on the commandline.
Or, you could write a custom "compiler setup" plugin that makes whatever modifications you want on the first run (if some configuration file is present that tells it what to do).

Or, you can install Code::Blocks and edit the config file with a custom-made program/script afterwards (config is in XML format). Obviously, if this blows off your right arm, it's your own fault :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."