mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-02-05 08:20:08 +08:00
Set default preset to place sample binaries in the build bin folder. Change-Id: I3c5d07d8ff5062b39d567269a3e86d03a6441fa1
40 lines
852 B
JSON
40 lines
852 B
JSON
{
|
|
"version": 6,
|
|
"configurePresets": [{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
|
|
"CMAKE_COMPILE_WARNING_AS_ERROR": true,
|
|
"CMAKE_FIND_NO_INSTALL_PREFIX": true,
|
|
"CMAKE_RUNTIME_OUTPUT_DIRECTORY": "$<0:>../../bin"
|
|
}
|
|
}, {
|
|
"name": "docs",
|
|
"inherits": "base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
}, {
|
|
"name": "default",
|
|
"inherits" : "base"
|
|
}],
|
|
"buildPresets": [{
|
|
"name": "default",
|
|
"configurePreset": "default"
|
|
}, {
|
|
"name": "docs",
|
|
"configurePreset": "docs",
|
|
"targets": ["sphinx-html"]
|
|
}],
|
|
"packagePresets": [{
|
|
"name": "default",
|
|
"configurePreset": "default",
|
|
"generators": [
|
|
"ZIP"
|
|
]
|
|
}]
|
|
}
|