Jump to content

Build And Target Changes

Recommended Posts




While doing some tests on a "bug report" I noticed that a target change (settings -> target) is not considered as a project change for a "build".

In fact the "build" -> "change target" -> "build" sequence does not result in the project beeing rebuilt.


For this kind of operation we need to make some minor source code changes, like adding a space or a blank line to each source file or use "rebuild all" (buiild -> rebuild all) to force a new build.

But when we get into "cruise control" mode we just it the "B" on the toolbar.



I am aware that in a strict approach this is correct behaviour because "make" uses the source files timestamp to decide on the need of new compilations and/or linkage.

But it would be nice that "make" would recognise changes in the target device, like it does with compiler and/or linker options (settings->options)..



Maybe adding a dependency on the project file (myproj.__c) to the makefile can do the job.



Best regards


Edited by JorgeF
Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...