Managed Make [message #178087] |
Mon, 09 October 2006 07:29 |
Eclipse User |
|
|
|
Originally posted by: manuel.selva.silicomp.com
Hi all,
As said in a previuos post i am extending the cdt to a new kind of project
"called" myproject.
I have a new wizard for this projects. Durring the wizard the user must
specify a path to find my librairies headers. When the finish button is
pressed the plugin automatically add the -I "\the\specified\path" to the
g++ compiler options (to do this i get the toolchain and next the tool and
finally the tool options Java objects) .
My plugin also add a specific property for all project matching myproject
nature.This property page just summs up the specified path to find header
specified by the user at creation. This windows allows the user to change
this path!! When the ok button is pressed the g++ compiler options are
modified using the same way as explained. Modifing compiler options using
this way implies changes in the C\C++ built property created by CDT. If
the user specify /home/mylib he will see in the C\C++ built property page
in the compiler directory field: /home/mylib.
My problem is the following:
I have to modify my specific window when the user modify the "mylibrary"
include directory in the C/C++ property page. My change doesn't need to be
done automaticaly. Each time the user ask for my specific property page i
need to retreive the include path in the g++ compiler tool object to
display the correct information if it has been modified by the C\C++ page.
How should i do this ???
Is it possible to add listener on one particular include path of the
compiler tool??
I think no!! Compiler include options are all treated the same way by the
cdt and cannot be differenciated .. Am i rhigh ?
Thanks for your help
Manu
|
|
|
Powered by
FUDForum. Page generated in 0.03668 seconds