CMakePresets.json 906 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "version": 3,
  3. "configurePresets": [
  4. {
  5. "name": "default",
  6. "hidden": true,
  7. "generator": "Ninja",
  8. "binaryDir": "${sourceDir}/build/${presetName}",
  9. "toolchainFile": "${sourceDir}/cmake/gcc-arm-none-eabi.cmake",
  10. "cacheVariables": {
  11. }
  12. },
  13. {
  14. "name": "Debug",
  15. "inherits": "default",
  16. "cacheVariables": {
  17. "CMAKE_BUILD_TYPE": "Debug"
  18. }
  19. },
  20. {
  21. "name": "Release",
  22. "inherits": "default",
  23. "cacheVariables": {
  24. "CMAKE_BUILD_TYPE": "Release"
  25. }
  26. }
  27. ],
  28. "buildPresets": [
  29. {
  30. "name": "Debug",
  31. "configurePreset": "Debug"
  32. },
  33. {
  34. "name": "Release",
  35. "configurePreset": "Release"
  36. }
  37. ]
  38. }