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

macOS 需要手动添加配置并且没有调试模式 #44

Open
L-Super opened this issue Jul 1, 2024 · 5 comments
Open

macOS 需要手动添加配置并且没有调试模式 #44

L-Super opened this issue Jul 1, 2024 · 5 comments
Labels

Comments

@L-Super
Copy link

L-Super commented Jul 1, 2024

Xmake 版本

v2.9.3+20240624

操作系统版本和架构

macOS 14.4.1

描述问题

在CLion上,安装xmake插件后,无法直接打开xmake工程,打开xmake.lua只是打开该文件。
新建工程,未自动创建配置。可以build,但是run会报错:

Please select a xmake run configuration first!

需要手动添加配置。

还有就是,调试模式置灰,不可用状态。

期待的结果

能够打开工程,新建工程能自动配置,启用调试模式

工程配置

add_rules("mode.debug", "mode.release")

target("xmake-demo")
    set_kind("binary")
    add_files("src/*.cpp")

附加信息和错误日志

/opt/homebrew/bin/xmake -y
[100%]: build ok, spent 0.126s

进程已结束,退出代码为 0
Please select a xmake run configuration first!
@L-Super L-Super added the bug label Jul 1, 2024
@waruqi
Copy link
Member

waruqi commented Jul 1, 2024

run 你需要自己创建个 配置。

@L-Super
Copy link
Author

L-Super commented Jul 1, 2024

不能像cmake一下,自动创建配置吗

@waruqi
Copy link
Member

waruqi commented Jul 1, 2024

你可以来个 pr 支持上

@L-Super
Copy link
Author

L-Super commented Jul 1, 2024

那调试器为什么不能使用呢?也需要额外配置?

@waruqi
Copy link
Member

waruqi commented Jul 1, 2024

那调试器为什么不能使用呢?也需要额外配置?

暂时不支持,实现复杂度和时间成本太高。你也可以提个 pr 过来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants