You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
2.1 KiB

  1. {
  2. "version": 9,
  3. "configurePresets": [
  4. {
  5. "name": "base",
  6. "hidden": true,
  7. "generator": "Ninja",
  8. "binaryDir": "${sourceDir}/build",
  9. "toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
  10. "condition": {
  11. "type": "equals",
  12. "lhs": "${hostSystemName}",
  13. "rhs": "Windows"
  14. },
  15. "cacheVariables": {
  16. "KICAD_BUILD_QA_TESTS": "OFF",
  17. "KICAD_BUILD_I18N": "ON",
  18. "KICAD_SCRIPTING_WXPYTHON": "ON"
  19. }
  20. },
  21. {
  22. "name": "win64",
  23. "hidden": true,
  24. "cacheVariables": {
  25. "KICAD_WIN32_DPI_AWARE": "ON",
  26. "CMAKE_INSTALL_PREFIX": "out",
  27. "CMAKE_PDB_OUTPUT_DIRECTORY": "out/pdb"
  28. },
  29. "architecture": {
  30. "value": "x64",
  31. "strategy": "external"
  32. },
  33. "inherits": [
  34. "base"
  35. ]
  36. },
  37. {
  38. "name": "x64-debug",
  39. "displayName": "x64 Debug",
  40. "description": "Sets debug build type and x64 arch",
  41. "inherits": "win64",
  42. "cacheVariables": {
  43. "CMAKE_BUILD_TYPE": "Debug"
  44. }
  45. },
  46. {
  47. "name": "x64-release",
  48. "displayName": "x64 Release",
  49. "description": "Sets release build type",
  50. "inherits": "win64",
  51. "cacheVariables": {
  52. "CMAKE_BUILD_TYPE": "RelWithDebInfo"
  53. }
  54. }
  55. ],
  56. "buildPresets": [
  57. {
  58. "name": "kicad",
  59. "configurePreset": "x64-debug",
  60. "configuration": "Debug",
  61. "targets": [
  62. "install"
  63. ]
  64. }
  65. ],
  66. "workflowPresets": [
  67. {
  68. "name": "kicad",
  69. "description": "kicad",
  70. "displayName": "kicad",
  71. "steps": [
  72. {
  73. "type": "configure",
  74. "name": "x64-debug"
  75. },
  76. {
  77. "type": "build",
  78. "name": "kicad"
  79. }
  80. ]
  81. }
  82. ]
  83. }