3
0

CMakeLists.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 CustomAssetExample ${PAL_TRAIT_MONOLITHIC_DRIVEN_MODULE_TYPE}
  10. NAMESPACE Gem
  11. FILES_CMAKE
  12. customassetexample_shared_files.cmake
  13. INCLUDE_DIRECTORIES
  14. PRIVATE
  15. Source
  16. BUILD_DEPENDENCIES
  17. PRIVATE
  18. AZ::AzCore
  19. )
  20. # clients and servers use the above module.
  21. ly_create_alias(NAME CustomAssetExample.Clients NAMESPACE Gem TARGETS CustomAssetExample)
  22. ly_create_alias(NAME CustomAssetExample.Servers NAMESPACE Gem TARGETS CustomAssetExample)
  23. ly_create_alias(NAME CustomAssetExample.Unified NAMESPACE Gem TARGETS CustomAssetExample)
  24. if(PAL_TRAIT_BUILD_HOST_TOOLS)
  25. ly_add_target(
  26. NAME CustomAssetExample.Editor GEM_MODULE
  27. NAMESPACE Gem
  28. FILES_CMAKE
  29. customassetexample_editor_files.cmake
  30. INCLUDE_DIRECTORIES
  31. PRIVATE
  32. Source
  33. BUILD_DEPENDENCIES
  34. PRIVATE
  35. AZ::AzCore
  36. AZ::AssetBuilderSDK
  37. )
  38. # other tools use the above tools module:
  39. ly_create_alias(NAME CustomAssetExample.Builders NAMESPACE Gem TARGETS CustomAssetExample.Editor)
  40. ly_create_alias(NAME CustomAssetExample.Tools NAMESPACE Gem TARGETS CustomAssetExample.Editor)
  41. endif()