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

awtk项目中有没有办法集成clang-tidy? #928

Open
Tracker647 opened this issue Jan 22, 2025 · 0 comments
Open

awtk项目中有没有办法集成clang-tidy? #928

Tracker647 opened this issue Jan 22, 2025 · 0 comments

Comments

@Tracker647
Copy link

Tracker647 commented Jan 22, 2025

最近项目开始多人合作,在树立团队代码规范,自己就开始设想给项目引入自动化的代码风格检查工具(比如规范规定一致函数用匈牙利写法,用工具纠出来有没有错写成驼峰的函数),经过一番查找选择了clang-tidy,但是发现直接命令行应用就比较麻烦,首先是没法识别awtk的头文件以及其他路径对不上的头文件,会报error,再者就是不知道怎么和编译系统集成,查了一遍clang-tidy的集成都是CMake的例子,scons的没有,问下不换编译系统把clang-tidy集成进去,李工有没有这方面的尝试或建议?

谢谢。

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

No branches or pull requests

1 participant