parser does not exclude build directory

Matthew Woehlke mwoehlke.floss at gmail.com
Fri Apr 22 15:41:20 BST 2016


On 2016-04-22 07:15, Yavuz Mert wrote:
> I occasionally use "make package_source" to prepare a source package (tgz) in 
> cmake build directory, which copies the source files in a "_CPack_Packages" 
> directory inside the build directory. After that kdevelop parser use those 
> files also. And then "Code browser", "Show Uses" etc. navigate to those files, 
> which are actually duplicates of the original sources.
> 
> Maybe the best option would be to exclude the build directory totally for the 
> parser automatically. But then, parser may not work for the cmake-generated, 
> configured files which are intentionally put in build directory.

As you note, this is somewhat a feature. It would be nice if KDevelop
were smart enough to ignore duplicates, though. I think it could do that
by default, without needing an option.

-- 
Matthew




More information about the KDevelop mailing list