Are all linker CMD files within a project used in a build of that project?
EG: If I have several .cmd files linked in the project explorer, but not add to the linked --library input property in the project properties, it seems they still added correctly?
Moreover, what controls the order they are added in? Does order matter (like cascading styles, etc)?
I note a default project may automatically add F28027.cmd (as that's the device I have selected in the project setup) but I can also link F2802x_Headers_nonBIOS.cmd.
If I would like to add the files via properties instead of linking them in the explorer, do I need only add them in project > properties > Build > C2000 Linker > File Search Path > Include, or, should they be added in project > properties > build > link order as well/instead?
Thanks
EDIT: I have added the F28027.cmd and F2802x_Headers_nonBIOS.cmd files via the linker --library properties, I also have added a cmd file of my own with additional SECTIONS that resides in the project file and so is automatically added to the build. According to the .map file, this appears to work as intended, so maybe the order is not so important.
But is this the "correct" or intended way for such to work? Do the cmd files need to be specified anywhere else in the properties?
The reason I am looking at this is because I'd like to make some of my projects as portable as possible for sharing across a git installation, plus I also like to keep my project directory as clean as possible. This method of course also removes the need to add custom sections to the TI supplied cmd files.
Thanks