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.

153 lines
4.4 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_BUILD_QA_TESTS",
  36. "value": "False",
  37. "type": "BOOL"
  38. },
  39. {
  40. "name": "KICAD_WIN32_DPI_AWARE",
  41. "value": "ON",
  42. "type": "BOOL"
  43. }
  44. ],
  45. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  46. },
  47. {
  48. "name": "x86-Release",
  49. "generator": "Ninja",
  50. "configurationType": "RelWithDebInfo",
  51. "inheritEnvironments": [ "msvc_x86", "vcpkg" ],
  52. "buildRoot": "${env.BuildDir}\\${name}",
  53. "installRoot": "${env.InstallDir}\\${name}",
  54. "cmakeCommandArgs": "",
  55. "buildCommandArgs": "-v",
  56. "ctestCommandArgs": "",
  57. "variables": [
  58. {
  59. "name": "KICAD_BUILD_QA_TESTS",
  60. "value": "False",
  61. "type": "BOOL"
  62. },
  63. {
  64. "name": "KICAD_WIN32_DPI_AWARE",
  65. "value": "ON",
  66. "type": "BOOL"
  67. }
  68. ],
  69. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  70. },
  71. {
  72. "name": "x64-Debug",
  73. "generator": "Ninja",
  74. "configurationType": "Debug",
  75. "inheritEnvironments": [ "msvc_x64_x64", "vcpkg" ],
  76. "buildRoot": "${env.BuildDir}\\${name}",
  77. "installRoot": "${env.InstallDir}\\${name}",
  78. "cmakeCommandArgs": "",
  79. "buildCommandArgs": "-v",
  80. "ctestCommandArgs": "",
  81. "variables": [
  82. {
  83. "name": "KICAD_BUILD_QA_TESTS",
  84. "value": "False",
  85. "type": "BOOL"
  86. },
  87. {
  88. "name": "KICAD_WIN32_DPI_AWARE",
  89. "value": "ON",
  90. "type": "BOOL"
  91. }
  92. ],
  93. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  94. },
  95. {
  96. "name": "x64-Release",
  97. "generator": "Ninja",
  98. "configurationType": "RelWithDebInfo",
  99. "inheritEnvironments": [ "msvc_x64_x64", "vcpkg" ],
  100. "buildRoot": "${env.BuildDir}\\${name}",
  101. "installRoot": "${env.InstallDir}\\${name}",
  102. "cmakeCommandArgs": "",
  103. "buildCommandArgs": "-v",
  104. "ctestCommandArgs": "",
  105. "variables": [
  106. {
  107. "name": "KICAD_BUILD_QA_TESTS",
  108. "value": "False",
  109. "type": "BOOL"
  110. },
  111. {
  112. "name": "KICAD_WIN32_DPI_AWARE",
  113. "value": "ON",
  114. "type": "BOOL"
  115. }
  116. ],
  117. "cmakeToolchain": "${env.VcPkgDir}/scripts/buildsystems/vcpkg.cmake"
  118. },
  119. {
  120. "name": "MSYS2-x64-Debug",
  121. "generator": "Ninja",
  122. "configurationType": "Debug",
  123. "inheritEnvironments": [ "mingw_64" ],
  124. "buildRoot": "${env.BuildDir}\\${name}",
  125. "installRoot": "${env.InstallDir}\\${name}",
  126. "cmakeCommandArgs": "",
  127. "buildCommandArgs": "-v",
  128. "ctestCommandArgs": "",
  129. "intelliSenseMode": "linux-gcc-x64",
  130. "cmakeToolchain": "",
  131. "variables": [
  132. {
  133. "name": "CMAKE_C_COMPILER",
  134. "value": "${env.BIN_ROOT}/gcc.exe"
  135. },
  136. {
  137. "name": "CMAKE_CXX_COMPILER",
  138. "value": "${env.BIN_ROOT}/g++.exe"
  139. },
  140. {
  141. "name": "KICAD_BUILD_QA_TESTS",
  142. "value": "False",
  143. "type": "BOOL"
  144. },
  145. {
  146. "name": "KICAD_WIN32_DPI_AWARE",
  147. "value": "ON",
  148. "type": "BOOL"
  149. }
  150. ]
  151. }
  152. ]
  153. }