Advice: Pragmatically/batch configure C++ projects [message #775650] |
Fri, 06 January 2012 08:06 |
Eclipse User |
|
|
|
Hello all,
Can someone give me some advice/pointer to change pragmatically the configuration of C++ project( and make configuration).
The fact is that I need to work with a big bunch of source c/c++ code composed of more than 132 Project (in a first step).
I need to extract from a specific build system the dependencies, build option, etc ( I manage this part .. ) and reflect them into eclipse project configuration...
Currently, the only safe way to do it i found is with the GUI and mouse!
( editing in perl the .project/.cproject XML is not a safe way !)
How can I write a specific plugin to do this jobs automatically?
So far I try to derive from the "Hello world" plugin tutorial, and got a plugin that display the list of project. But I cant find how to problematically change the following parameters (available in the GUI)
- c++ Build-> Configuration ( choose always the same 'Default')
- c++ Build-> C++ Build Directory
- c++ Build-> Behavior -> Build Command
- C++ General -> file type ( add/update two specific ones)
- C++ General -> Path and Symbols -> #symbols ( add 2 Symbols)
- C++ General -> Path and Symbols -> References ( update depending on module)
Can you point me to code/sample/specs ... anything !
Thanks for your help
hp tf
|
|
|
Powered by
FUDForum. Page generated in 0.04262 seconds