Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Adding 100's of C++ Projects to a Workspace


RTFM question:  Is the Build Model API specific to CDT or is it Eclipse-wide?  I have no experience with the Eclipse code base, ditto CDT.

Jordan Pomeroy
Seismic Processing Applications
(281) 654 5608



"Schaefer, Doug" <Doug.Schaefer@xxxxxxxxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx

07/11/2008 10:16 AM

Please respond to
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>



To
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
cc
Subject
RE: [cdt-dev] Adding 100's of C++ Projects to a Workspace





There was supposed to be some work done on being able to set the options on multiple configs at the same time. I'm not sure that made it.
 
You could use the Build Model APIs to write a menu item that could adjust all the settings and such.
 
Mucking with the .cproject file will likely blow up severely. Those magic numbers do need to be unique and I do believe the need to be unique across the workspace (or all workspaces even).
 
Doug.
 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of jordan.pomeroy@xxxxxxxxxxxxxx
Sent:
Wednesday, July 09, 2008 5:29 PM
To:
cdt-dev@xxxxxxxxxxx
Subject:
[cdt-dev] Adding 100's of C++ Projects to a Workspace



Adding 100's of C++ projects to a workspace is tedious.  They all have the same project settings.  I have looked at the .cproject files hoping I could just make 100 copies of one .cproject file, change some of the names, etc. and have a full workspace.


Alas.


It appears that there is a unique value attribute in the XML elements that represent user-defined configurations.  For example:

       <option id="fnu.cpp.link.option.libs.1978654434" superClass="gnu.cpp.link.option.libs" valueType="libs">


My questions for you all: is the "1988654434" just a unique number?  Does it have to be unique to my workspace or just to the .cproject?  I can't find a reference to it anywhere else in the workspace, is it being used elsewhere?


Can I just copy the .cproject file, change the attribute that indicates the project name, build artifact, etc.?


Jordan Pomeroy
Seismic Processing Applications
(281) 654 5608
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top