template.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. {
  2. "template_name": "CppToolGem",
  3. "template_restricted_platform_relative_path": "Templates/CppToolGem",
  4. "origin": "Open 3D Engine - o3de.org",
  5. "origin_url": "https://github.com/o3de/o3de",
  6. "license": "Apache-2.0 or MIT",
  7. "license_url": "https://github.com/o3de/o3de/blob/development/LICENSE.txt",
  8. "display_name": "CppToolGem Template",
  9. "summary": "A gem template for a custom tool in C++ that gets registered with the Editor.",
  10. "canonical_tags": [
  11. "Template",
  12. "Gem"
  13. ],
  14. "user_tags": [
  15. "CppToolGem"
  16. ],
  17. "icon_path": "preview.png",
  18. "copyFiles": [
  19. {
  20. "file": ".gitignore",
  21. "isTemplated": false
  22. },
  23. {
  24. "file": "CMakeLists.txt",
  25. "isTemplated": true
  26. },
  27. {
  28. "file": "Code/${NameLower}_editor_api_files.cmake",
  29. "isTemplated": true
  30. },
  31. {
  32. "file": "Code/${NameLower}_editor_private_files.cmake",
  33. "isTemplated": true
  34. },
  35. {
  36. "file": "Code/${NameLower}_editor_shared_files.cmake",
  37. "isTemplated": true
  38. },
  39. {
  40. "file": "Code/${NameLower}_editor_tests_files.cmake",
  41. "isTemplated": true
  42. },
  43. {
  44. "file": "Code/${NameLower}_api_files.cmake",
  45. "isTemplated": true
  46. },
  47. {
  48. "file": "Code/${NameLower}_private_files.cmake",
  49. "isTemplated": true
  50. },
  51. {
  52. "file": "Code/${NameLower}_shared_files.cmake",
  53. "isTemplated": true
  54. },
  55. {
  56. "file": "Code/${NameLower}_tests_files.cmake",
  57. "isTemplated": true
  58. },
  59. {
  60. "file": "Code/CMakeLists.txt",
  61. "isTemplated": true
  62. },
  63. {
  64. "file": "Code/Include/${Name}/${Name}Bus.h",
  65. "isTemplated": true
  66. },
  67. {
  68. "file": "Code/Include/${Name}/${Name}TypeIds.h",
  69. "isTemplated": true
  70. },
  71. {
  72. "file": "Code/Platform/Android/${NameLower}_private_files.cmake",
  73. "isTemplated": true
  74. },
  75. {
  76. "file": "Code/Platform/Android/${NameLower}_shared_files.cmake",
  77. "isTemplated": true
  78. },
  79. {
  80. "file": "Code/Platform/Android/${NameLower}_api_files.cmake",
  81. "isTemplated": true
  82. },
  83. {
  84. "file": "Code/Platform/Android/PAL_android.cmake",
  85. "isTemplated": true
  86. },
  87. {
  88. "file": "Code/Platform/Linux/${NameLower}_api_files.cmake",
  89. "isTemplated": true
  90. },
  91. {
  92. "file": "Code/Platform/Linux/${NameLower}_editor_api_files.cmake",
  93. "isTemplated": true
  94. },
  95. {
  96. "file": "Code/Platform/Linux/${NameLower}_private_files.cmake",
  97. "isTemplated": true
  98. },
  99. {
  100. "file": "Code/Platform/Linux/${NameLower}_shared_files.cmake",
  101. "isTemplated": true
  102. },
  103. {
  104. "file": "Code/Platform/Linux/PAL_linux.cmake",
  105. "isTemplated": true
  106. },
  107. {
  108. "file": "Code/Platform/Mac/${NameLower}_api_files.cmake",
  109. "isTemplated": true
  110. },
  111. {
  112. "file": "Code/Platform/Mac/${NameLower}_editor_api_files.cmake",
  113. "isTemplated": true
  114. },
  115. {
  116. "file": "Code/Platform/Mac/${NameLower}_private_files.cmake",
  117. "isTemplated": true
  118. },
  119. {
  120. "file": "Code/Platform/Mac/${NameLower}_shared_files.cmake",
  121. "isTemplated": true
  122. },
  123. {
  124. "file": "Code/Platform/Mac/PAL_mac.cmake",
  125. "isTemplated": true
  126. },
  127. {
  128. "file": "Code/Platform/Windows/${NameLower}_api_files.cmake",
  129. "isTemplated": true
  130. },
  131. {
  132. "file": "Code/Platform/Windows/${NameLower}_editor_api_files.cmake",
  133. "isTemplated": true
  134. },
  135. {
  136. "file": "Code/Platform/Windows/${NameLower}_shared_files.cmake",
  137. "isTemplated": true
  138. },
  139. {
  140. "file": "Code/Platform/Windows/${NameLower}_private_files.cmake",
  141. "isTemplated": true
  142. },
  143. {
  144. "file": "Code/Platform/Windows/PAL_windows.cmake",
  145. "isTemplated": true
  146. },
  147. {
  148. "file": "Code/Platform/iOS/${NameLower}_api_files.cmake",
  149. "isTemplated": true
  150. },
  151. {
  152. "file": "Code/Platform/iOS/${NameLower}_private_files.cmake",
  153. "isTemplated": true
  154. },
  155. {
  156. "file": "Code/Platform/iOS/${NameLower}_shared_files.cmake",
  157. "isTemplated": true
  158. },
  159. {
  160. "file": "Code/Platform/iOS/PAL_ios.cmake",
  161. "isTemplated": true
  162. },
  163. {
  164. "file": "Code/Source/${Name}ModuleInterface.cpp",
  165. "isTemplated": true
  166. },
  167. {
  168. "file": "Code/Source/${Name}ModuleInterface.h",
  169. "isTemplated": true
  170. },
  171. {
  172. "file": "Code/Source/Clients/${Name}Module.cpp",
  173. "isTemplated": true
  174. },
  175. {
  176. "file": "Code/Source/Clients/${Name}SystemComponent.cpp",
  177. "isTemplated": true
  178. },
  179. {
  180. "file": "Code/Source/Clients/${Name}SystemComponent.h",
  181. "isTemplated": true
  182. },
  183. {
  184. "file": "Code/Source/Tools/${Name}.qrc",
  185. "isTemplated": true
  186. },
  187. {
  188. "file": "Code/Source/Tools/${Name}EditorModule.cpp",
  189. "isTemplated": true
  190. },
  191. {
  192. "file": "Code/Source/Tools/${Name}EditorSystemComponent.cpp",
  193. "isTemplated": true
  194. },
  195. {
  196. "file": "Code/Source/Tools/${Name}EditorSystemComponent.h",
  197. "isTemplated": true
  198. },
  199. {
  200. "file": "Code/Source/Tools/${Name}Widget.cpp",
  201. "isTemplated": true
  202. },
  203. {
  204. "file": "Code/Source/Tools/${Name}Widget.h",
  205. "isTemplated": true
  206. },
  207. {
  208. "file": "Code/Source/Tools/toolbar_icon.svg",
  209. "isTemplated": false
  210. },
  211. {
  212. "file": "Code/Tests/Clients/${Name}Test.cpp",
  213. "isTemplated": true
  214. },
  215. {
  216. "file": "Code/Tests/Tools/${Name}EditorTest.cpp",
  217. "isTemplated": true
  218. },
  219. {
  220. "file": "Registry/assetprocessor_settings.setreg",
  221. "isTemplated": true
  222. },
  223. {
  224. "file": "gem.json",
  225. "isTemplated": true
  226. },
  227. {
  228. "file": "preview.png",
  229. "isTemplated": false
  230. }
  231. ],
  232. "createDirectories": [
  233. {
  234. "dir": "Assets"
  235. },
  236. {
  237. "dir": "Code"
  238. },
  239. {
  240. "dir": "Code/Include"
  241. },
  242. {
  243. "dir": "Code/Include/${Name}"
  244. },
  245. {
  246. "dir": "Code/Platform"
  247. },
  248. {
  249. "dir": "Code/Platform/Android"
  250. },
  251. {
  252. "dir": "Code/Platform/Linux"
  253. },
  254. {
  255. "dir": "Code/Platform/Mac"
  256. },
  257. {
  258. "dir": "Code/Platform/Windows"
  259. },
  260. {
  261. "dir": "Code/Platform/iOS"
  262. },
  263. {
  264. "dir": "Code/Source"
  265. },
  266. {
  267. "dir": "Code/Source/Clients"
  268. },
  269. {
  270. "dir": "Code/Source/Tools"
  271. },
  272. {
  273. "dir": "Code/Tests"
  274. },
  275. {
  276. "dir": "Code/Tests/Clients"
  277. },
  278. {
  279. "dir": "Code/Tests/Tools"
  280. },
  281. {
  282. "dir": "Registry"
  283. }
  284. ]
  285. }