Adds functions so targets can define install directories/files

This commit is contained in:
Esteban Papp
2021-08-24 15:12:02 -07:00
committed by GitHub
21 changed files with 362 additions and 160 deletions
+22
View File
@@ -94,3 +94,25 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED AND PAL_TRAIT_BUILD_HOST_TOOLS)
endif()
################################################################################
# Install
################################################################################
ly_install_files(
FILES
launcher_generator.cmake
launcher_project_files.cmake
LauncherProject.cpp
StaticModules.in
DESTINATION LauncherGenerator
)
ly_install_directory(
DIRECTORIES
Platform/${PAL_PLATFORM_NAME}
Platform/Common
DESTINATION LauncherGenerator/Platform
)
ly_install_files(
FILES FindLauncherGenerator.cmake
DESTINATION cmake
)