cmd /c copy $(TARGET_OUTPUT_FILE) <pathname>
if this is done by design, please remove the macro keyword from the window.Well, it can be used at any time, it just doesn't make sense to do so. What this variable points to is the output file of the currently active target. Such a thing as a "currently active" target obviously only exists while the build is running and a target is being built. At all other times, any target in the project is just as much "active" or "not active" like any other.
it looks like you could use this key word at any time.
if this is done by design, please remove the macro keyword from the window.Replace "TARGET" with the actual targets name, e.g. "DEFAULT" -> so that it reads $(DEFAULT_OUTPUT_FILE) and it'll work for the tools menu. Thomas and you spoke about different things. Thomas spoke about pre/post-build steps and you are about the tool menu.
it looks like you could use this key word at any time.
Thomas spoke about pre/post-build steps and you are about the tool menu.Same thing. It's not defined in either :)
Replace "TARGET" with the actual targets name, e.g. "DEFAULT" -> so that it reads $(DEFAULT_OUTPUT_FILE)This will work (but it's an entirely different thing too, it refers to precisely one particular target, not the active one).
Same thing. It's not defined in either :)But I still believe he ment $([HOWEVER_THE_TARGETS_NAME_IS]_OUTPUT_FILE) which *does* exist. ;-)