Bug 409238 - kdevelop: does not respect include directories added by target_include_directories
Summary: kdevelop: does not respect include directories added by target_include_direct...
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (other bugs)
Version First Reported In: 5.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-27 09:49 UTC by me
Modified: 2019-08-23 11:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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