CMakeLists.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_TESTS_SUPPORTED OR NOT PAL_TRAIT_BUILD_HOST_TOOLS)
  9. return()
  10. endif()
  11. ly_add_target(
  12. NAME AzManipulatorTestFramework.Static STATIC
  13. NAMESPACE AZ
  14. FILES_CMAKE
  15. azmanipulatortestframework_files.cmake
  16. INCLUDE_DIRECTORIES
  17. PRIVATE
  18. Source
  19. PUBLIC
  20. Include
  21. BUILD_DEPENDENCIES
  22. PUBLIC
  23. AZ::AzTest
  24. AZ::AzToolsFramework
  25. AZ::AzToolsFrameworkTestCommon
  26. AZ::AzTestShared
  27. AZ::AzCore
  28. AZ::AzFramework
  29. )
  30. ly_add_target(
  31. NAME AzManipulatorTestFramework.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
  32. NAMESPACE AZ
  33. FILES_CMAKE
  34. azmanipulatortestframework_tests_files.cmake
  35. INCLUDE_DIRECTORIES
  36. PRIVATE
  37. Tests
  38. BUILD_DEPENDENCIES
  39. PRIVATE
  40. AZ::AzManipulatorTestFramework.Static
  41. )
  42. ly_add_googletest(
  43. NAME AZ::AzManipulatorTestFramework.Tests
  44. )