Internal Builder customized command line [message #809368] |
Tue, 28 February 2012 19:56 |
Sam Hain Messages: 2 Registered: February 2012 |
Junior Member |
|
|
In the Eclipse, C/C++ Build -> Settings -> Tool Settings -> C++ Compiler, there is an "expert settings" option that defaults to the following
${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}
This places my built object files into a directory structure similar to my code:
src
----common
----etc
----etc2
I would like all of the object files to go to a single directory.
The variable ${OUTPUT} is the fully referenced name of the file being compiled( e.g. src/common/MyClass.o ). Is there a variable, or some way, to get just the name of the output file? I'm looking to do something like this:
${COMMAND} ${FLAGS} ${OUTPUT_FLAG} objects\${OUTPUT_PREFIX}${OUTPUT_FILENAME_ONLY} ${INPUTS}
|
|
|
Powered by
FUDForum. Page generated in 0.04134 seconds