CMakeLists.txt 1.1 KB

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. set(gem_path ${CMAKE_CURRENT_LIST_DIR})
  9. set(gem_json ${gem_path}/gem.json)
  10. o3de_restricted_path(${gem_json} gem_restricted_path gem_parent_relative_path)
  11. add_subdirectory(Tools)
  12. add_subdirectory(Utils)
  13. # The "Atom" Gem will alias the real Atom_AtomBridge target variants
  14. # allows the enabling and disabling the "Atom" Gem to build the pre-requisite dependencies
  15. ly_create_alias(NAME Atom.Clients NAMESPACE Gem TARGETS Gem::Atom_AtomBridge.Clients)
  16. ly_create_alias(NAME Atom.Servers NAMESPACE Gem TARGETS Gem::Atom_AtomBridge.Servers)
  17. ly_create_alias(NAME Atom.HeadlessServers NAMESPACE Gem TARGETS Gem::Atom_AtomBridge.HeadlessServers)
  18. ly_create_alias(NAME Atom.Unified NAMESPACE Gem TARGETS Gem::Atom_AtomBridge.Unified)
  19. if(PAL_TRAIT_BUILD_HOST_TOOLS)
  20. ly_create_alias(NAME Atom.Builders NAMESPACE Gem TARGETS Gem::Atom_AtomBridge.Builders)
  21. ly_create_alias(NAME Atom.Tools NAMESPACE Gem TARGETS Gem::Atom_AtomBridge.Tools)
  22. endif()