Fix some cross dependencies between client and non-client gems

This commit is contained in:
pappeste
2021-05-27 18:33:28 -07:00
parent 4a15f55f78
commit 32b620501d
4 changed files with 18 additions and 20 deletions
+8 -8
View File
@@ -20,9 +20,10 @@ ly_add_target(
PUBLIC
Include
BUILD_DEPENDENCIES
PRIVATE
Gem::LmbrCentral
PUBLIC
Legacy::CryCommon
Gem::LmbrCentral
Gem::LyShine.Static
)
@@ -39,13 +40,12 @@ ly_add_target(
BUILD_DEPENDENCIES
PRIVATE
Gem::LyShineExamples.Static
RUNTIME_DEPENDENCIES
Gem::LmbrCentral
)
# if enabled, LyShineExamples is used by all kinds of applications
ly_create_alias(NAME LyShineExamples.Builders NAMESPACE Gem TARGETS Gem::LyShineExamples)
ly_create_alias(NAME LyShineExamples.Tools NAMESPACE Gem TARGETS Gem::LyShineExamples)
ly_create_alias(NAME LyShineExamples.Clients NAMESPACE Gem TARGETS Gem::LyShineExamples)
ly_create_alias(NAME LyShineExamples.Servers NAMESPACE Gem TARGETS Gem::LyShineExamples)
# if enabled, LyShineExamples is used by all kinds of applications, however, the dependency to LmbrCentral is different
# per application type
ly_create_alias(NAME LyShineExamples.Builders NAMESPACE Gem TARGETS Gem::LyShineExamples Gem::LmbrCentral.Editor)
ly_create_alias(NAME LyShineExamples.Tools NAMESPACE Gem TARGETS Gem::LyShineExamples Gem::LmbrCentral.Editor)
ly_create_alias(NAME LyShineExamples.Clients NAMESPACE Gem TARGETS Gem::LyShineExamples Gem::LmbrCentral)
ly_create_alias(NAME LyShineExamples.Servers NAMESPACE Gem TARGETS Gem::LyShineExamples Gem::LmbrCentral)