[CDT] export a symbol to project in refence [message #1822550] |
Mon, 09 March 2020 13:54  |
Eclipse User |
|
|
|
Hi everyone,
On CDT, I have a project composed of a main project (with main) named "Proj_A"and a sub project "Proj_B".
"Proj_B"' build a static lib. It is configured as a "reference" in the configuration of "Proj_A". ('Paths and Symbol' menu)
I would like to provide a symbol from "Proj_A" to "Proj_B" (depending of the configuration of "Proj_A").
For example, "Proj_A" define the symbol TRACE_DEBUG=1, and "Proj_B" need this information. How can I give this symbol to "Proj_B"?
In the IDE, I see that in Proj_A I can export symbol ('Paths and Symbol' menu).
This print : TRACE_DEBUG[exp]
But I can't retrieve this symbol in "Proj_B".
Could you please help me on that subject?
Regards
Gregory
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04763 seconds