template.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. {
  2. "template_name": "PythonToolGem",
  3. "template_restricted_platform_relative_path": "Templates/PythonToolGem",
  4. "restricted_name": "o3de",
  5. "restricted_platform_relative_path": "Templates/PythonToolGem",
  6. "origin": "Open 3D Engine - o3de.org",
  7. "origin_url": "https://github.com/o3de/o3de",
  8. "license": "Apache-2.0 or MIT",
  9. "license_url": "https://github.com/o3de/o3de/blob/development/LICENSE.txt",
  10. "display_name": "PythonToolGem Template",
  11. "summary": "A gem template for a custom tool in Python that gets registered with the Editor.",
  12. "canonical_tags": [
  13. "Python",
  14. "Gem"
  15. ],
  16. "user_tags": [
  17. "PythonToolGem"
  18. ],
  19. "icon_path": "preview.png",
  20. "copyFiles": [
  21. {
  22. "file": ".gitignore",
  23. "isTemplated": false
  24. },
  25. {
  26. "file": "CMakeLists.txt",
  27. "isTemplated": true
  28. },
  29. {
  30. "file": "Code/${NameLower}_editor_api_files.cmake",
  31. "isTemplated": true
  32. },
  33. {
  34. "file": "Code/${NameLower}_editor_private_files.cmake",
  35. "isTemplated": true
  36. },
  37. {
  38. "file": "Code/${NameLower}_editor_shared_files.cmake",
  39. "isTemplated": true
  40. },
  41. {
  42. "file": "Code/${NameLower}_editor_tests_files.cmake",
  43. "isTemplated": true
  44. },
  45. {
  46. "file": "Code/CMakeLists.txt",
  47. "isTemplated": true
  48. },
  49. {
  50. "file": "Code/Include/${Name}/${Name}Bus.h",
  51. "isTemplated": true
  52. },
  53. {
  54. "file": "Code/Include/${Name}/${Name}TypeIds.h",
  55. "isTemplated": true
  56. },
  57. {
  58. "file": "Code/Platform/Linux/${NameLower}_editor_api_files.cmake",
  59. "isTemplated": true
  60. },
  61. {
  62. "file": "Code/Platform/Linux/${NameLower}_editor_private_files.cmake",
  63. "isTemplated": true
  64. },
  65. {
  66. "file": "Code/Platform/Linux/${NameLower}_editor_shared_files.cmake",
  67. "isTemplated": true
  68. },
  69. {
  70. "file": "Code/Platform/Linux/PAL_linux.cmake",
  71. "isTemplated": true
  72. },
  73. {
  74. "file": "Code/Platform/Mac/${NameLower}_editor_api_files.cmake",
  75. "isTemplated": true
  76. },
  77. {
  78. "file": "Code/Platform/Mac/${NameLower}_editor_private_files.cmake",
  79. "isTemplated": true
  80. },
  81. {
  82. "file": "Code/Platform/Mac/${NameLower}_editor_shared_files.cmake",
  83. "isTemplated": true
  84. },
  85. {
  86. "file": "Code/Platform/Mac/PAL_mac.cmake",
  87. "isTemplated": true
  88. },
  89. {
  90. "file": "Code/Platform/Windows/${NameLower}_editor_api_files.cmake",
  91. "isTemplated": true
  92. },
  93. {
  94. "file": "Code/Platform/Windows/${NameLower}_editor_private_files.cmake",
  95. "isTemplated": true
  96. },
  97. {
  98. "file": "Code/Platform/Windows/${NameLower}_editor_shared_files.cmake",
  99. "isTemplated": true
  100. },
  101. {
  102. "file": "Code/Platform/Windows/PAL_windows.cmake",
  103. "isTemplated": true
  104. },
  105. {
  106. "file": "Code/Source/${Name}ModuleInterface.cpp",
  107. "isTemplated": true
  108. },
  109. {
  110. "file": "Code/Source/${Name}ModuleInterface.h",
  111. "isTemplated": true
  112. },
  113. {
  114. "file": "Code/Source/Tools/${Name}.qrc",
  115. "isTemplated": true
  116. },
  117. {
  118. "file": "Code/Source/Tools/${Name}EditorModule.cpp",
  119. "isTemplated": true
  120. },
  121. {
  122. "file": "Code/Source/Tools/${Name}EditorSystemComponent.cpp",
  123. "isTemplated": true
  124. },
  125. {
  126. "file": "Code/Source/Tools/${Name}EditorSystemComponent.h",
  127. "isTemplated": true
  128. },
  129. {
  130. "file": "Code/Source/Tools/toolbar_icon.svg",
  131. "isTemplated": false
  132. },
  133. {
  134. "file": "Code/Tests/Tools/${Name}EditorTest.cpp",
  135. "isTemplated": true
  136. },
  137. {
  138. "file": "Editor/Scripts/__init__.py",
  139. "isTemplated": true
  140. },
  141. {
  142. "file": "Editor/Scripts/bootstrap.py",
  143. "isTemplated": true
  144. },
  145. {
  146. "file": "Editor/Scripts/${SanitizedNameLower}_dialog.py",
  147. "isTemplated": true
  148. },
  149. {
  150. "file": "Registry/assetprocessor_settings.setreg",
  151. "isTemplated": true
  152. },
  153. {
  154. "file": "gem.json",
  155. "isTemplated": true
  156. },
  157. {
  158. "file": "preview.png",
  159. "isTemplated": false
  160. }
  161. ],
  162. "createDirectories": [
  163. {
  164. "dir": "Assets"
  165. },
  166. {
  167. "dir": "Code"
  168. },
  169. {
  170. "dir": "Editor"
  171. },
  172. {
  173. "dir": "Editor/Scripts"
  174. },
  175. {
  176. "dir": "Code/Include"
  177. },
  178. {
  179. "dir": "Code/Include/${Name}"
  180. },
  181. {
  182. "dir": "Code/Platform"
  183. },
  184. {
  185. "dir": "Code/Platform/Linux"
  186. },
  187. {
  188. "dir": "Code/Platform/Mac"
  189. },
  190. {
  191. "dir": "Code/Platform/Windows"
  192. },
  193. {
  194. "dir": "Code/Source"
  195. },
  196. {
  197. "dir": "Code/Source/Tools"
  198. },
  199. {
  200. "dir": "Code/Tests"
  201. },
  202. {
  203. "dir": "Code/Tests/Tools"
  204. },
  205. {
  206. "dir": "Registry"
  207. }
  208. ]
  209. }