https://bugs.kde.org/show_bug.cgi?id=409238
Bug ID: 409238
Summary: kdevelop: does not respect include directories added
by target_include_directories
Product: kdevelop
Version: 5.3.2
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Build tools: CMake
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
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
--
You are receiving this mail because:
You are watching all bug changes.