CMake源中大写/小写一致性的工具 [英] Tools for upper/lower case consistency in CMake source
本文介绍了CMake源中大写/小写一致性的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CMake命令在下,上和混合大小写中有效。
有没有自动纠正这种风格不一致的工具?
解决方案
根据您的需求进行调整:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=77543bd
另请参阅:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9db31162 p>
CMake commands are valid in lower, upper, and mixed case. Mixing all of those together in one file however reduces the readability of the CMake code.
Is there a tool for automatically correcting this kind of stylistic inconsistencies?
解决方案
Adapt this to your needs:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=77543bd
See also:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9db31162
这篇关于CMake源中大写/小写一致性的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文