CMakeLists.txt 656 B

1234567891011121314151617181920212223
  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(LY_MONOLITHIC_GAME)
  9. return()
  10. endif()
  11. ly_install_directory(DIRECTORIES .)
  12. foreach(conf IN LISTS CMAKE_CONFIGURATION_TYPES)
  13. string(TOUPPER ${conf} UCONF)
  14. string(REPLACE "$<CONFIG>" "${conf}" output ${runtime_output_directory})
  15. ly_install_directory(DIRECTORIES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${conf}/Registry
  16. DESTINATION ${output}
  17. COMPONENT ${LY_INSTALL_PERMUTATION_COMPONENT}_${UCONF}
  18. )
  19. endforeach()