Commit Graph

1957 Commits

Author SHA1 Message Date
phistere 9f46e34cc4 Updates to the DefaultProject template
Removes raytracingschenesrg.srgi
Updates to the root scenesrg.srgi (to match AtomSampleViewer)
Adds a SceneSrg.azsli and a README to the template
2021-05-25 18:27:45 -05:00
phistere 3bc5ecd9d9 Fixes a divide by zero in Atom FPS Display 2021-05-25 18:24:43 -05:00
phistere fe29728233 Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/LYN-2948-phistere 2021-05-25 17:41:22 -05:00
phistere f12162a1cf Update Launcher to find the autoexec.cfg in assets
Was looking in the engine root for the autoexec.cfg, changed it to use
the project assets path.
2021-05-25 17:40:09 -05:00
lumberyard-employee-dm d536a9438d Revert "Fixes an issue with RUNTIME_DEPENDENCIES including too many targets during install"
This reverts commit f972edee01.
2021-05-25 17:36:16 -05:00
lumberyard-employee-dm d3835699ea Merge branch 'ly-as-sdk/LYN-2948' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/LYN-2948-phistere 2021-05-25 17:17:55 -05:00
pappeste 19adbf2f41 Removing adding runtime dependencies for gems that are in the BUILD_DEPENDENCIES 2021-05-25 15:12:17 -07:00
lumberyard-employee-dm cfd6c6f93a Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/LYN-2948-phistere 2021-05-25 17:00:50 -05:00
lumberyard-employee-dm 79ba6c0ecf Updating the EngineFinder.cmake for the AutomatedTesting project to use the engines_path key 2021-05-25 17:00:26 -05:00
lumberyard-employee-dm 2126915f6c Merge pull request #34 from aws-lumberyard-dev/ly-as-sdk/Engine-Gem-Tracking
Implemented the RFC for tracking external_subdirectory dependencies in the engine.json
2021-05-25 11:44:56 -05:00
lumberyard-employee-dm d2a15de668 Adding support to read an "external_subdirectories" key from the
project.json when building a project.
This allows the project to build additional gems via adding the external
subdirectory in the project.json file manually
or using the `o3de.py register --external-subdirectory-path=<path>
--external_subdirectory-project-path-<project-path>` command
2021-05-24 22:56:35 -05:00
lumberyard-employee-dm 84a3a3d40a Updating the DefaultProject template to copy over a gem.json file to the Code folder of the created project, since the Code itself is a GEM_MODULE that loads using the Module loading system 2021-05-24 22:53:57 -05:00
lumberyard-employee-dm d3fb2dd68c Removed the add_external_subdirectory and add_gem_cmake python scripts
as well as their remove counterparts.

Updated teh register.py script to be able to register subdirectories to
the o3de_manifest.json
Also added the ability to register external subdirectories to the
project.json if the --external-subdirectory-project-path is supplied
Added the ability to register external subdirectories to the engine.json
if the --external-subdirector-engine-path is supplied
2021-05-24 22:49:37 -05:00
pappeste db0db5c1c0 Proper dependencies to LmbrCentral/LmbrCentral.Editor, mixing those two can cause Editor modules to load non-Editor modules 2021-05-24 18:57:48 -07:00
pappeste bff7d39f68 passing imported for executables 2021-05-24 16:21:29 -07:00
lumberyard-employee-dm 76985602ce Remove commented out logic from the DefaultProject CMakeLists.txt 2021-05-24 15:57:01 -05:00
lumberyard-employee-dm 1a95b96985 Fixed importing of o3de package modules within the o3de.py script when a relative path is used to invoke it 2021-05-24 13:06:43 -05:00
lumberyard-employee-dm 21285809bf Adding back gem.json files to the Atom and AtomLyIntegration folders
which are to be seen as sub gem roots as a workaround for detecting the
location of the "gem" root for the Atom/AtomLyIntegration GEM_MODULE targets

Removed the logic in the SettingsRegistry.cmake for reading a
"gem_module_roots" key from the gem.json file in order to determine the
root of the Atom and Atom LyIntegration sub gem modules
2021-05-24 13:02:23 -05:00
lumberyard-employee-dm 57bdc58c68 Renamed the unit_test_registration.py script to be unit_test_register.py to be inline with the register.py script 2021-05-24 00:49:00 -05:00
lumberyard-employee-dm b99bcea24a Updating the engine.json.in template for the cmake INSTALL target to add the list of external subdirectories to allow the installed layout to access the subdirectories via it's engine.json file 2021-05-24 00:43:21 -05:00
lumberyard-employee-dm 911ad84e53 Updating the exclusion rule for the install folder to only include an install folder at the root of the repo 2021-05-23 23:26:31 -05:00
lumberyard-employee-dm d004365e27 Updating the generation for the
cmake_dependencies.<prefix>.<target>.setreg files to detect the nearest
gem module root for a cmake target that has been marked with the
GEM_MODULE property.
The list of gem module roots are made up of the gem.json location + list
of paths in the gem.json "gem_module_roots" JSON array if it exist
2021-05-23 22:52:10 -05:00
lumberyard-employee-dm 574efd711c Adding a "gem_module_roots" array to the gem.json for the Atom and
AtomLyIntegration gems to allow additional module roots to be checked
when determining the root directory of a GEM_MODULE target
With this change the AtomViewportDisplayInfo gem.json as it is no longer
needed.
2021-05-23 22:51:22 -05:00
lumberyard-employee-dm 98c3660bd9 Correcting the comments in the PAL.cmake file 2021-05-23 22:15:48 -05:00
lumberyard-employee-dm e59b154139 Updated the refactored o3de command scripts to be able to run standalone by adding a main section
Removed the ability to suppress errors in the add-gem-to-cmake and add-external-subdirectory command
Reduced duplicate logic in the download.py, register.py and repo.py scripts
Removed the registration.py script and moved the registration of those comamnds directly to the o3de.py script
Reduced the exception scope in the o3de command scripts to be as constrained as possible.
For example instead of having a block of Exception for catching a dictionary KeyError, the block has been updated to just catch KeyError
Added a python test for validating the "register.py --this-engine" functionality
2021-05-23 22:10:09 -05:00
lumberyard-employee-dm b42cc19f28 Moved the preview.png from the that the o3de engine template script from cmake/Tools directory to the o3de/resources directory 2021-05-23 21:54:56 -05:00
lumberyard-employee-dm 320a06bc19 Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/Engine-Gem-Tracking 2021-05-21 11:17:17 -05:00
lumberyard-employee-dm c1efdbb45c Merge pull request #33 from aws-lumberyard-dev/ly-as-sdk/AssetGemCMakeLists
Adding empty CMakeLists to Asset Only gems
2021-05-21 10:49:36 -05:00
lumberyard-employee-dm 530c9a424e Updating the manifest get_registered command to read the engine projects, gems, external_subdirectories, restricted and templates paths from the engine.json 2021-05-21 04:11:02 -05:00
lumberyard-employee-dm d422083faa Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/Engine-Gem-Tracking 2021-05-21 03:56:09 -05:00
lumberyard-employee-dm 83c5e5fb97 Merge remote-tracking branch 'origin/ly-as-sdk/LYN-2948-phistere' into ly-as-sdk/AssetGemCMakeLists 2021-05-21 03:24:59 -05:00
lumberyard-employee-dm a424ac63ec Adding empty CMakeLists.txt to Asset only gems to fit the new definition
of a gem.
That defintion is that a gem is a directory with a gem.json and a
CMakeLists.txt in it
2021-05-21 03:24:13 -05:00
lumberyard-employee-dm 0b2a5bad8f Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/LYN-2948-phistere 2021-05-21 03:20:59 -05:00
lumberyard-employee-dm 7872360e4a Updating the engine.json file with the list of external_subdirectories, projects and template that come with it 2021-05-21 02:53:40 -05:00
lumberyard-employee-dm 7e4070e5f1 Updating the DefaultProject and DefaultGem templates to use the
"restricted_name" key for indicating the identifier of a restricted
directory location instead of "restricted"
2021-05-21 02:50:30 -05:00
lumberyard-employee-dm c90d446735 Removing the o3de_manifest.cmake file
Removed the EngineFinder.cmake file from the Engine cmake directory as it is only needed in a Project
Added an EngineJson.cmake which reads the "external_subdirectories" list from the engine.json file and calls add_subdirectory on it
Re-ordered the population of the generated gem dependency list to prepend the dependencies before the dependent targets
2021-05-21 02:49:09 -05:00
lumberyard-employee-dm e818bfe905 Updating the ProjectManager code to use the new location of the o3de python scripts 2021-05-21 02:39:50 -05:00
lumberyard-employee-dm 470fde461f Removed engine registration from the Jenkins build scripts which builds the Engine in an engine centric manner 2021-05-21 02:04:07 -05:00
lumberyard-employee-dm a9bc8e943d Refactored the o3de registration.py script into several files which each
contains the implementation of a subparser command.

Updated the register command to be not register engine gems, templates,
projects and external subdirectories to the o3de_manifest

Updated the register-show command to be able to read the engine's gems,
templates, projects and external subdirectories from the engine.json
file
2021-05-21 01:58:54 -05:00
phistere a4243f4be3 Temporarily fixes an issue with some Gems where asset paths aren't properly generated for asset processor 2021-05-20 10:42:06 -05:00
phistere 0f4e00e48f Updating the Gems selctions for the DefaultProject template 2021-05-20 10:38:44 -05:00
phistere 7a25a17fae Fixes a few issues when using an engine name different from the default 2021-05-20 09:13:01 -05:00
lumberyard-employee-dm a55edbe910 Merge branch 'ly-as-sdk/LYN-2948-phistere' of https://github.com/aws-lumberyard-dev/o3de into ly-as-sdk/LYN-2948-phistere 2021-05-19 21:26:29 -05:00
phistere 4ca30afa9e Updates pip install flags for consistency and installs the o3de module 2021-05-19 14:24:31 -05:00
phistere cef7eacd24 Fixes install of scripts to include o3de folder 2021-05-19 13:25:51 -05:00
phistere 0ba2900fdd Fixes and issue with o3de scripts assuming the wrong directory as the engine directory 2021-05-19 12:27:02 -05:00
lumberyard-employee-dm b5b9f7b7e9 Removing leftover ScriptCanvasDiagnosticLibrary files 2021-05-19 12:14:47 -05:00
phistere 5f82d8e3eb Updates EngineFinder.cmake to correct the key that it's looking for 2021-05-19 11:49:18 -05:00
phistere 77a035f015 Merge branch 'ly-as-sdk/LYN-2948' into ly-as-sdk/LYN-2948-phistere 2021-05-19 10:53:29 -05:00
phistere f972edee01 Fixes an issue with RUNTIME_DEPENDENCIES including too many targets during install 2021-05-19 10:49:17 -05:00