parser does not exclude build directory

Milian Wolff mail at milianw.de
Sun Apr 24 13:58:50 BST 2016


On Freitag, 22. April 2016 14:15:41 CEST Yavuz Mert wrote:
> Hi all,
> I have a problem in kdevelop5 beta 2,
> 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.
> 
> Is there a manual method to set exclude directories for the parser -similar
> to that used for 'find in files'
> Or should I file a bug report.

Please file a bug report and also give us more information on how to 
reproduce. Best is to attach a CMake project that exhibits this issue.

One assumption I have is that you have a structure like:

foo/
foo/sources...
foo/build/...

correct? If so, you can right-click on the build folder and "exclude it from 
project".

HTH
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20160424/fd74b5aa/attachment.sig>


More information about the KDevelop mailing list