Created
October 13, 2021 12:54
-
-
Save sweemer/c86f205058ad4d3de54b33ad2afb827e to your computer and use it in GitHub Desktop.
CMakePresets.json for QuantLib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"configurePresets": [ | |
{ | |
"name": "linux-clang-debug", | |
"binaryDir": "${sourceDir}/build", | |
"generator": "Unix Makefiles", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Debug", | |
"CMAKE_CXX_COMPILER": "clang++" | |
} | |
}, | |
{ | |
"name": "linux-clang-release", | |
"binaryDir": "${sourceDir}/build", | |
"generator": "Unix Makefiles", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Release", | |
"CMAKE_CXX_COMPILER": "clang++" | |
} | |
}, | |
{ | |
"name": "linux-gcc-debug", | |
"binaryDir": "${sourceDir}/build", | |
"generator": "Unix Makefiles", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Debug", | |
"CMAKE_CXX_COMPILER": "g++" | |
} | |
}, | |
{ | |
"name": "linux-gcc-release", | |
"binaryDir": "${sourceDir}/build", | |
"generator": "Unix Makefiles", | |
"cacheVariables": { | |
"CMAKE_BUILD_TYPE": "Release", | |
"CMAKE_CXX_COMPILER": "g++" | |
} | |
}, | |
{ | |
"name": "windows-clang-x64", | |
"binaryDir": "${sourceDir}/build", | |
"generator": "Visual Studio 16 2019", | |
"toolset": "ClangCL", | |
"architecture": { | |
"value": "x64", | |
"strategy": "external" | |
}, | |
"vendor": { | |
"microsoft.com/VisualStudioSettings/CMake/1.0": { | |
"intelliSenseMode": "windows-clang-x64", | |
"hostOS": [ | |
"Windows" | |
] | |
} | |
} | |
}, | |
{ | |
"name": "windows-msvc-x64", | |
"binaryDir": "${sourceDir}/build", | |
"generator": "Visual Studio 16 2019", | |
"architecture": { | |
"value": "x64", | |
"strategy": "external" | |
}, | |
"vendor": { | |
"microsoft.com/VisualStudioSettings/CMake/1.0": { | |
"intelliSenseMode": "windows-msvc-x64", | |
"hostOS": [ | |
"Windows" | |
] | |
} | |
} | |
} | |
], | |
"buildPresets": [ | |
{ | |
"name": "linux-clang-debug", | |
"configurePreset": "linux-clang-debug" | |
}, | |
{ | |
"name": "linux-clang-release", | |
"configurePreset": "linux-clang-release" | |
}, | |
{ | |
"name": "linux-gcc-debug", | |
"configurePreset": "linux-gcc-debug" | |
}, | |
{ | |
"name": "linux-gcc-release", | |
"configurePreset": "linux-gcc-release" | |
}, | |
{ | |
"name": "windows-clang-x64-debug", | |
"configurePreset": "windows-clang-x64", | |
"configuration": "Debug" | |
}, | |
{ | |
"name": "windows-clang-x64-release", | |
"configurePreset": "windows-clang-x64", | |
"configuration": "Release" | |
}, | |
{ | |
"name": "windows-msvc-x64-debug", | |
"configurePreset": "windows-msvc-x64", | |
"configuration": "Debug" | |
}, | |
{ | |
"name": "windows-msvc-x64-release", | |
"configurePreset": "windows-msvc-x64", | |
"configuration": "Release" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment