2021-01-06 14:40:33 +01:00
|
|
|
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
|
|
|
|
|
|
|
|
|
|
project(CPMStyleCheck)
|
|
|
|
|
|
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../../cmake/CPM.cmake)
|
|
|
|
|
|
|
|
|
|
CPMAddPackage(
|
|
|
|
|
NAME Format.cmake
|
2022-01-12 06:26:08 +02:00
|
|
|
VERSION 1.7.3
|
2021-01-06 14:40:33 +01:00
|
|
|
GITHUB_REPOSITORY TheLartians/Format.cmake
|
2022-01-12 11:15:27 +02:00
|
|
|
|
|
|
|
|
# We exclude cmake files from integration tests as they contain invalid lines
|
|
|
|
|
# of code which are used by the integration test scripts
|
2022-01-12 06:26:08 +02:00
|
|
|
OPTIONS "CMAKE_FORMAT_EXCLUDE integration/templates"
|
2021-01-06 14:40:33 +01:00
|
|
|
)
|