Bug 409238

Summary: kdevelop: does not respect include directories added by target_include_directories
Product: [Applications] kdevelop Reporter: me
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description me 2019-06-27 09:49:14 UTC
SUMMARY
I have a project with multiple components in folders added with 'add_subdirectory()'. the include path specified in the various modules with 'target_include_directories(x PUBLIC y)' is not properly added to the project include path as the semantic analysis doesn't work (proposed solution: add custom include path)

STEPS TO REPRODUCE
1. have a cmake project with submodules
2. reference something from one submodule or include a header file from submodule

OBSERVED RESULT
problem in semantic analysis

EXPECTED RESULT
semantic analysis should find all file in include path specified by target_include_directories(x PUBLIC y)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon User Edition 5.16
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3