CMakeLists.txt 682 B

123456789101112131415161718192021222324252627282930
  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. # common files to all platforms
  12. ly_install_files(
  13. FILES
  14. get_python.cmake
  15. get_python_package_hash.cmake
  16. readme.md
  17. requirements.txt
  18. DESTINATION python
  19. )
  20. # platform specific files (they are PROGRAMS)
  21. include(Platform/${PAL_PLATFORM_NAME}/install_files_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
  22. ly_install_files(
  23. FILES ${install_files}
  24. PROGRAMS
  25. DESTINATION python
  26. )