The new gem registration and usage system
Merge from mainline (Rebase)
This commit is contained in:
committed by
lawsonamzn
parent
c93c457356
commit
c9d5d7fb77
@@ -61,22 +61,8 @@ ly_add_target(
|
||||
Gem::AudioSystem.Static
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Server
|
||||
################################################################################
|
||||
if (PAL_TRAIT_BUILD_SERVER_SUPPORTED)
|
||||
# Stub gem for server. Audio system is client only
|
||||
ly_add_target(
|
||||
NAME AudioSystem.Server GEM_MODULE
|
||||
|
||||
NAMESPACE Gem
|
||||
FILES_CMAKE
|
||||
audiosystem_stub_files.cmake
|
||||
BUILD_DEPENDENCIES
|
||||
PRIVATE
|
||||
AZ::AzCore
|
||||
)
|
||||
endif ()
|
||||
# AudioSystem should use the above target on clients.
|
||||
ly_create_alias(NAME AudioSystem.Clients NAMESPACE Gem TARGETS Gem::AudioSystem)
|
||||
|
||||
################################################################################
|
||||
# Tests
|
||||
@@ -230,6 +216,10 @@ if (PAL_TRAIT_BUILD_HOST_TOOLS)
|
||||
Gem::AudioSystem.Editor.Static
|
||||
)
|
||||
|
||||
# use the above "Editor" target in tools and builders:
|
||||
ly_create_alias(NAME AssetMemoryAnalyzer.Tools NAMESPACE Gem TARGETS Gem::AudioSystem.Editor)
|
||||
ly_create_alias(NAME AssetMemoryAnalyzer.Builders NAMESPACE Gem TARGETS Gem::AudioSystem.Editor)
|
||||
|
||||
if (PAL_TRAIT_BUILD_TESTS_SUPPORTED)
|
||||
ly_add_target(
|
||||
NAME AudioSystem.Editor.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
|
||||
@@ -253,3 +243,6 @@ if (PAL_TRAIT_BUILD_HOST_TOOLS)
|
||||
)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user