CMakeLists.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. if(NOT PAL_TRAIT_BUILD_HOST_TOOLS)
  9. return()
  10. endif()
  11. if(PAL_HOST_PLATFORM_NAME_LOWERCASE STREQUAL "windows")
  12. ly_add_target(
  13. NAME DeltaCataloger EXECUTABLE
  14. NAMESPACE AZ
  15. FILES_CMAKE
  16. deltacataloger_files.cmake
  17. deltacataloger_win_files.cmake
  18. BUILD_DEPENDENCIES
  19. PRIVATE
  20. AZ::AzCore
  21. AZ::AzFramework
  22. AZ::AzToolsFramework
  23. )
  24. else()
  25. ly_add_target(
  26. NAME DeltaCataloger EXECUTABLE
  27. NAMESPACE AZ
  28. FILES_CMAKE
  29. deltacataloger_files.cmake
  30. BUILD_DEPENDENCIES
  31. PRIVATE
  32. AZ::AzCore
  33. AZ::AzFramework
  34. AZ::AzToolsFramework
  35. )
  36. endif()
  37. if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
  38. ly_add_target(
  39. NAME DeltaCataloger.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
  40. NAMESPACE AZ
  41. FILES_CMAKE
  42. deltacataloger_test_files.cmake
  43. BUILD_DEPENDENCIES
  44. PRIVATE
  45. AZ::AzCore
  46. AZ::AzFramework
  47. AZ::AzTest
  48. AZ::AzToolsFramework
  49. AZ::AzToolsFrameworkTestCommon
  50. )
  51. ly_add_googletest(
  52. NAME AZ::DeltaCataloger.Tests
  53. LABELS REQUIRES_tiaf
  54. )
  55. endif()