CMakePresets.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. {
  2. "version": 4,
  3. "cmakeMinimumRequired": {
  4. "major": 3,
  5. "minor": 23,
  6. "patch": 0
  7. },
  8. "include": [
  9. "../Common/CMakePresets.json"
  10. ],
  11. "configurePresets": [
  12. {
  13. "name": "ios-default",
  14. "displayName": "iOS",
  15. "description": "iOS default configuration",
  16. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  17. "inherits": [
  18. "ios-xcode",
  19. "ios-unity",
  20. "ios-monolithic"
  21. ]
  22. },
  23. {
  24. "name": "ios-mono-default",
  25. "displayName": "iOS Monolithic with Unity and Xcode",
  26. "description": "Configures iOS to build the Monolithic permutation using Xcode with Unity builds",
  27. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  28. "binaryDir": "${sourceDir}/build/ios_mono",
  29. "inherits": [
  30. "ios-xcode",
  31. "ios-unity",
  32. "ios-monolithic"
  33. ]
  34. },
  35. {
  36. "name": "ios-unity",
  37. "displayName": "iOS Unity",
  38. "description": "iOS build which uses unity files",
  39. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  40. "binaryDir": "${sourceDir}/build/ios",
  41. "inherits": [
  42. "unity",
  43. "host-mac"
  44. ]
  45. },
  46. {
  47. "name": "ios-no-unity",
  48. "displayName": "iOS without Unity",
  49. "description": "iOS build which uses unity files",
  50. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  51. "binaryDir": "${sourceDir}/build/ios_no_unity",
  52. "inherits": [
  53. "no-unity",
  54. "host-mac"
  55. ]
  56. },
  57. {
  58. "name": "ios-non-monolithic",
  59. "displayName": "iOS Non-Monolithic",
  60. "description": "Default configuration for non-monolithic builds",
  61. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  62. "inherits": [
  63. "non-monolithic",
  64. "host-mac"
  65. ]
  66. },
  67. {
  68. "name": "ios-monolithic",
  69. "displayName": "iOS Monolithic",
  70. "description": "Default configuration for monolithic builds",
  71. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  72. "binaryDir": "${sourceDir}/build/ios_mono",
  73. "inherits": [
  74. "monolithic",
  75. "host-mac"
  76. ]
  77. },
  78. {
  79. "name": "ios-xcode",
  80. "displayName": "iOS Xcode",
  81. "description": "Configure iOS using with the Xcode generator",
  82. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  83. "binaryDir": "${sourceDir}/build/ios_xcode",
  84. "inherits": [
  85. "xcode"
  86. ]
  87. },
  88. {
  89. "name": "ios-xcode-unity",
  90. "displayName": "iOS Xcode Unity",
  91. "description": "Configure iOS with the Xcode generator + Unity Builds",
  92. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  93. "binaryDir": "${sourceDir}/build/ios_xcode_unity",
  94. "inherits": [
  95. "ios-unity",
  96. "xcode"
  97. ]
  98. },
  99. {
  100. "name": "ios-xcode-no-unity",
  101. "displayName": "iOS Xcode without Unity",
  102. "description": "Configure iOS with the Xcode Generator without unity builds",
  103. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  104. "binaryDir": "${sourceDir}/build/ios_xcode_no_unity",
  105. "inherits": [
  106. "ios-no-unity",
  107. "xcode"
  108. ]
  109. },
  110. {
  111. "name": "ios-ninja",
  112. "displayName": "iOS Ninja",
  113. "description": "Configure iOS using with the Ninja generator",
  114. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  115. "binaryDir": "${sourceDir}/build/ios_ninja",
  116. "inherits": [
  117. "ios-ninja-unity"
  118. ]
  119. },
  120. {
  121. "name": "ios-ninja-unity",
  122. "displayName": "iOS Ninja Unity",
  123. "description": "Configure iOS with the Ninja generator + Unity Builds",
  124. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  125. "binaryDir": "${sourceDir}/build/ios_ninja_unity",
  126. "inherits": [
  127. "ninja-multi-config",
  128. "ios-unity"
  129. ]
  130. },
  131. {
  132. "name": "ios-ninja-no-unity",
  133. "displayName": "iOS Ninja without Unity",
  134. "description": "Configure iOS with the Ninja Generator without unity builds",
  135. "toolchainFile": "${sourceDir}/cmake/Platform/iOS/Toolchain_ios.cmake",
  136. "binaryDir": "${sourceDir}/build/ios_ninja_no_unity",
  137. "inherits": [
  138. "ninja-multi-config",
  139. "ios-no-unity"
  140. ]
  141. }
  142. ],
  143. "buildPresets": [
  144. {
  145. "name": "ios-default",
  146. "displayName": "iOS",
  147. "description": "Builds all targets for iOS",
  148. "configurePreset": "ios-default",
  149. "inherits": [
  150. "host-mac"
  151. ]
  152. },
  153. {
  154. "name": "ios-install",
  155. "displayName": "iOS install",
  156. "description": "Builds the \"install\" target for iOS, which builds all target and runs the CMake --install step",
  157. "configurePreset": "ios-default",
  158. "inherits": [
  159. "install",
  160. "host-mac"
  161. ]
  162. },
  163. {
  164. "name": "ios-mono-default",
  165. "displayName": "iOS Mono",
  166. "description": "Builds all targets for iOS in the monolithic permutation",
  167. "configurePreset": "ios-mono-default",
  168. "inherits": [
  169. "host-mac"
  170. ]
  171. },
  172. {
  173. "name": "ios-mono-install",
  174. "displayName": "iOS Mono install",
  175. "description": "Builds the \"install\" target for ios monolithic permutation, which builds all target and runs the CMake --install step",
  176. "configurePreset": "ios-mono-default",
  177. "inherits": [
  178. "install",
  179. "host-mac"
  180. ]
  181. }
  182. ],
  183. "testPresets": []
  184. }