CMakeLists.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. ly_add_target(
  9. NAME ${gem_name} ${PAL_TRAIT_MONOLITHIC_DRIVEN_MODULE_TYPE}
  10. NAMESPACE Gem
  11. FILES_CMAKE
  12. startingpointmovement_shared_files.cmake
  13. INCLUDE_DIRECTORIES
  14. PRIVATE
  15. Source
  16. BUILD_DEPENDENCIES
  17. PRIVATE
  18. AZ::AzCore
  19. AZ::AzFramework
  20. )
  21. # Inject the gem name into the Module source file
  22. ly_add_source_properties(
  23. SOURCES
  24. Source/StartingPointMovementGem.cpp
  25. PROPERTY COMPILE_DEFINITIONS
  26. VALUES
  27. O3DE_GEM_NAME=${gem_name}
  28. O3DE_GEM_VERSION=${gem_version})
  29. # the above module is for use in all application types (there is no tool specialization)
  30. ly_create_alias(NAME ${gem_name}.Servers NAMESPACE Gem TARGETS Gem::${gem_name})
  31. ly_create_alias(NAME ${gem_name}.Clients NAMESPACE Gem TARGETS Gem::${gem_name})
  32. ly_create_alias(NAME ${gem_name}.Unified NAMESPACE Gem TARGETS Gem::${gem_name})
  33. ly_create_alias(NAME ${gem_name}.Builders NAMESPACE Gem TARGETS Gem::${gem_name})
  34. ly_create_alias(NAME ${gem_name}.Tools NAMESPACE Gem TARGETS Gem::${gem_name})