Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Advice: Pragmatically/batch configure C++ projects (How to batch change C++Project settting via program/Plugin)
Advice: Pragmatically/batch configure C++ projects [message #775650] Fri, 06 January 2012 13:06
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: August 2011
Junior Member
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 .. Smile ) 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
 
Read Message
Previous Topic:debugging on (embedded) remote target
Next Topic:"Clean" actually does a build?
Goto Forum:
  


Current Time: Sat Jul 22 09:07:21 GMT 2017

Powered by FUDForum. Page generated in 0.04632 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software