For situations where you need to specify link options that are not available on the build configuration Link page in your project's properties, you can use the Link Command Line Override field to specify a non-default link command.
You must specify the entire link command, typically using the cbllink (Windows) or cob (UNIX/Linux) command.
The following ant variables are available for use:
${objectfile} ${destdir} ${destfile} ${entrypoint} ${dllext} ${exeext} ${additionalOptions}
The following is an example override command:
cob -x -e ${destfile} -o ${destfile} ${objectfile}
If the link command is to create an output from a number of object files, you need to specify each file explicitly, each being prefixed with the base directory and explicit output folder:
${basedir}/output_folder/