cmake preset
This commit is contained in:
parent
d0c1384d7c
commit
eade441ba2
17
CMakePresets.json
Normal file
17
CMakePresets.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"version": 2,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "build",
|
||||
"displayName": "Configure preset using toolchain file",
|
||||
"description": "Sets Ninja generator, build and install directory",
|
||||
"generator": "Ninja Multi-Config",
|
||||
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
||||
"cacheVariables": {
|
||||
"CMAKE_TOOLCHAIN_FILE": "",
|
||||
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
||||
"CMAKE_EXPORT_COMPILE_COMMANDS": "On"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1 +1 @@
|
|||
build/compile_commands.json
|
||||
out/build/build/compile_commands.json
|
Loading…
Reference in New Issue
Block a user