Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May be bazel plugin or cmake bug. #7292

Open
MiyamuraMiyako opened this issue Feb 9, 2025 · 1 comment
Open

May be bazel plugin or cmake bug. #7292

MiyamuraMiyako opened this issue Feb 9, 2025 · 1 comment
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: CLion CLion plugin type: bug

Comments

@MiyamuraMiyako
Copy link

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

@ujohnny
Copy link
Collaborator

ujohnny commented Feb 9, 2025

It’s a bug. We’ll take care of it, thank you for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: CLion CLion plugin type: bug
Projects
Status: Untriaged
Development

No branches or pull requests

3 participants