Skip to content

May be bazel plugin or cmake bug. #7292

@MiyamuraMiyako

Description

@MiyamuraMiyako

Description of the bug:

When I click Run in clion, everything works fine, but when I click Debug, CMake will fail.
After checking, it is the -fdebug-compilation-dir parameter that causes it. My project is in a directory named D. After adding the -fdebug-compilation-dir parameter, CMake will think that \D is an invalid escape.

Image

Which category does this issue belong to?

CLion

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

In Windows, the bazel project is created in a directory named D(e.g. E:\D\xx), then the zxing-cpp library is imported, some relevant code is written, and then debug is clicked.

Which Intellij IDE are you using? Please provide the specific version.

CLion

What programming languages and tools are you using? Please provide specific versions.

c++17, msvc 14.42.34321

What Bazel plugin version are you using?

2025.01.21.0.1-api-version-243

Have you found anything relevant by searching the web?

None

Any other information, logs, or outputs that you want to share?

None

Metadata

Metadata

Type

No type

Projects

Status

Untriaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions