CMakeSettings.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "environments": [ { "BuildNumber": "5187" } ],
  3. "configurations": [
  4. {
  5. "name": "x64-native",
  6. "description": "Target x64 with 64-bit compiler",
  7. "generator": "Ninja",
  8. "configurationType": "RelWithDebInfo",
  9. "inheritEnvironments": [ "clang_cl_x64_x64" ],
  10. "buildRoot": "${projectDir}\\out\\build\\${name}",
  11. "installRoot": "${projectDir}\\out\\install\\${name}",
  12. "cmakeCommandArgs": "",
  13. "buildCommandArgs": "",
  14. "ctestCommandArgs": "",
  15. "variables": [
  16. {
  17. "name": "BUILD_NUMBER",
  18. "value": "${env.BuildNumber}",
  19. "type": "STRING"
  20. },
  21. {
  22. "name": "CMAKE_C_COMPILER",
  23. "value": "${env.VCINSTALLDIR}Tools/Llvm/x64/bin/clang-cl.exe",
  24. "type": "FILEPATH"
  25. },
  26. {
  27. "name": "CMAKE_CXX_COMPILER",
  28. "value": "${env.VCINSTALLDIR}Tools/Llvm/x64/bin/clang-cl.exe",
  29. "type": "FILEPATH"
  30. },
  31. {
  32. "name": "VCPKG_TARGET_TRIPLET",
  33. "value": "x64-windows-static",
  34. "type": "STRING"
  35. }
  36. ]
  37. },
  38. {
  39. "name": "x86-on-x64",
  40. "description": "Target x86 with 64-bit compiler",
  41. "generator": "Ninja",
  42. "configurationType": "RelWithDebInfo",
  43. "inheritEnvironments": [ "clang_cl_x86_x64" ],
  44. "buildRoot": "${projectDir}\\out\\build\\${name}",
  45. "installRoot": "${projectDir}\\out\\install\\${name}",
  46. "cmakeCommandArgs": "",
  47. "buildCommandArgs": "",
  48. "ctestCommandArgs": "",
  49. "variables": [
  50. {
  51. "name": "BUILD_NUMBER",
  52. "value": "${env.BuildNumber}",
  53. "type": "STRING"
  54. },
  55. {
  56. "name": "CMAKE_C_COMPILER",
  57. "value": "${env.VCINSTALLDIR}Tools/Llvm/x64/bin/clang-cl.exe",
  58. "type": "FILEPATH"
  59. },
  60. {
  61. "name": "CMAKE_CXX_COMPILER",
  62. "value": "${env.VCINSTALLDIR}Tools/Llvm/x64/bin/clang-cl.exe",
  63. "type": "FILEPATH"
  64. },
  65. {
  66. "name": "VCPKG_TARGET_TRIPLET",
  67. "value": "x86-windows-static",
  68. "type": "STRING"
  69. }
  70. ]
  71. },
  72. {
  73. "name": "x64-on-x86",
  74. "description": "Target x64 with 32-bit compiler",
  75. "generator": "Ninja",
  76. "configurationType": "RelWithDebInfo",
  77. "inheritEnvironments": [ "clang_cl_x64" ],
  78. "buildRoot": "${projectDir}\\out\\build\\${name}",
  79. "installRoot": "${projectDir}\\out\\install\\${name}",
  80. "cmakeCommandArgs": "",
  81. "buildCommandArgs": "",
  82. "ctestCommandArgs": "",
  83. "variables": [
  84. {
  85. "name": "BUILD_NUMBER",
  86. "value": "${env.BuildNumber}",
  87. "type": "STRING"
  88. },
  89. {
  90. "name": "CMAKE_C_COMPILER",
  91. "value": "${env.VCINSTALLDIR}Tools/Llvm/bin/clang-cl.exe",
  92. "type": "FILEPATH"
  93. },
  94. {
  95. "name": "CMAKE_CXX_COMPILER",
  96. "value": "${env.VCINSTALLDIR}Tools/Llvm/bin/clang-cl.exe",
  97. "type": "FILEPATH"
  98. },
  99. {
  100. "name": "VCPKG_TARGET_TRIPLET",
  101. "value": "x64-windows-static",
  102. "type": "STRING"
  103. }
  104. ]
  105. },
  106. {
  107. "name": "x86-native",
  108. "description": "Target x86 with 32-bit compiler",
  109. "generator": "Ninja",
  110. "configurationType": "RelWithDebInfo",
  111. "inheritEnvironments": [ "clang_cl_x86" ],
  112. "buildRoot": "${projectDir}\\out\\build\\${name}",
  113. "installRoot": "${projectDir}\\out\\install\\${name}",
  114. "cmakeCommandArgs": "",
  115. "buildCommandArgs": "",
  116. "ctestCommandArgs": "",
  117. "variables": [
  118. {
  119. "name": "BUILD_NUMBER",
  120. "value": "${env.BuildNumber}",
  121. "type": "STRING"
  122. },
  123. {
  124. "name": "CMAKE_C_COMPILER",
  125. "value": "${env.VCINSTALLDIR}Tools/Llvm/bin/clang-cl.exe",
  126. "type": "FILEPATH"
  127. },
  128. {
  129. "name": "CMAKE_CXX_COMPILER",
  130. "value": "${env.VCINSTALLDIR}Tools/Llvm/bin/clang-cl.exe",
  131. "type": "FILEPATH"
  132. },
  133. {
  134. "name": "VCPKG_TARGET_TRIPLET",
  135. "value": "x86-windows-static",
  136. "type": "STRING"
  137. }
  138. ]
  139. }
  140. ]
  141. }