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.

178 lines
4.9 KiB

  1. {
  2. "environments": [
  3. {
  4. "BuildDir": "${workspaceRoot}\\build",
  5. "InstallDir": "${workspaceRoot}\\build\\install"
  6. },
  7. {
  8. "environment": "vcpkg",
  9. "VcPkgDir": "D:/vcpkg/"
  10. },
  11. {
  12. "environment": "mingw_64",
  13. "MINGW64_ROOT": "D:/msys64/mingw64",
  14. "BIN_ROOT": "${env.MINGW64_ROOT}/bin",
  15. "FLAVOR": "x86_64-w64-mingw32",
  16. "TOOLSET_VERSION": "10.2.0",
  17. "PATH": "${env.MINGW64_ROOT}/bin;${env.MINGW64_ROOT}/../usr/local/bin;${env.MINGW64_ROOT}/../usr/bin;${env.MINGW64_ROOT}/../bin;${env.PATH}",
  18. "INCLUDE": "${env.INCLUDE};${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION};${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION}/tr1;${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION}/${env.FLAVOR}"
  19. }
  20. ],
  21. "configurations": [
  22. {
  23. "name": "x86-Debug",
  24. "generator": "Ninja",
  25. "configurationType": "Debug",
  26. "inheritEnvironments": [ "msvc_x86", "vcpkg" ],
  27. "buildRoot": "${env.BuildDir}\\${name}",
  28. "installRoot": "${env.InstallDir}\\${name}",
  29. "addressSanitizerEnabled": false,
  30. "cmakeCommandArgs": "",
  31. "buildCommandArgs": "-v",
  32. "ctestCommandArgs": "",
  33. "variables": [
  34. {
  35. "name": "KICAD_SPICE",
  36. "value": "ON",
  37. "type": "STRING"
  38. },
  39. {
  40. "name": "KICAD_BUILD_QA_TESTS",
  41. "value": "False",
  42. "type": "BOOL"
  43. },
  44. {
  45. "name": "KICAD_WIN32_DPI_AWARE",
  46. "value": "ON",
  47. "type": "BOOL"
  48. }
  49. ],
  50. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  51. },
  52. {
  53. "name": "x86-Release",
  54. "generator": "Ninja",
  55. "configurationType": "RelWithDebInfo",
  56. "inheritEnvironments": [ "msvc_x86", "vcpkg" ],
  57. "buildRoot": "${env.BuildDir}\\${name}",
  58. "installRoot": "${env.InstallDir}\\${name}",
  59. "cmakeCommandArgs": "",
  60. "buildCommandArgs": "-v",
  61. "ctestCommandArgs": "",
  62. "variables": [
  63. {
  64. "name": "KICAD_SPICE",
  65. "value": "ON",
  66. "type": "STRING"
  67. },
  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. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  80. },
  81. {
  82. "name": "x64-Debug",
  83. "generator": "Ninja",
  84. "configurationType": "Debug",
  85. "inheritEnvironments": [ "msvc_x64_x64", "vcpkg" ],
  86. "buildRoot": "${env.BuildDir}\\${name}",
  87. "installRoot": "${env.InstallDir}\\${name}",
  88. "cmakeCommandArgs": "",
  89. "buildCommandArgs": "-v",
  90. "ctestCommandArgs": "",
  91. "variables": [
  92. {
  93. "name": "KICAD_SPICE",
  94. "value": "ON",
  95. "type": "STRING"
  96. },
  97. {
  98. "name": "KICAD_BUILD_QA_TESTS",
  99. "value": "False",
  100. "type": "BOOL"
  101. },
  102. {
  103. "name": "KICAD_WIN32_DPI_AWARE",
  104. "value": "ON",
  105. "type": "BOOL"
  106. }
  107. ],
  108. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  109. },
  110. {
  111. "name": "x64-Release",
  112. "generator": "Ninja",
  113. "configurationType": "RelWithDebInfo",
  114. "inheritEnvironments": [ "msvc_x64_x64", "vcpkg" ],
  115. "buildRoot": "${env.BuildDir}\\${name}",
  116. "installRoot": "${env.InstallDir}\\${name}",
  117. "cmakeCommandArgs": "",
  118. "buildCommandArgs": "-v",
  119. "ctestCommandArgs": "",
  120. "variables": [
  121. {
  122. "name": "KICAD_SPICE",
  123. "value": "ON",
  124. "type": "STRING"
  125. },
  126. {
  127. "name": "KICAD_BUILD_QA_TESTS",
  128. "value": "False",
  129. "type": "BOOL"
  130. },
  131. {
  132. "name": "KICAD_WIN32_DPI_AWARE",
  133. "value": "ON",
  134. "type": "BOOL"
  135. }
  136. ],
  137. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  138. },
  139. {
  140. "name": "MSYS2-x64-Debug",
  141. "generator": "Ninja",
  142. "configurationType": "Debug",
  143. "inheritEnvironments": [ "mingw_64" ],
  144. "buildRoot": "${env.BuildDir}\\${name}",
  145. "installRoot": "${env.InstallDir}\\${name}",
  146. "cmakeCommandArgs": "",
  147. "buildCommandArgs": "-v",
  148. "ctestCommandArgs": "",
  149. "intelliSenseMode": "linux-gcc-x64",
  150. "cmakeToolchain": "",
  151. "variables": [
  152. {
  153. "name": "CMAKE_C_COMPILER",
  154. "value": "${env.BIN_ROOT}/gcc.exe"
  155. },
  156. {
  157. "name": "CMAKE_CXX_COMPILER",
  158. "value": "${env.BIN_ROOT}/g++.exe"
  159. },
  160. {
  161. "name": "KICAD_SPICE",
  162. "value": "ON",
  163. "type": "STRING"
  164. },
  165. {
  166. "name": "KICAD_BUILD_QA_TESTS",
  167. "value": "False",
  168. "type": "BOOL"
  169. },
  170. {
  171. "name": "KICAD_WIN32_DPI_AWARE",
  172. "value": "ON",
  173. "type": "BOOL"
  174. }
  175. ]
  176. }
  177. ]
  178. }