cmake_check:CMake文件的静态分析

时间:2021-01-30 08:08:42
【文件属性】:
文件名称:cmake_check:CMake文件的静态分析
文件大小:39KB
文件格式:ZIP
更新时间:2021-01-30 08:08:42
cmake continuous-integration checker linter coding-standards cmake_check Cmake_check是。 它采用一组用户定义的规则,并报告CMakeLists.txt文件和CMake模块的违规情况。 步骤1:下载cmake_check(多种方法,请参见下文)。 步骤2:打开终端(在Windows上为cmd.exe )。 步骤3:调用cmake_check以检查您的CMake文件或目录。 可执行文件名称会有所不同,具体取决于您使用的是开发源版本( cmake_check ),Windows可执行文件( cmake_check.exe )还是Linux可执行文件( cmake_check )。 在此页面上, cmake_check是用于指代其中任何一个的通用术语。 一份文件 prompt> cmake_check -i CMakeLists.txt -v info: Checking CMakeLists.txt CMakeLists(10).txt (66) : warning Whitelist: calls to some_custom_function are not allowed by whitelist info: C
【文件预览】:
cmake_check-master
----src()
--------Checks()
--------Parser()
--------Rules()
--------FileCrawler.ts(1KB)
--------Configuration.ts(230B)
--------Main.ts(3KB)
--------Logging.ts(1KB)
----doc()
--------Checks.adoc(2KB)
--------Configuration.adoc(4KB)
----res()
--------config.schema.json(2KB)
--------config.json(5KB)
--------cmake.pegjs(8KB)
----.travis.yml(207B)
----tsconfig.json(5KB)
----LICENSE(1KB)
----test()
--------ParserTest.ts(7KB)
----tslint.json(149B)
----README.md(6KB)
----.gitignore(134B)
----bin()
--------cmake_check(47B)
----CHANGELOG.md(1KB)
----package-lock.json(37KB)
----package.json(1KB)

网友评论