https://bugs.kde.org/show_bug.cgi?id=421151

            Bug ID: 421151
           Summary: target_precompile_headers support
           Product: kdevelop
           Version: 5.5.1
          Platform: unspecified
                OS: unspecified
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: andro...@gmail.com
  Target Milestone: ---

Created attachment 128233
  --> https://bugs.kde.org/attachment.cgi?id=128233&action=edit
an example project

SUMMARY
since CMake 3.16

STEPS TO REPRODUCE
1. Create CMake Project
2. use target_precompile_headers as intended (make sure you use the header)
3. build the project

note : I will leave an example project attached

OBSERVED RESULT
It builds successfully but the auto-comp and the parser show an error because
the headers is not #include-d (it's force included by cmake though)

EXPECTED RESULT
the auto-comp and the parser should, parse and include the the pre-compiled
header (and possibly generate it as needed) for target's source code without
manually #include

ADDITIONAL INFORMATION
https://cmake.org/cmake/help/latest/command/target_precompile_headers.html

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to