mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-22 04:07:49 -05:00
16 lines
425 B
CMake
16 lines
425 B
CMake
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"
|
|
)
|