Added a ${GemName}.Builders variant to Asset-Only Gems (#1324)
* Creating Builder variant aliases for all Asset Gems * Added an AssetGem template for creating an Asset Gem The AssetGem template is meant for non-code Gems * Updated the engine_template.py commands to use pathlib Each of the four commands: create-template, create-from-template, create-project and create-gem have been updated to use pathlib.Path or any path manipulation Fix several python errors when instantiating a template with missing o3de objects. For example attempting to use the create-project command with the "DefaultGem" template would result in a python exception instaed of a error log and a return value 0.. Added a **force** option to the engine_template commands to force overriding of existing files * Optimized search through text files when the create-template command is run when attempting to replace the license text section * Adding a Minimal Project Template that contains the minimal set of gems as stated by UX * Minor changes to the DefaultProject template. Added a license section to the EngineFinder.cmake * Adding the MinimalProject to the engine.json file
This commit is contained in:
committed by
GitHub
parent
604dca1c3e
commit
4014cacff8
@@ -1,3 +1,4 @@
|
||||
# {BEGIN_LICENSE}
|
||||
#
|
||||
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
||||
# its licensors.
|
||||
@@ -8,6 +9,7 @@
|
||||
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
#
|
||||
# {END_LICENSE}
|
||||
# This file is copied during engine registration. Edits to this file will be lost next
|
||||
# time a registration happens.
|
||||
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
[
|
||||
"Assets",
|
||||
"ShaderLib",
|
||||
"Shaders",
|
||||
"Registry"
|
||||
"Shaders"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
sys_game_name = "${Name}"
|
||||
sys_localization_folder = Localization
|
||||
ca_useIMG_CAF = 0
|
||||
|
||||
-- Enable warnings when asset loads take longer than the given millisecond threshold
|
||||
cl_assetLoadWarningEnable=true
|
||||
cl_assetLoadWarningMsThreshold=100
|
||||
|
||||
@@ -25,12 +25,6 @@
|
||||
"isTemplated": true,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
"file": "EngineFinder.cmake",
|
||||
"origin": "EngineFinder.cmake",
|
||||
"isTemplated": false,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
"file": "Code/${NameLower}_files.cmake",
|
||||
"origin": "Code/${NameLower}_files.cmake",
|
||||
@@ -49,12 +43,6 @@
|
||||
"isTemplated": true,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
"file": "Code/gem.json",
|
||||
"origin": "Code/gem.json",
|
||||
"isTemplated": true,
|
||||
"isOptional": true
|
||||
},
|
||||
{
|
||||
"file": "Code/Include/${Name}/${Name}Bus.h",
|
||||
"origin": "Code/Include/${Name}/${Name}Bus.h",
|
||||
@@ -175,12 +163,24 @@
|
||||
"isTemplated": true,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
"file": "Code/gem.json",
|
||||
"origin": "Code/gem.json",
|
||||
"isTemplated": true,
|
||||
"isOptional": true
|
||||
},
|
||||
{
|
||||
"file": "Config/shader_global_build_options.json",
|
||||
"origin": "Config/shader_global_build_options.json",
|
||||
"isTemplated": false,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
"file": "EngineFinder.cmake",
|
||||
"origin": "EngineFinder.cmake",
|
||||
"isTemplated": false,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
"file": "Platform/Android/android_project.cmake",
|
||||
"origin": "Platform/Android/android_project.cmake",
|
||||
@@ -478,7 +478,7 @@
|
||||
{
|
||||
"file": "ShaderLib/README.md",
|
||||
"origin": "ShaderLib/README.md",
|
||||
"isTemplated": true,
|
||||
"isTemplated": false,
|
||||
"isOptional": true
|
||||
},
|
||||
{
|
||||
@@ -514,7 +514,7 @@
|
||||
{
|
||||
"file": "game.cfg",
|
||||
"origin": "game.cfg",
|
||||
"isTemplated": true,
|
||||
"isTemplated": false,
|
||||
"isOptional": false
|
||||
},
|
||||
{
|
||||
@@ -650,6 +650,10 @@
|
||||
{
|
||||
"dir": "Shaders",
|
||||
"origin": "Shaders"
|
||||
},
|
||||
{
|
||||
"dir": "Shaders/ShaderResourceGroups",
|
||||
"origin": "Shaders/ShaderResourceGroups"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user