LYN-4134 Automatically add --project-path=<project> to debugging parameters in Editor/AP for engine-centric (#1081)

This commit is contained in:
Esteban Papp
2021-06-02 09:13:04 -07:00
committed by GitHub
parent 274e1972f3
commit 1f65c3ba3a
3 changed files with 14 additions and 9 deletions
+4
View File
@@ -125,6 +125,10 @@ ly_add_target(
AZ::AssetProcessorBatch.Static
)
if(LY_FIRST_PROJECT_PATH)
set_property(TARGET AssetProcessor AssetProcessorBatch APPEND PROPERTY VS_DEBUGGER_COMMAND_ARGUMENTS "--project-path=\"${LY_FIRST_PROJECT_PATH}\"")
endif()
# Adds the AssetProcessorBatch target as a C preprocessor define so that it can be used as a Settings Registry
# specialization in order to look up the generated .setreg which contains the dependencies
# specified for the target.