Next: Customize Features, Previous: Add/Remove target, Up: Modifying your project [Contents]
To add the current file to an existing target, type C-c . a
(ede-add-file
), or use the ‘Add File’ menu item in the
‘Target Options’ submenu.
You can add a file to more than one target; this is OK.
To remove the current file from a target, type C-c . d
(ede-remove-file
), or use the ‘Remove File’ menu item
in the ‘Target Options’ submenu. If the file belongs to multiple
targets, this command prompts for each target it could be removed
from.
While working in a project, if you visit a file that is not part of an
existing target, EDE automatically prompts for a target. If you do
not wish to add the file to any target, you can choose ‘none’.
You can customize this behavior with the variable
ede-auto-add-method
.