[cpack_installer] initial CPack IFW support

This commit is contained in:
scottr
2021-04-16 10:18:36 -07:00
parent 2c7b552202
commit 23c9f7ab78
3 changed files with 39 additions and 2 deletions
+5 -2
View File
@@ -125,7 +125,10 @@ endif()
include(cmake/RuntimeDependencies.cmake)
# 5. Perform test impact framework post steps once all of the targets have been enumerated
ly_test_impact_post_step()
# 6. Generate the O3DE find file and setup install locations for scripts, tools, assets etc., required by the engine
# 6. Generate the O3DE find file and setup install locations for scripts, tools, assets etc., required by the engine
if(NOT INSTALLED_ENGINE)
ly_setup_o3de_install()
endif()
endif()
# IMPORTANT: must be included last
include(cmake/CPack.cmake)
+33
View File
@@ -0,0 +1,33 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(CPACK_GENERATOR "IFW")
set(CPACK_PACKAGE_VENDOR "O3DE")
set(CPACK_PACKAGE_VERSION "1.0.0")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Installation Tool")
set(CPACK_PACKAGE_FILE_NAME "o3de_installer")
set(DEFAULT_LICENSE_NAME "Apache 2.0")
set(DEFAULT_LICENSE_FILE ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt)
set(CPACK_RESOURCE_FILE_LICENSE ${DEFAULT_LICENSE_FILE})
set(CPACK_IFW_PACKAGE_TITLE "O3DE Installer")
set(CPACK_IFW_PACKAGE_PUBLISHER "O3DE")
set(CPACK_IFW_TARGET_DIRECTORY "@ApplicationsDir@/O3DE/${LY_VERSION_STRING}")
set(CPACK_IFW_PACKAGE_START_MENU_DIRECTORY "O3DE")
# IMPORTANT: required to be included AFTER setting all property overrides
include(CPack REQUIRED)
include(CPackIFW REQUIRED)
+1
View File
@@ -14,6 +14,7 @@ set(FILES
3rdPartyPackages.cmake
CommandExecution.cmake
Configurations.cmake
CPack.cmake
Dependencies.cmake
Deployment.cmake
EngineFinder.cmake