This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253152 - Commands for single file compilations are not updated after CMakeLists.txt update.
Summary: Commands for single file compilations are not updated after CMakeLists.txt up...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 11:24 UTC by ymiroshnyk
Modified: 2016-07-19 08:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ymiroshnyk 2015-06-24 11:24:22 UTC
I generated a project from cmake. After project created (or maybe after first compile) there is a list of commands automatically generated to allow to compile any single file (with F9). I suppose all these commands are stored in nbproject/private/Default.properties. But after I change CMakeLists.txt (like add new compilation flag) and re-generate Makefile and rebuild project, every single file are compiled (by pressing F9) with old list of compilation flags.

So, it would be great to update commands for single file compilations after Makefile regenerated.
Comment 1 Vladimir Voskresensky 2015-06-24 18:02:54 UTC
As workaround you can do not the following:
- when you clean & build project from the IDE have a look at Output window
- there is a gear icon on the leftside of Output window
- press it and allow IDE to overwrite old compile info with the new one.

What we should do:
- have an option in Code Assistance category in project's Properties to allow "auto update" after clean&build, so user doesn't have to look for and press this icon in Output window
Comment 2 Vladimir Voskresensky 2015-06-24 18:05:14 UTC
(In reply to Vladimir Voskresensky from comment #1)
> As workaround you can do not the following:
*not* == now
Comment 3 ymiroshnyk 2015-06-24 19:21:13 UTC
Thanks. This button also has no tooltip, so it's very hard to find by yourself.
Comment 4 Vladimir Voskresensky 2015-06-26 04:32:48 UTC
I have a tooltip on this button :-)