I'm trying to setup a custom command to be executed during Release build only (Xcode) using CMake 2.8.4, but I cannot find any configuration based options to ADD_CUSTOM_COMMAND ? Workarounds ? TIA /Rob