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

            Bug ID: 374116
           Summary: CMake Projectmanager, compile_commands.json and
                    projects that don't compile anything
           Product: kdevelop
           Version: git master
          Platform: unspecified
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

It took me a while to undestand this terminal output:

```
kdevelop.projectmanagers.cmake: error. Could not find the file
".../kapidox-git/build/CMakeCache.txt"
kdevelop.projectmanagers.cmake: Could not import CMake project
".../kapidox-git" ('compile_commands.json' missing)
kdevelop.projectmanagers.cmake: error. Could not find the file
".../kapidox-git/build/CMakeCache.txt"
kdevelop.projectmanagers.cmake: Could not import CMake project
".../kapidox-git" ('compile_commands.json' missing)
kdevelop.projectmanagers.cmake: error. Could not find the file
".../kapidox-git/build/CMakeCache.txt"
kdevelop.projectmanagers.cmake: Could not import CMake project
".../kapidox-git" ('compile_commands.json' missing)
kdevelop.projectmanagers.cmake: error. Could not find the file
".../kapidox-git/build/CMakeCache.txt"
kdevelop.projectmanagers.cmake: Could not import CMake project
".../kapidox-git" ('compile_commands.json' missing)
```

generated when I opened a project for the KApidox directory. This project
contains only python files that are installed without any need for compilation,
so it stands to reason that CMake doesn't generate such a file.

I think the CMake project manager should be able to handle this one way or
another, without attempting multiple (lots of) times.

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

Reply via email to