Page 1 of 1
Suggestion: Build project after settings changed
Posted: Thu Jul 12, 2012 12:31 pm
by Fred
Hello,
when I build a project after changing the settings, I get "Nothing to be done".
But the new settings can require a new build.
I have to use "Rebuild Project" from the menu.
IMO it is not necessary to check each of the settings for a change, but it will do to set a flag when the user clicks Apply or OK.
When the user then starts a Build command, this flag could be checked, additional to the checking for changed code in editor and files.
Regards,
Fred
Re: Suggestion: Build project after settings changed
Posted: Thu Jul 12, 2012 12:57 pm
by Jarod42
It is more complicated though...
in Settings, there are compiler, linker, debugger, resource settings, ...
The ideal should be to do only the needed things.
for example, if I change linker options, I don't need to recompile all files but I would just do the linker step (and next steps).
I would see possible solution for generated Makefile (with dummy files and additional dependencies)
(but not with custom build. I don't know this mode)...
Re: Suggestion: Build project after settings changed
Posted: Fri Jul 13, 2012 12:12 am
by Fred
Good evening Jarod,
As settings are not changed frequently, IMO it is ok to wait for some time until the build has been done.
Only with large monolithic projects a problem.
Regards,
Fred
Re: Suggestion: Build project after settings changed
Posted: Mon Jul 16, 2012 9:47 am
by eranif
Fred wrote:As settings are not changed frequently, IMO it is ok to wait for some time until the build has been done.
A possible solution will be to prompt the user 'Project settings were modified, do you want to perform a re-build?' with little checkbox 'Remember my answer and don't annoy me again'
But then again, I definitely see myself (and many other users) clicking on the 'No' and 'Don't annoy me again' and we are back to square one
Performing a 'rebuild' without a user permission is a bad idea (rebuilding codelite itself in debug takes 7-8 minutes on Windows)
User should know what he is doing and if a rebuild is needed
Eran
Re: Suggestion: Build project after settings changed
Posted: Mon Jul 16, 2012 7:01 pm
by Fred
Hello Eran,
thank you for your reply.
A possible solution will be to prompt the user 'Project settings were modified, do you want to perform a re-build?' with little checkbox 'Remember my answer and don't annoy me again'
But then again, I definitely see myself (and many other users) clicking on the 'No' and 'Don't annoy me again' and we are back to square one
Yes, this would be only a temporary solution, but better than no warning. Perhaps without the checkbox?
Performing a 'rebuild' without a user permission is a bad idea (rebuilding codelite itself in debug takes 7-8 minutes on Windows)
User should know what he is doing and if a rebuild is needed
I fully agree.
Regards,
Fred
Re: Suggestion: Build project after settings changed
Posted: Wed Jul 18, 2012 10:43 am
by Fred
Hello,
there is another related problem:
My project tree contains 2 icons, which are referenced by the rc file.
After editing them with a resource editor, these changes are not recognized, and windres is not started on Build.
I have to Rebuild.
Regards,
Fred