mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-26 06:02:54 +08:00
Add CMake Presets
This commit is contained in:
parent
d0847bd6fa
commit
de9bae60ce
30
CMakePresets.json
Normal file
30
CMakePresets.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "default",
|
||||
"hidden": true,
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/build/${presetName}",
|
||||
"cacheVariables": {
|
||||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Win32-Debug",
|
||||
"inherits": "default",
|
||||
"toolchainFile": "${sourceDir}/cmake/i686-w64-mingw32-gcc.cmake",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Win64-Debug",
|
||||
"inherits": "default",
|
||||
"toolchainFile": "${sourceDir}/cmake/x86_64-w64-mingw32-gcc.cmake",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user