QGIS/ci/travis/code_layout/CMakeLists.txt

13 lines
458 B
CMake
Raw Normal View History

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.6)
ADD_SUBDIRECTORY(../../../src/astyle qgisstyle)
ENABLE_TESTING()
ADD_TEST(qgis_indentation ${CMAKE_SOURCE_DIR}/../../../scripts/verify-indentation.sh)
ADD_TEST(qgis_spelling ${CMAKE_SOURCE_DIR}/../../../scripts/spell_check/spell_test.sh)
ADD_TEST(qgis_sipify ${CMAKE_SOURCE_DIR}/../../../tests/scripts/test_sipify.sh)
ADD_TEST(qgis_sip_uptodate ${CMAKE_SOURCE_DIR}/../../../tests/scripts/test_sipfiles_uptodate.sh)