|
|
|
@ -6,7 +6,12 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT INSTALLED_ENGINE)
|
|
|
|
ly_set(LY_INSTALL_ENABLED TRUE)
|
|
|
|
|
|
|
|
if(INSTALLED_ENGINE)
|
|
|
|
|
|
|
|
ly_set(LY_INSTALL_ENABLED FALSE)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(LY_INSTALL_ENABLED)
|
|
|
|
ly_get_absolute_pal_filename(pal_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Platform/${PAL_PLATFORM_NAME})
|
|
|
|
ly_get_absolute_pal_filename(pal_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Platform/${PAL_PLATFORM_NAME})
|
|
|
|
include(${pal_dir}/Install_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
|
|
|
|
include(${pal_dir}/Install_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
@ -27,6 +32,10 @@ endif()
|
|
|
|
#
|
|
|
|
#
|
|
|
|
function(ly_install_directory)
|
|
|
|
function(ly_install_directory)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT LY_INSTALL_ENABLED)
|
|
|
|
|
|
|
|
return()
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
set(options VERBATIM)
|
|
|
|
set(options VERBATIM)
|
|
|
|
set(oneValueArgs DESTINATION)
|
|
|
|
set(oneValueArgs DESTINATION)
|
|
|
|
set(multiValueArgs DIRECTORIES EXCLUDE_PATTERNS)
|
|
|
|
set(multiValueArgs DIRECTORIES EXCLUDE_PATTERNS)
|
|
|
|
@ -91,6 +100,10 @@ endfunction()
|
|
|
|
#
|
|
|
|
#
|
|
|
|
function(ly_install_files)
|
|
|
|
function(ly_install_files)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT LY_INSTALL_ENABLED)
|
|
|
|
|
|
|
|
return()
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
set(options PROGRAMS)
|
|
|
|
set(options PROGRAMS)
|
|
|
|
set(oneValueArgs DESTINATION)
|
|
|
|
set(oneValueArgs DESTINATION)
|
|
|
|
set(multiValueArgs FILES)
|
|
|
|
set(multiValueArgs FILES)
|
|
|
|
|