Adds functions so targets can define install directories/files
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
#
|
||||
#
|
||||
|
||||
add_subdirectory(detect_file_changes)
|
||||
add_subdirectory(commit_validation)
|
||||
add_subdirectory(o3de)
|
||||
add_subdirectory(ctest)
|
||||
if(PAL_TRAIT_BUILD_HOST_TOOLS)
|
||||
add_subdirectory(bundler)
|
||||
add_subdirectory(commit_validation)
|
||||
add_subdirectory(ctest)
|
||||
add_subdirectory(detect_file_changes)
|
||||
add_subdirectory(o3de)
|
||||
endif()
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
|
||||
ly_install_directory(DIRECTORIES .
|
||||
EXCLUDE_PATTERNS tests
|
||||
)
|
||||
@@ -7,3 +7,23 @@
|
||||
#
|
||||
|
||||
add_subdirectory(tests)
|
||||
|
||||
ly_get_list_relative_pal_filename(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME})
|
||||
include(${pal_dir}/o3de_install_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
|
||||
|
||||
ly_install_files(FILES ../o3de.py
|
||||
DESTINATION scripts
|
||||
)
|
||||
|
||||
ly_install_files(FILES setup.py PROGRAMS
|
||||
DESTINATION scripts/o3de
|
||||
)
|
||||
ly_install_files(FILES README.txt
|
||||
DESTINATION scripts/o3de
|
||||
)
|
||||
|
||||
ly_install_directory(DIRECTORIES .
|
||||
EXCLUDE_PATTERNS
|
||||
tests
|
||||
Platform
|
||||
)
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
|
||||
ly_install_files(FILES ../o3de.sh PROGRAMS
|
||||
DESTINATION scripts
|
||||
)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
|
||||
ly_install_files(FILES ../o3de.sh PROGRAMS
|
||||
DESTINATION scripts
|
||||
)
|
||||
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
#
|
||||
#
|
||||
|
||||
ly_install_files(FILES ../o3de.bat PROGRAMS
|
||||
DESTINATION scripts
|
||||
)
|
||||
Reference in New Issue
Block a user