CMakeLists.txt 644 B

1234567891011121314151617181920212223242526272829
  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. readme.md
  16. requirements.txt
  17. DESTINATION python
  18. )
  19. # platform specific files (they are PROGRAMS)
  20. include(Platform/${PAL_PLATFORM_NAME}/install_files_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
  21. ly_install_files(
  22. FILES ${install_files}
  23. PROGRAMS
  24. DESTINATION python
  25. )