CMakeLists.txt 798 B

12345678910111213141516171819202122
  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. o3de_gem_setup("Atom_TestData")
  9. # This will export the path to the directory containing the gem.json
  10. # to the "SourcePaths" entry within the "cmake_dependencies.<project>.assetbuilder.setreg"
  11. # which is generated when cmake is run
  12. # This path is the gem root directory
  13. if(PAL_TRAIT_BUILD_HOST_TOOLS)
  14. ly_create_alias(NAME ${gem_name}.Builders NAMESPACE Gem)
  15. # Allows Tool applications to have this gem be active as well
  16. # This allows @gemroot:${gem_name}@ alias to be used to resolve the path to this gem
  17. ly_create_alias(NAME ${gem_name}.Tools NAMESPACE Gem)
  18. endif()