| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,13 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 5 | - | ||
| 6 | - # Enable CMAKE_MSVC_RUNTIME_LIBRARY on Windows: https://cmake.org/cmake/help/latest/policy/CMP0091.html | ||
| 7 | - cmake_policy(SET CMP0091 NEW) | ||
| 8 | - | ||
| 9 | - # Do not set default MSVC warning flags: https://cmake.org/cmake/help/latest/policy/CMP0092.html | ||
| 10 | - cmake_policy(SET CMP0092 NEW) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 11 | 5 | ||
| 12 | 6 | # Export compile commands for other tools, e.g. SonarLint. | |
| 13 | 7 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Enable version checks in find_package | |
| 7 | 7 | include(CMakePackageConfigHelpers) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | add_subdirectory(client) | |
| 7 | 7 | add_subdirectory(learn) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | add_subdirectory(query) | |
| 7 | 7 | add_subdirectory(mutate) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Normally this would be handled by find_package(cppgraphqlgen CONFIG). | |
| 7 | 7 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Normally this would be handled by find_package(cppgraphqlgen CONFIG). | |
| 7 | 7 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Normally this would be handled by find_package(cppgraphqlgen CONFIG). | |
| 7 | 7 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Normally this would be handled by find_package(cppgraphqlgen CONFIG). | |
| 7 | 7 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Normally this would be handled by find_package(cppgraphqlgen CONFIG). | |
| 7 | 7 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | # Copyright (c) Microsoft Corporation. All rights reserved. | |
| 2 | 2 | # Licensed under the MIT License. | |
| 3 | 3 | ||
| 4 | - cmake_minimum_required(VERSION 3.15) | ||
| 4 | + cmake_minimum_required(VERSION 3.28) | ||
| 5 | 5 | ||
| 6 | 6 | # Normally this would be handled by find_package(cppgraphqlgen CONFIG). | |
| 7 | 7 | include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments