mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-29 09:15:53 +00:00
* quick poc at using cmake to generate the defaults.h traits files * add test preset to dev * self review * poc moving logic to actions * Remove stale defaults.h generation configuration * Fix file path in lint workflow configuration * chmod +x * linter * linter * clean up action and lint workflow * rm source_dir cli arg from cmake script now just assume the current directory is correct * linter * fix order * add workflow preset for running unit test sadly then is less reusable than i wanted
40 lines
902 B
JSON
40 lines
902 B
JSON
{
|
|
"version": 6,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 25,
|
|
"patch": 0
|
|
},
|
|
"include": [
|
|
"example/CMakePresets.json",
|
|
"tests/CMakePresets.json"
|
|
],
|
|
"configurePresets": [
|
|
{
|
|
"name": "dev",
|
|
"displayName": "Development",
|
|
"inherits": "debug",
|
|
"environment": {
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
|
},
|
|
"cacheVariables": {
|
|
"JWT_BUILD_EXAMPLES": "ON",
|
|
"JWT_BUILD_TESTS": "ON"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "dev",
|
|
"configurePreset": "dev",
|
|
"configuration": "Debug"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "dev",
|
|
"displayName": "Run all tests",
|
|
"configurePreset": "dev"
|
|
}
|
|
]
|
|
} |