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.

97 lines
2.6 KiB

  1. {
  2. "environments": [
  3. {
  4. "BuildDir": "${workspaceRoot}\\build",
  5. "InstallDir": "${workspaceRoot}\\build\\install"
  6. },
  7. {
  8. "environment": "vcpkg",
  9. "VcPkgDir": "D:/vcpkg/",
  10. "VCPKG_BINARY_SOURCES": "nuget,kicad-gitlab,read"
  11. },
  12. {
  13. "environment": "swig",
  14. "SwigExePath": "D:/swigwin-4.1.1/swig.exe"
  15. }
  16. ],
  17. "configurations": [
  18. {
  19. "name": "x64-Debug",
  20. "generator": "Ninja",
  21. "configurationType": "Debug",
  22. "inheritEnvironments": [ "msvc_x64_x64", "vcpkg", "swig"],
  23. "buildRoot": "${env.BuildDir}\\${name}",
  24. "installRoot": "${env.InstallDir}\\${name}",
  25. "cmakeCommandArgs": "",
  26. "buildCommandArgs": "-v",
  27. "ctestCommandArgs": "",
  28. "variables": [
  29. {
  30. "name": "KICAD_BUILD_QA_TESTS",
  31. "value": "False",
  32. "type": "BOOL"
  33. },
  34. {
  35. "name": "KICAD_WIN32_DPI_AWARE",
  36. "value": "ON",
  37. "type": "BOOL"
  38. },
  39. {
  40. "name": "SWIG_EXECUTABLE",
  41. "value": "${env.SwigExePath}",
  42. "type": "STRING"
  43. },
  44. {
  45. "name": "VCPKG_OVERLAY_TRIPLETS",
  46. "value": "${workspaceRoot}/tools/custom_vcpkg_triplets",
  47. "type": "STRING"
  48. },
  49. {
  50. "name": "VCPKG_INSTALL_OPTIONS",
  51. "value": "--x-abi-tools-use-exact-versions",
  52. "type": "STRING"
  53. }
  54. ],
  55. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  56. },
  57. {
  58. "name": "x64-Release",
  59. "generator": "Ninja",
  60. "configurationType": "RelWithDebInfo",
  61. "inheritEnvironments": [ "msvc_x64_x64", "vcpkg", "swig"],
  62. "buildRoot": "${env.BuildDir}\\${name}",
  63. "installRoot": "${env.InstallDir}\\${name}",
  64. "cmakeCommandArgs": "",
  65. "buildCommandArgs": "-v",
  66. "ctestCommandArgs": "",
  67. "variables": [
  68. {
  69. "name": "KICAD_BUILD_QA_TESTS",
  70. "value": "False",
  71. "type": "BOOL"
  72. },
  73. {
  74. "name": "KICAD_WIN32_DPI_AWARE",
  75. "value": "ON",
  76. "type": "BOOL"
  77. },
  78. {
  79. "name": "SWIG_EXECUTABLE",
  80. "value": "${env.SwigExePath}",
  81. "type": "STRING"
  82. },
  83. {
  84. "name": "VCPKG_OVERLAY_TRIPLETS",
  85. "value": "${workspaceRoot}/tools/custom_vcpkg_triplets",
  86. "type": "STRING"
  87. },
  88. {
  89. "name": "VCPKG_INSTALL_OPTIONS",
  90. "value": "--x-abi-tools-use-exact-versions",
  91. "type": "STRING"
  92. }
  93. ],
  94. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  95. }
  96. ]
  97. }