You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/cmake
lumberyard-employee-dm 2478c60793
Fixed several o3de python package and install layout issues (#1714)
* Updated the CrashLog directory path to save to the project user
directory instead of the engine-root directory

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removing the custom OUTPUT_NAME for the Multiplayer Gem Builder target

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Changed the default value for the LY_3RDPARTY_PATH cache variable to be
~/.o3de/3rdParty

This simplifies the first time user experience when running cmake

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed Windows only issue where using creating a VS Solution for an O3DE project on a different drive resulted in an unloaded "<drive letter>:" entry appearing in the solution explorer

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Refactored install layout logic for External Subdirectories

Instead of performing a regular expression over the Gems/* directory, now the each external subdirectory including the project (external) directory is recursied over and scanned for any folders that aren't excluded.
By default those folders are the [Cc]ache, [Bb]uild and [Uu]ser directories

Afterwards the list files to copy over are then split into a directory list and a file list that is filtered by an include regex
Next the directory list is iterated over and the directories are copied to the install layout
Finally the file list is iterated and the list of files are also copied to the install layout

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed the o3de.bat script changing the working directory before running the o3de.py script

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed exception in engine-template.py script when the create-gem command
is invoked with the --template-name parameter that does not correspond
to a registered Template

Updated the create-project command to register the project with the
o3de_manifest.json and the engine with the project as the final step

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed register.py over-registration of non-engine directories when then
--this-engine parameter is supplied.
All the projects, gems and templates inside of the default o3de_manifest
folder locations were being registered with the engine that was being
registered

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed register.py register_project_path() method to return 0 when the
project path is successfully registered.

This issue was that the save_o3de_manifest method "return" value was
being checked and that method doesn't actually return a value

Added question mark to the engine_template.py to correct text around
notifying the user if the project was registered

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added doc comment on the new cmke ly_get_vs_folder_directory function()

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added clarifying comment to the ly_setup_others() command logic to copy over directories and files from any external subdirectories(Gems) that are registered with the engine at the time of install

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed infinite recursion when trying to create a template with the
source directory used to seed the template

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
5 years ago
..
3rdParty Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Platform Fixed several o3de python package and install layout issues (#1714) 5 years ago
TestImpactFramework Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Tools Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
install Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
3rdParty.cmake Fixed several o3de python package and install layout issues (#1714) 5 years ago
3rdPartyPackages.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
CMakeFiles.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
CommandExecution.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Configurations.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Dependencies.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Deployment.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
EngineJson.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
FileUtil.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Findo3de.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Gems.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
GeneralSettings.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Install.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
LYPackage_S3Downloader.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
LYPython.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
LYTestWrappers.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
LYWrappers.cmake Fixed several o3de python package and install layout issues (#1714) 5 years ago
LyAutoGen.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
LySet.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Monolithic.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
O3DEJson.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
OutputDirectory.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
PAL.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
PALTools.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Packaging.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
PackagingConfig.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Projects.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
RuntimeDependencies.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
SettingsRegistry.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
UnitTest.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Version.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
__init__.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
cmake_files.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
createplatformfiles.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
gemcmake.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
mocfix.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
projectcmake.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
reroot.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
run_epbtest.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
waffiles2cmake.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
warn_fix.py Final update copyright headers to reference license files at the repo root (#1693) 5 years ago