Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
quesnel committed Jul 2, 2024
1 parent 1f7747a commit d7adc38
Showing 1 changed file with 135 additions and 0 deletions.
135 changes: 135 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"version": 3,
"configurePresets": [
{
"name": "x64-windows",
"hidden": true,
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": "ON"
},
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "v143,host=x64",
"strategy": "external"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-linux",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": "ON"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-x64"
}
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "msvc-x64-windows",
"displayName": "MSVC (native)",
"inherits": "x64-windows",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl"
},
"environment": {
"CXXFLAGS": "/arch:AVX2"
},
"environment": {
"CXXFLAGS": "/arch:AVX2"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "windows-msvc-x64"
}
}
},
{
"name": "msvc-x64-windows-generic",
"displayName": "MSVC (generic)",
"inherits": "msvc-x64-windows",
"cacheVariables": {
"HI_ARCHITECTURE": "none"
}
},
{
"name": "gcc12-x64-linux",
"displayName": "gcc",
"inherits": "x64-linux",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "g++-12"
}
}
],
"buildPresets": [
{
"name": "msvc-x64-windows-deb",
"displayName": "Debug",
"inherits": "targets",
"configurePreset": "msvc-x64-windows",
"configuration": "Debug"
},
{
"name": "msvc-x64-windows-rel",
"displayName": "Release",
"inherits": "targets",
"configurePreset": "msvc-x64-windows",
"configuration": "Release"
},
{
"name": "msvc-x64-windows-rdi",
"displayName": "RelWithDebInfo",
"inherits": "targets",
"configurePreset": "msvc-x64-windows",
"configuration": "RelWithDebInfo"
},
{
"name": "msvc-x64-windows-generic-deb",
"displayName": "Debug",
"inherits": "targets",
"configurePreset": "msvc-x64-windows-generic",
"configuration": "Debug"
},
{
"name": "msvc-x64-windows-generic-rel",
"displayName": "Release",
"inherits": "targets",
"configurePreset": "msvc-x64-windows-generic",
"configuration": "Release"
},
{
"name": "msvc-x64-windows-generic-rdi",
"displayName": "RelWithDebInfo",
"inherits": "targets",
"configurePreset": "msvc-x64-windows-generic",
"configuration": "RelWithDebInfo"
}
]
}

0 comments on commit d7adc38

Please sign in to comment.