We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.9.6
win11 23H2 X64
vscode的xmake插件新建C项目但是创建出来的文件却是.cpp文件,并且这个.cpp文件使用了c++的库
期望创建出来的是.c文件
add_rules("mode.debug", "mode.release")
target("test") set_kind("binary") add_files("src/*.cpp")
无
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically.
Title: vscode creates a C project but the file created is a .cpp file
vscode's xmake plug-in creates a new C project, but the file created is a .cpp file, and this .cpp file uses the c++ library
What is expected to be created is a .c file
The xmake plug-in without
Sorry, something went wrong.
这个你自己调下插件源码,按理执行 xmake create -l c test 创建的肯定是 c 的。。
xmake create -l c test
我使用的是Ctrl+Shift+P命令面板中的那个xmake:CreateProject命令创建的,出来的是确实是cpp。
再试试
No branches or pull requests
Xmake 版本
2.9.6
操作系统版本和架构
win11 23H2 X64
描述问题
vscode的xmake插件新建C项目但是创建出来的文件却是.cpp文件,并且这个.cpp文件使用了c++的库
期待的结果
期望创建出来的是.c文件
工程配置
add_rules("mode.debug", "mode.release")
target("test")
set_kind("binary")
add_files("src/*.cpp")
附加信息和错误日志
无
The text was updated successfully, but these errors were encountered: