09a0252386
Configure CMake to output `libcppbridgeplugin.so` to the package directory and set `$ORIGIN` runtime path so that it is properly bundled and resolved when distributed as a .plasmoid zip archive.
29 lines
768 B
JSON
29 lines
768 B
JSON
{
|
|
"version": 6,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 23,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "clang-default",
|
|
"displayName": "Clang Default",
|
|
"description": "Configure build/cpp with clang/clang++ and export compile commands.",
|
|
"generator": "Unix Makefiles",
|
|
"binaryDir": "${sourceDir}/../build/cpp",
|
|
"cacheVariables": {
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_CXX_COMPILER": "g++",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "clang-default",
|
|
"configurePreset": "clang-default"
|
|
}
|
|
]
|
|
}
|