2
0

CMakePresets.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "version": 3,
  3. "configurePresets": [
  4. {
  5. "name": "samples",
  6. "description": "Enable samples but only those without extra dependencies.",
  7. "cacheVariables": {
  8. "RMLUI_SAMPLES": true
  9. }
  10. },
  11. {
  12. "name": "samples-all",
  13. "description": "Enable all samples, also those with extra dependencies.",
  14. "inherits": "samples",
  15. "cacheVariables": {
  16. "RMLUI_HARFBUZZ_SAMPLE": true,
  17. "RMLUI_LOTTIE_PLUGIN": true,
  18. "RMLUI_SVG_PLUGIN": true,
  19. "RMLUI_LUA_BINDINGS": true
  20. }
  21. },
  22. {
  23. "name": "standalone",
  24. "description": "Build the library completely without any dependencies, features the `bitmap_font` sample.",
  25. "cacheVariables": {
  26. "RMLUI_SAMPLES": true,
  27. "RMLUI_FONT_ENGINE": "none",
  28. "RMLUI_BACKEND": "native"
  29. }
  30. },
  31. {
  32. "name": "dev",
  33. "description": "Enable testing in addition to samples.",
  34. "installDir": "Install",
  35. "cacheVariables": {
  36. "RMLUI_SAMPLES": true,
  37. "BUILD_TESTING": true
  38. },
  39. "warnings": {
  40. "dev": true
  41. },
  42. "errors": {
  43. "dev": true
  44. }
  45. },
  46. {
  47. "name": "dev-all",
  48. "description": "Enable testing in addition to samples, including those that require extra dependencies.",
  49. "inherits": "dev",
  50. "cacheVariables": {
  51. "RMLUI_HARFBUZZ_SAMPLE": true,
  52. "RMLUI_LOTTIE_PLUGIN": true,
  53. "RMLUI_SVG_PLUGIN": true,
  54. "RMLUI_LUA_BINDINGS": true
  55. }
  56. }
  57. ]
  58. }