Files
CPM.cmake/test/style/CMakeLists.txt

15 lines
424 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(CPMStyleCheck)
include(${CMAKE_CURRENT_LIST_DIR}/../../cmake/CPM.cmake)
CPMAddPackage(
NAME Format.cmake
VERSION 1.7.3
GITHUB_REPOSITORY TheLartians/Format.cmake
# We exclude cmake files from integration tests as they contain invalid lines of code which are
# used by the integration test scripts
OPTIONS "CMAKE_FORMAT_EXCLUDE integration/templates"
)