This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Condition compile output files

Hi there,
Is there a way to have the Keil IDE output different hex and map filenames based on some conditional #if defined(x) like in conditional compilations?

Thanks

Parents
  • "1. Can I add files to only one target and not the others?"

    No: You Add files to the Project; however, you can set/clear the 'Include in Target Build' option for individual files and/or Groups on a per-Target basis.

    "2. Is there a way to have all the targets show up on the project window so that I can just select the target and build it."

    No.
    The Project window shows only the current Target - there's a drop-down on the toolbar where you choose the Target.

Reply
  • "1. Can I add files to only one target and not the others?"

    No: You Add files to the Project; however, you can set/clear the 'Include in Target Build' option for individual files and/or Groups on a per-Target basis.

    "2. Is there a way to have all the targets show up on the project window so that I can just select the target and build it."

    No.
    The Project window shows only the current Target - there's a drop-down on the toolbar where you choose the Target.

Children
No data