Community
Participate
Working Groups
In (project) properties I define a user build variable (using the given dialogue) under "C/C++ Build". Let's call it XYZ. Give it a string value of C:\Temp\. Under "Settings" I place this variable as $(XYZ) into the expert settings command line pattern as follows: ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} $(XYZ)${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} I then compile a .c or .cpp file. The $(XYZ) fails to expand, and is therefore in the executed command in unexpanded form. The command of course does not work correctly, and is unable to generate the expected file.