CMakeLists.txt 1017 B

1234567891011121314151617181920212223242526272829303132
  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 LY_MONOLITHIC_GAME)
  9. o3de_pal_dir(pal_aztest_dir ${CMAKE_CURRENT_LIST_DIR}/AzTest/Platform/${PAL_PLATFORM_NAME} ${O3DE_ENGINE_RESTRICTED_PATH} ${LY_ROOT_FOLDER})
  10. ly_add_target(
  11. NAME AzTest STATIC
  12. NAMESPACE AZ
  13. FILES_CMAKE
  14. AzTest/aztest_files.cmake
  15. ${pal_aztest_dir}/platform_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake
  16. INCLUDE_DIRECTORIES
  17. PUBLIC
  18. .
  19. ${pal_aztest_dir}
  20. BUILD_DEPENDENCIES
  21. PUBLIC
  22. 3rdParty::googletest::GMock
  23. 3rdParty::googletest::GTest
  24. 3rdParty::GoogleBenchmark
  25. AZ::AzCore
  26. PLATFORM_INCLUDE_FILES
  27. ${pal_aztest_dir}/platform_${PAL_PLATFORM_NAME_LOWERCASE}.cmake
  28. )
  29. endif()