CMakeLists.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_TEST_GOOGLE_TEST_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. if(NOT PAL_TRAIT_BUILD_TESTS_SUPPORTED)
  31. return()
  32. endif()
  33. ly_add_target(
  34. NAME AzManipulatorTestFramework.Tests ${PAL_TRAIT_TEST_TARGET_TYPE}
  35. NAMESPACE AZ
  36. FILES_CMAKE
  37. azmanipulatortestframework_tests_files.cmake
  38. INCLUDE_DIRECTORIES
  39. PRIVATE
  40. Tests
  41. BUILD_DEPENDENCIES
  42. PRIVATE
  43. AZ::AzManipulatorTestFramework.Static
  44. )
  45. ly_add_googletest(
  46. NAME AZ::AzManipulatorTestFramework.Tests
  47. )