QGIS/.ci/travis/code_layout/CMakeLists.txt

15 lines
486 B
CMake
Raw Normal View History

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.6)
2017-04-03 14:16:27 +02:00
SET(CMAKE_CXX_STANDARD 11)
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)