CMakePresets.json 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "version": 3,
  3. "cmakeMinimumRequired": {
  4. "major": 3,
  5. "minor": 12
  6. },
  7. "configurePresets": [
  8. {
  9. "name": "Debug",
  10. "displayName": "Debug",
  11. "description": "Debug preset with debug symbols and no optimizations",
  12. "cacheVariables": {
  13. "CMAKE_BUILD_TYPE": "Debug"
  14. }
  15. },
  16. {
  17. "name": "Release",
  18. "displayName": "Release",
  19. "description": "Release preset with optimizations and no debug symbols",
  20. "cacheVariables": {
  21. "CMAKE_BUILD_TYPE": "Release"
  22. }
  23. },
  24. {
  25. "name": "RelWithDebInfo",
  26. "displayName": "RelWithDebInfo",
  27. "description": "Release with debug symbols",
  28. "cacheVariables": {
  29. "CMAKE_BUILD_TYPE": "RelWithDebInfo"
  30. }
  31. },
  32. {
  33. "name": "MinSizeRel",
  34. "displayName": "MinSizeRel",
  35. "description": "Release with minimal code size",
  36. "cacheVariables": {
  37. "CMAKE_BUILD_TYPE": "MinSizeRel"
  38. }
  39. }
  40. ]
  41. }