CMakeLists.txt 748 B

12345678910111213141516
  1. o3de_gem_setup("Audio")
  2. # This indicates to the Builders applications(AssetProcessor, AssetBuilder, AssetBundler)
  3. # that the gem should be added to the "cmake_dependencies.<project>.assetbuilder.setreg"
  4. # which is generated when cmake configure occurs.
  5. # Also tooling applications such as the Editor needs the CMake alias
  6. # to see the gem as active
  7. if(PAL_TRAIT_BUILD_HOST_TOOLS)
  8. ly_create_alias(NAME ${gem_name}.Builders NAMESPACE Gem)
  9. ly_create_alias(NAME ${gem_name}.Tools NAMESPACE Gem)
  10. # Add in CMake dependencies for each gem dependency listed in this gem's gem.json file
  11. # for the Tools and Builders gem variants
  12. o3de_add_variant_dependencies_for_gem_dependencies(GEM_NAME ${gem_name} VARIANTS Tools Builders)
  13. endif()