Fix some cross dependencies between client and non-client gems
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user