mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
basic local windows presets
This commit is contained in:
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
* text=auto
|
||||
|
||||
*.sh text eol=lf
|
||||
*.bat text eol=crlf
|
||||
@@ -1,5 +1,4 @@
|
||||
# 3.12 version is required for `cxx_std_20`
|
||||
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
|
||||
|
||||
if(NOT DEFINED PROJECT_NAME)
|
||||
set(BUILD_AS_STANDALONE ON)
|
||||
|
||||
@@ -21,7 +21,12 @@
|
||||
{
|
||||
"name": "macos-base",
|
||||
"hidden": true,
|
||||
"inherits": "ninja-base"
|
||||
"inherits": "ninja-base",
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Darwin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "macos-arm64",
|
||||
@@ -52,6 +57,48 @@
|
||||
"cacheVariables": {
|
||||
"BUILD_WITH_SANITIZERS": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-base",
|
||||
"hidden": true,
|
||||
"inherits": "ninja-base",
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Windows"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-x86",
|
||||
"inherits": "windows-base",
|
||||
"architecture": {
|
||||
"value": "x86",
|
||||
"strategy": "external"
|
||||
},
|
||||
"toolset": {
|
||||
"value": "host=x64",
|
||||
"strategy": "external"
|
||||
},
|
||||
"cacheVariables": {
|
||||
"CMAKE_C_COMPILER": "cl",
|
||||
"CMAKE_CXX_COMPILER": "cl"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-x64",
|
||||
"inherits": "windows-base",
|
||||
"architecture": {
|
||||
"value": "x64",
|
||||
"strategy": "external"
|
||||
},
|
||||
"toolset": {
|
||||
"value": "host=x64",
|
||||
"strategy": "external"
|
||||
},
|
||||
"cacheVariables": {
|
||||
"CMAKE_C_COMPILER": "cl",
|
||||
"CMAKE_CXX_COMPILER": "cl"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -75,6 +122,26 @@
|
||||
"name": "macos-x64-release",
|
||||
"configuration": "Release",
|
||||
"configurePreset": "macos-x64"
|
||||
},
|
||||
{
|
||||
"name": "windows-x86-debug",
|
||||
"configuration": "Debug",
|
||||
"configurePreset": "windows-x86"
|
||||
},
|
||||
{
|
||||
"name": "windows-x86-release",
|
||||
"configuration": "Release",
|
||||
"configurePreset": "windows-x86"
|
||||
},
|
||||
{
|
||||
"name": "windows-x64-debug",
|
||||
"configuration": "Debug",
|
||||
"configurePreset": "windows-x64"
|
||||
},
|
||||
{
|
||||
"name": "windows-x64-release",
|
||||
"configuration": "Release",
|
||||
"configurePreset": "windows-x64"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -98,6 +165,26 @@
|
||||
"name": "macos-x64-release",
|
||||
"configuration": "Release",
|
||||
"configurePreset": "macos-x64"
|
||||
},
|
||||
{
|
||||
"name": "windows-x86-debug",
|
||||
"configuration": "Debug",
|
||||
"configurePreset": "windows-x86"
|
||||
},
|
||||
{
|
||||
"name": "windows-x86-release",
|
||||
"configuration": "Release",
|
||||
"configurePreset": "windows-x86"
|
||||
},
|
||||
{
|
||||
"name": "windows-x64-debug",
|
||||
"configuration": "Debug",
|
||||
"configurePreset": "windows-x64"
|
||||
},
|
||||
{
|
||||
"name": "windows-x64-release",
|
||||
"configuration": "Release",
|
||||
"configurePreset": "windows-x64"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user