CMakePresets.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "version": 3,
  3. "configurePresets": [
  4. {
  5. "name": "default",
  6. "displayName": "Default Config",
  7. "description": "Building with statically linked dependencies",
  8. "binaryDir": "${sourceDir}/build-default",
  9. "cacheVariables": {
  10. "CMAKE_BUILD_TYPE": "Release",
  11. "SLIC3R_STATIC": true,
  12. "SLIC3R_GTK": "3",
  13. "SLIC3R_ENC_CHECK": false,
  14. "SLIC3R_PCH": true,
  15. "CMAKE_INSTALL_PREFIX": "${sourceDir}/build-default/dist",
  16. "Slic3r_DEPS_PRESET": "default",
  17. "Slic3r_DEPS_OUTPUT_QUIET": false
  18. }
  19. },
  20. {
  21. "name": "no-occt",
  22. "displayName": "Without STEP",
  23. "description": "Building with statically linked dependencies without STEP file support",
  24. "inherits": "default",
  25. "binaryDir": "${sourceDir}/build-no-occt",
  26. "cacheVariables": {
  27. "SLIC3R_ENABLE_FORMAT_STEP": false,
  28. "Slic3r_DEPS_PRESET": "no-occt"
  29. }
  30. },
  31. {
  32. "name": "shareddeps",
  33. "displayName": "Shared dependencies",
  34. "description": "Building with dynamically linked dependencies from the system",
  35. "binaryDir": "${sourceDir}/shareddeps",
  36. "cacheVariables": {
  37. "CMAKE_BUILD_TYPE": "Release",
  38. "SLIC3R_STATIC": false,
  39. "SLIC3R_GTK": "3",
  40. "SLIC3R_ENC_CHECK": false,
  41. "SLIC3R_PCH": true,
  42. "Slic3r_BUILD_DEPS": false
  43. }
  44. }
  45. ]
  46. }