LYWrappers_default.cmake 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. function(ly_apply_platform_properties target)
  9. # Noop
  10. endfunction()
  11. function(ly_handle_custom_output_directory target output_subdirectory)
  12. if(output_subdirectory)
  13. set_target_properties(${target} PROPERTIES
  14. RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${output_subdirectory}
  15. LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${output_subdirectory}
  16. )
  17. foreach(conf ${CMAKE_CONFIGURATION_TYPES})
  18. string(TOUPPER ${conf} UCONF)
  19. set_target_properties(${target} PROPERTIES
  20. RUNTIME_OUTPUT_DIRECTORY_${UCONF} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_${UCONF}}/${output_subdirectory}
  21. LIBRARY_OUTPUT_DIRECTORY_${UCONF} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY_${UCONF}}/${output_subdirectory}
  22. )
  23. endforeach()
  24. endif()
  25. endfunction()
  26. function(ly_apply_debug_strip_options target)
  27. #Noop
  28. endfunction()