CMakePresets.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "version": 3,
  3. "configurePresets": [
  4. {
  5. "name": "default",
  6. "displayName": "Default Config",
  7. "description": "Default build for any desktop OS",
  8. "binaryDir": "${sourceDir}/build-default",
  9. "condition": {
  10. "type": "const",
  11. "value": true
  12. },
  13. "cacheVariables": {
  14. "CMAKE_BUILD_TYPE": "Release",
  15. "DEP_WX_GTK3": true,
  16. "DEP_DOWNLOAD_DIR": {
  17. "type": "PATH",
  18. "value": "${sourceDir}/.pkg_cache"
  19. }
  20. }
  21. },
  22. {
  23. "name": "no-occt",
  24. "inherits": "default",
  25. "binaryDir": "${sourceDir}/build-no-occt",
  26. "cacheVariables": {
  27. "PrusaSlicer_deps_PACKAGE_EXCLUDES": "OCCT"
  28. }
  29. },
  30. {
  31. "name": "mac_universal_x86",
  32. "inherits": "default",
  33. "binaryDir": "${sourceDir}/build-x86_64",
  34. "condition": {
  35. "type": "equals",
  36. "lhs": "${hostSystemName}",
  37. "rhs": "Darwin"
  38. },
  39. "cacheVariables": {
  40. "CMAKE_OSX_ARCHITECTURES": "x86_64"
  41. }
  42. },
  43. {
  44. "name": "mac_universal_arm",
  45. "inherits": "default",
  46. "binaryDir": "${sourceDir}/build-arm64",
  47. "condition": {
  48. "type": "equals",
  49. "lhs": "${hostSystemName}",
  50. "rhs": "Darwin"
  51. },
  52. "cacheVariables": {
  53. "CMAKE_OSX_ARCHITECTURES": "arm64"
  54. }
  55. }
  56. ]
  57. }