I broke it again

This commit is contained in:
Xaymar
2025-04-18 16:05:46 +02:00
parent cd78d7a42d
commit e57f229c77
5 changed files with 34 additions and 19 deletions
+5
View File
@@ -0,0 +1,5 @@
{
"cmake.configureArgs": [
"-C ${workspaceFolder}/cmake/generators/ninja.cmake"
]
}
+25 -14
View File
@@ -6,14 +6,14 @@
"patch": 0
},
"configurePresets": [
{
"name": "default",
"cacheVariables": {
{
"name": "default",
"cacheVariables": {
"__CMAKE_VERBOSE_MAKEFILE": "ON",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON"
},
"hidden": true
},
},
"hidden": true
},
{
"inherits": "default",
"name": "windows-x64-llvm",
@@ -23,18 +23,16 @@
"toolchainFile": "cmake/toolchains/llvm.cmake",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/toolchains/llvm.cmake"
}
},
{
"inherits": "default",
"name": "windows-x64-msvc",
"name": "windows-x64-msvc2022",
"description": "Windows, x86-64 (MSVC 2022)",
"binaryDir": "build/windows-x64-msvc",
"installDir": "distrib/windows-x64-msvc",
"binaryDir": "build/windows-x64-msvc2022",
"installDir": "distrib/windows-x64-msvc2022",
"generator": "Visual Studio 17 2022",
"cacheVariables": {
}
"cacheVariables": {}
}
],
"buildPresets": [
@@ -45,10 +43,23 @@
"displayName": "Windows, x64 (LLVM)"
},
{
"configurePreset": "windows-x64-msvc",
"name": "windows-x64-msvc",
"configurePreset": "windows-x64-msvc2022",
"name": "windows-x64-msvc2022",
"description": "",
"displayName": "Windows, x64 (MSVC 2022)"
}
],
"workflowPresets": [
{
"name": "windows-x64-llvm",
"description": "",
"displayName": "",
"steps": [
{
"type": "configure",
"name": "windows-x64-llvm"
}
]
}
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright 2014-2024 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
Copyright 2014-2025 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+1 -1
View File
@@ -16,7 +16,7 @@
# This is a script file that installs the necessary "Ninja" and "Ninja Multi-Config" generators.
# Run with `cmake -P cmake/generators/ninja.cmake` from the source directory.
cmake_minimum_required(VERSION 3.30...4.0)
cmake_minimum_required(VERSION 4.0 FATAL_ERROR)
include_guard(GLOBAL)
list(APPEND CMAKE_MESSAGE_INDENT "[Ninja] ")
+1 -2
View File
@@ -16,7 +16,7 @@
# This is a (mostly) self-contained toolchain file that sets up everything necessary to compile with LLVM/Clang.
# cmake --fresh -C cmake/generators/ninja.cmake --preset windows-x64-llvm
cmake_minimum_required(VERSION 3.30...4.0)
cmake_minimum_required(VERSION 4.0 FATAL_ERROR)
include_guard(GLOBAL)
list(APPEND CMAKE_MESSAGE_INDENT "[LLVM] ")
@@ -351,7 +351,6 @@ if(
else()
message(FATAL_ERROR "Failed to find or provide a compatible LLVM installation.")
endif()
endif()
list(POP_BACK CMAKE_MESSAGE_INDENT)