CMakePresets.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. {
  2. "version": 4,
  3. "cmakeMinimumRequired": {
  4. "major": 3,
  5. "minor": 23,
  6. "patch": 0
  7. },
  8. "include": [
  9. "cmake/CMakePresets.json"
  10. ],
  11. "configurePresets": [
  12. {
  13. "name": "win64",
  14. "displayName": "Windows x64 default config (static, vcpkg, Skia)",
  15. "inherits": [ "win64-base", "vcpkg", "skia" ]
  16. }, {
  17. "name": "win32",
  18. "displayName": "Windows x86 default config (static, vcpkg, Skia)",
  19. "inherits": [ "win32-base", "vcpkg", "skia" ]
  20. }, {
  21. "name": "win64-omp",
  22. "displayName": "Windows x64 config with OpenMP (static, vcpkg, Skia)",
  23. "inherits": [ "win64-base", "openmp", "vcpkg", "skia" ],
  24. "binaryDir": "${sourceDir}/build/win64-omp"
  25. }, {
  26. "name": "win32-omp",
  27. "displayName": "Windows x86 config with OpenMP (static, vcpkg, Skia)",
  28. "inherits": [ "win32-base", "openmp", "vcpkg", "skia" ],
  29. "binaryDir": "${sourceDir}/build/win32-omp"
  30. }, {
  31. "name": "win64-dynamic",
  32. "displayName": "Windows x64 dynamic config (vcpkg, Skia)",
  33. "inherits": [ "win64-base", "vcpkg", "skia", "dynamic-runtime", "dynamic-lib" ],
  34. "binaryDir": "${sourceDir}/build/win64-dynamic"
  35. }, {
  36. "name": "win32-dynamic",
  37. "displayName": "Windows x86 dynamic config (vcpkg, Skia)",
  38. "inherits": [ "win32-base", "vcpkg", "skia", "dynamic-runtime", "dynamic-lib" ],
  39. "binaryDir": "${sourceDir}/build/win32-dynamic"
  40. }, {
  41. "name": "win64-no-skia",
  42. "displayName": "Windows x64 config without Skia (static, vcpkg)",
  43. "inherits": [ "win64-base", "vcpkg", "no-skia" ]
  44. }, {
  45. "name": "win32-no-skia",
  46. "displayName": "Windows x86 config without Skia (static, vcpkg)",
  47. "inherits": [ "win32-base", "vcpkg", "no-skia" ]
  48. }, {
  49. "name": "win64-core",
  50. "displayName": "Windows x64 core-only config (static)",
  51. "inherits": [ "win64-base", "core-only" ],
  52. "binaryDir": "${sourceDir}/build/win64-core"
  53. }, {
  54. "name": "win32-core",
  55. "displayName": "Windows x86 core-only config (static)",
  56. "inherits": [ "win32-base", "core-only" ],
  57. "binaryDir": "${sourceDir}/build/win32-core"
  58. },
  59. {
  60. "name": "osx-vcpkg-rel",
  61. "displayName": "Mac OS release config with vcpkg and Skia (static)",
  62. "inherits": [ "osx-rel-base", "vcpkg", "skia" ]
  63. }, {
  64. "name": "osx-vcpkg-dbg",
  65. "displayName": "Mac OS debug config with vcpkg and Skia (static)",
  66. "inherits": [ "osx-dbg-base", "vcpkg", "skia" ]
  67. }, {
  68. "name": "osx-no-skia-rel",
  69. "displayName": "Mac OS release config with system libraries and no Skia (static, install)",
  70. "inherits": [ "osx-rel-base", "no-vcpkg", "no-skia", "install" ]
  71. }, {
  72. "name": "osx-no-skia-dbg",
  73. "displayName": "Mac OS debug config with system libraries and no Skia (static, install)",
  74. "inherits": [ "osx-dbg-base", "no-vcpkg", "no-skia", "install" ]
  75. }, {
  76. "name": "osx-core-rel",
  77. "displayName": "Mac OS release core-only config (static, install)",
  78. "inherits": [ "osx-rel-base", "core-only", "install" ],
  79. "binaryDir": "${sourceDir}/build/osx-core-rel"
  80. }, {
  81. "name": "osx-core-dbg",
  82. "displayName": "Mac OS debug core-only config (static, install)",
  83. "inherits": [ "osx-dbg-base", "core-only", "install" ],
  84. "binaryDir": "${sourceDir}/build/osx-core-dbg"
  85. },
  86. {
  87. "name": "linux-vcpkg-rel",
  88. "displayName": "Linux release config with vcpkg and Skia (static)",
  89. "inherits": [ "linux-rel-base", "vcpkg", "skia" ]
  90. }, {
  91. "name": "linux-vcpkg-dbg",
  92. "displayName": "Linux debug config with vcpkg and Skia (static)",
  93. "inherits": [ "linux-dbg-base", "vcpkg", "skia" ]
  94. }, {
  95. "name": "linux-no-skia-rel",
  96. "displayName": "Linux release config with system libraries and no Skia (static, install)",
  97. "inherits": [ "linux-rel-base", "no-vcpkg", "no-skia", "install" ]
  98. }, {
  99. "name": "linux-no-skia-dbg",
  100. "displayName": "Linux debug config with system libraries and no Skia (static, install)",
  101. "inherits": [ "linux-dbg-base", "no-vcpkg", "no-skia", "install" ]
  102. }, {
  103. "name": "linux-core-rel",
  104. "displayName": "Linux release core-only config (static, install)",
  105. "inherits": [ "linux-rel-base", "core-only", "install" ],
  106. "binaryDir": "${sourceDir}/build/linux-core-rel"
  107. }, {
  108. "name": "linux-core-dbg",
  109. "displayName": "Linux debug core-only config (static, install)",
  110. "inherits": [ "linux-dbg-base", "core-only", "install" ],
  111. "binaryDir": "${sourceDir}/build/linux-core-dbg"
  112. }
  113. ],
  114. "buildPresets": [
  115. {
  116. "name": "win64-rel",
  117. "configurePreset": "win64",
  118. "configuration": "Release"
  119. }, {
  120. "name": "win64-dbg",
  121. "configurePreset": "win64",
  122. "configuration": "Debug"
  123. }, {
  124. "name": "win32-rel",
  125. "configurePreset": "win32",
  126. "configuration": "Release"
  127. }, {
  128. "name": "win32-dbg",
  129. "configurePreset": "win32",
  130. "configuration": "Debug"
  131. }, {
  132. "name": "win64-omp-rel",
  133. "configurePreset": "win64-omp",
  134. "configuration": "Release"
  135. }, {
  136. "name": "win64-omp-dbg",
  137. "configurePreset": "win64-omp",
  138. "configuration": "Debug"
  139. }, {
  140. "name": "win32-omp-rel",
  141. "configurePreset": "win32-omp",
  142. "configuration": "Release"
  143. }, {
  144. "name": "win32-omp-dbg",
  145. "configurePreset": "win32-omp",
  146. "configuration": "Debug"
  147. }, {
  148. "name": "win64-dynamic-rel",
  149. "configurePreset": "win64-dynamic",
  150. "configuration": "Release"
  151. }, {
  152. "name": "win64-dynamic-dbg",
  153. "configurePreset": "win64-dynamic",
  154. "configuration": "Debug"
  155. }, {
  156. "name": "win32-dynamic-rel",
  157. "configurePreset": "win32-dynamic",
  158. "configuration": "Release"
  159. }, {
  160. "name": "win32-dynamic-dbg",
  161. "configurePreset": "win32-dynamic",
  162. "configuration": "Debug"
  163. }, {
  164. "name": "win64-no-skia-rel",
  165. "configurePreset": "win64-no-skia",
  166. "configuration": "Release"
  167. }, {
  168. "name": "win64-no-skia-dbg",
  169. "configurePreset": "win64-no-skia",
  170. "configuration": "Debug"
  171. }, {
  172. "name": "win32-no-skia-rel",
  173. "configurePreset": "win32-no-skia",
  174. "configuration": "Release"
  175. }, {
  176. "name": "win32-no-skia-dbg",
  177. "configurePreset": "win32-no-skia",
  178. "configuration": "Debug"
  179. }, {
  180. "name": "win64-core-rel",
  181. "configurePreset": "win64-core",
  182. "configuration": "Release"
  183. }, {
  184. "name": "win64-core-dbg",
  185. "configurePreset": "win64-core",
  186. "configuration": "Debug"
  187. }, {
  188. "name": "win32-core-rel",
  189. "configurePreset": "win32-core",
  190. "configuration": "Release"
  191. }, {
  192. "name": "win32-core-dbg",
  193. "configurePreset": "win32-core",
  194. "configuration": "Debug"
  195. },
  196. {
  197. "name": "osx-vcpkg-rel",
  198. "configurePreset": "osx-vcpkg-rel"
  199. }, {
  200. "name": "osx-vcpkg-dbg",
  201. "configurePreset": "osx-vcpkg-dbg"
  202. }, {
  203. "name": "osx-no-skia-rel",
  204. "configurePreset": "osx-no-skia-rel"
  205. }, {
  206. "name": "osx-no-skia-dbg",
  207. "configurePreset": "osx-no-skia-dbg"
  208. }, {
  209. "name": "osx-core-rel",
  210. "configurePreset": "osx-core-rel"
  211. }, {
  212. "name": "osx-core-dbg",
  213. "configurePreset": "osx-core-dbg"
  214. },
  215. {
  216. "name": "linux-vcpkg-rel",
  217. "configurePreset": "linux-vcpkg-rel"
  218. }, {
  219. "name": "linux-vcpkg-dbg",
  220. "configurePreset": "linux-vcpkg-dbg"
  221. }, {
  222. "name": "linux-no-skia-rel",
  223. "configurePreset": "linux-no-skia-rel"
  224. }, {
  225. "name": "linux-no-skia-dbg",
  226. "configurePreset": "linux-no-skia-dbg"
  227. }, {
  228. "name": "linux-core-rel",
  229. "configurePreset": "linux-core-rel"
  230. }, {
  231. "name": "linux-core-dbg",
  232. "configurePreset": "linux-core-dbg"
  233. }
  234. ]
  235. }