Making install to be completely a post-processing step. We need this so all dependencies are declared and ready when we generate the target files

This commit is contained in:
pappeste
2021-05-10 11:19:35 -07:00
parent 2625e983b8
commit ac7024cc06
10 changed files with 165 additions and 211 deletions
-6
View File
@@ -11,11 +11,5 @@
# Empty implementations for untested platforms to fix build errors.
function(ly_install_target ly_install_target_NAME)
endfunction()
function(ly_setup_o3de_install)
endfunction()
@@ -143,7 +143,11 @@ function(ly_delayed_generate_runtime_dependencies)
get_property(all_targets GLOBAL PROPERTY LY_ALL_TARGETS)
unset(test_runner_dependencies)
foreach(target IN LISTS all_targets)
foreach(aliased_target IN LISTS all_targets)
unset(target)
ly_de_alias_target(${aliased_target} target)
# Exclude targets that dont produce runtime outputs
get_target_property(target_type ${target} TYPE)
if(NOT target_type IN_LIST LY_TARGET_TYPES_WITH_RUNTIME_OUTPUTS)