cmake: Style cleanup, add cmake linter to gitlab CI

This commit is contained in:
Angus Gratton
2018-03-20 12:27:00 +11:00
committed by Angus Gratton
parent 2ea359ad0c
commit b44c8b125f
6 changed files with 21 additions and 15 deletions

View File

@@ -234,6 +234,12 @@ build_docs:
- make html
- ../check_doc_warnings.sh
verify_cmake_style:
stage: build
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
script:
tools/cmake/run_cmake_lint.sh
test_nvs_on_host:
stage: test
image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG

View File

@@ -1,7 +1,7 @@
set(COMPONENT_SRCDIRS "." "gcov")
set(COMPONENT_ADD_INCLUDEDIRS "include")
if (CONFIG_SYSVIEW_ENABLE)
if(CONFIG_SYSVIEW_ENABLE)
list(APPEND COMPONENT_ADD_INCLUDEDIRS
sys_view/Config
sys_view/SEGGER