CMakeLists.txt 655 B

12345678910111213141516171819202122232425
  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. add_subdirectory(NumericalMethods)
  9. set(LY_PHYSX_ENABLE_RUNNING_BENCHMARKS OFF CACHE BOOL "Adds a target to allow running of the physx benchmarks.")
  10. if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
  11. ly_add_target(
  12. NAME PhysX.Mocks HEADERONLY
  13. NAMESPACE Gem
  14. OUTPUT_NAME PhysX.Mocks.Gem
  15. FILES_CMAKE
  16. physx_mocks_files.cmake
  17. INCLUDE_DIRECTORIES
  18. INTERFACE
  19. Mocks
  20. )
  21. endif()