Add initial work towards a one-click build setup
We can use some of CMakes built-in systems to ease the required workflow for the whole toolchain. This may eventually allow us to do a single click system where a developer does not need to do anything to get started. If Google can do this (even if slightly scuffed), so can we.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"version": 6,
|
||||
"cmakeMinimumRequired": {
|
||||
"major": 4,
|
||||
"minor": 0,
|
||||
"patch": 0
|
||||
},
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "default",
|
||||
"cacheVariables": {
|
||||
"__CMAKE_VERBOSE_MAKEFILE": "ON",
|
||||
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON"
|
||||
},
|
||||
"hidden": true
|
||||
},
|
||||
{
|
||||
"inherits": "default",
|
||||
"name": "windows-x64-llvm",
|
||||
"description": "Windows, x86-64 (LLVM)",
|
||||
"binaryDir": "build/windows-x64-llvm",
|
||||
"installDir": "distrib/windows-x64-llvm",
|
||||
"toolchainFile": "cmake/toolchains/llvm.cmake",
|
||||
"generator": "Ninja Multi-Config",
|
||||
"cacheVariables": {
|
||||
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/toolchains/llvm.cmake",
|
||||
"CMAKE_MAKE_PROGRAM": "build/windows-x64-llvm/toolchains/ninja/ninja.exe"
|
||||
}
|
||||
},
|
||||
{
|
||||
"inherits": "default",
|
||||
"name": "windows-x64-msvc",
|
||||
"description": "Windows, x86-64 (MSVC 2022)",
|
||||
"binaryDir": "build/windows-x64-msvc",
|
||||
"installDir": "distrib/windows-x64-msvc",
|
||||
"generator": "Visual Studio 17 2022",
|
||||
"cacheVariables": {
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"configurePreset": "windows-x64-llvm",
|
||||
"name": "windows-x64-llvm",
|
||||
"description": "",
|
||||
"displayName": "Windows, x64 (LLVM)"
|
||||
},
|
||||
{
|
||||
"configurePreset": "windows-x64-msvc",
|
||||
"name": "windows-x64-msvc",
|
||||
"description": "",
|
||||
"displayName": "Windows, x64 (MSVC 2022)"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user