Initial commit

This commit is contained in:
alexpete
2021-03-05 11:26:34 -08:00
commit a10351f38d
27091 changed files with 5521199 additions and 0 deletions
+308
View File
@@ -0,0 +1,308 @@
#
# 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.
#
# Do not overcomplicate searching for the 3rdParty path, if it is not easy to find,
# the user should define it.
set(LY_3RDPARTY_PATH "" CACHE PATH "Path to the 3rdParty folder")
if(LY_3RDPARTY_PATH)
file(TO_CMAKE_PATH ${LY_3RDPARTY_PATH} LY_3RDPARTY_PATH)
endif()
if(NOT EXISTS ${LY_3RDPARTY_PATH}/3rdParty.txt)
message(FATAL_ERROR "3rdParty.txt not found in ${LY_3RDPARTY_PATH}, call cmake defining a valid LY_3RDPARTY_PATH or use cmake-gui to configure it")
endif()
include(CMakeParseArguments)
#! ly_add_external_target_path: adds a path to module path so 3rdparty Find files can be added from paths different than cmake/3rdParty
#
# \arg:PATH path to add
#
function(ly_add_external_target_path PATH)
list(APPEND CMAKE_MODULE_PATH ${PATH})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} PARENT_SCOPE)
set_property(GLOBAL APPEND PROPERTY LY_ADDITIONAL_MODULE_PATH ${PATH})
endfunction()
#! ly_add_external_target: adds a library interface that exposes external libraries to be used as cmake dependencies.
#
# \arg:NAME name of the external library
# \arg:VERSION version of the external library. Location will be defined by 3rdPartyPath/NAME/VERSION
# \arg:3RDPARTY_DIRECTORY overrides the path to use when searching in the 3rdPartyPath (instead of NAME).
# If not indicated, PACKAGE will be used, if not indicated, NAME will be used.
# \arg:3RDPARTY_ROOT_DIRECTORY overrides the root path to the external library directory. This will be used instead of ${LY_3RDPARTY_PATH}.
# \arg:INCLUDE_DIRECTORIES include folders (relative to the root path where the external library is: ${LY_3RDPARTY_PATH}/${NAME}/${VERSION})
# \arg:PACKAGE if defined, defines the name of the external library "package". This is used when a package exposes multiple interfaces
# if not defined, NAME is used
# \arg:COMPILE_DEFINITIONS compile definitions to be added to the interface
# \arg:BUILD_DEPENDENCIES list of interfaces this target depends on (could be a compilation dependency if the dependency is only
# exposing an include path, or could be a linking dependency is exposing a lib)
# \arg:RUNTIME_DEPENDENCIES list of files this target depends on (could be a dynamic libraries, text files, executables,
# applications, other 3rdParty targets, etc)
# \arg:OUTPUT_SUBDIRECTORY Subdirectory within bin/<Profile/Debug>/ where the ${PACKAGE_AND_NAME}_RUNTIME_DEPENDENCIES exported by the target will be copied to.
# If not specified, then the ${PACKAGE_AND_NAME}_RUNTIME_DEPENDENCIES will be copied directly under bin/<Profile/Debug>/.
# Each file listed in runtime dependencies can also customize its own output subfolder
# by adding "\n<subfolder path>" at the end of each listed file. OUTPUT_SUBDIRECTORY only works
# if such customized subfolder per file is NOT specified.
# Examples:
# 1- If there are 5 files listed in ${PACKAGE_AND_NAME}_RUNTIME_DEPENDENCIES, and all of them
# should be copied to the same output subfolder named "My/Output/Subfolder" then it is advisable
# to set OUTPUT_SUBDIRECTORY to "My/Output/Subfolder" instead of appending: "\nMy/Output/Subfolder"
# at the end of each listed file.
# 2- Assume there are 2 files listed in ${PACKAGE_AND_NAME}_RUNTIME_DEPENDENCIES, "fileA" must go to
# subdirectory "My/Output/Subfolder/lib" and "fileB" must go to subdirectory "My/Output/Subfolder/bin".
# In this case OUTPUT_SUBDIRECTORY should NOT be used, instead the files can be listed as:
# "fileA\nMy/Output/Subfolder/lib"
# "fileB\nMy/Output/Subfolder/bin"
#
function(ly_add_external_target)
set(options)
set(oneValueArgs NAME VERSION 3RDPARTY_DIRECTORY PACKAGE 3RDPARTY_ROOT_DIRECTORY OUTPUT_SUBDIRECTORY)
set(multiValueArgs HEADER_CHECK COMPILE_DEFINITIONS INCLUDE_DIRECTORIES BUILD_DEPENDENCIES RUNTIME_DEPENDENCIES)
cmake_parse_arguments(ly_add_external_target "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
# Validate input arguments
if(NOT ly_add_external_target_NAME)
message(FATAL_ERROR "You must provide a name for the 3rd party library")
endif()
if(NOT ly_add_external_target_PACKAGE)
set(ly_add_external_target_PACKAGE ${ly_add_external_target_NAME})
set(PACKAGE_AND_NAME "${ly_add_external_target_NAME}")
set(NAME_WITH_NAMESPACE "${ly_add_external_target_NAME}")
set(has_package FALSE)
else()
set(PACKAGE_AND_NAME "${ly_add_external_target_PACKAGE}_${ly_add_external_target_NAME}")
set(NAME_WITH_NAMESPACE "${ly_add_external_target_PACKAGE}::${ly_add_external_target_NAME}")
set(has_package TRUE)
endif()
string(TOUPPER ${PACKAGE_AND_NAME} PACKAGE_AND_NAME)
string(TOUPPER ${ly_add_external_target_PACKAGE} PACKAGE)
if(NOT TARGET 3rdParty::${NAME_WITH_NAMESPACE})
if(NOT DEFINED ly_add_external_target_VERSION AND NOT VERSION IN_LIST ly_add_external_target_KEYWORDS_MISSING_VALUES)
message(FATAL_ERROR "You must provide a version of the \"${ly_add_external_target_PACKAGE}\" 3rd party library")
endif()
if(NOT ly_add_external_target_3RDPARTY_ROOT_DIRECTORY)
if(NOT ly_add_external_target_3RDPARTY_DIRECTORY)
if(ly_add_external_target_PACKAGE)
set(ly_add_external_target_3RDPARTY_DIRECTORY ${ly_add_external_target_PACKAGE})
else()
set(ly_add_external_target_3RDPARTY_DIRECTORY ${ly_add_external_target_NAME})
endif()
endif()
set(BASE_PATH "${LY_3RDPARTY_PATH}/${ly_add_external_target_3RDPARTY_DIRECTORY}")
else()
set(BASE_PATH "${ly_add_external_target_3RDPARTY_ROOT_DIRECTORY}")
endif()
if(ly_add_external_target_VERSION)
set(BASE_PATH "${BASE_PATH}/${ly_add_external_target_VERSION}")
endif()
# Setting BASE_PATH variable in the parent scope to allow for the Find<3rdParty>.cmake scripts to use them
set(BASE_PATH ${BASE_PATH} PARENT_SCOPE)
if(NOT EXISTS ${BASE_PATH})
message(FATAL_ERROR "Cannot find 3rdParty library ${ly_add_external_target_NAME} on path ${BASE_PATH}")
endif()
add_library(3rdParty::${NAME_WITH_NAMESPACE} INTERFACE IMPORTED GLOBAL)
if(ly_add_external_target_INCLUDE_DIRECTORIES)
list(TRANSFORM ly_add_external_target_INCLUDE_DIRECTORIES PREPEND ${BASE_PATH}/)
foreach(include_path ${ly_add_external_target_INCLUDE_DIRECTORIES})
if(NOT EXISTS ${include_path})
message(FATAL_ERROR "Cannot find include path ${include_path} for 3rdParty::${NAME_WITH_NAMESPACE}")
endif()
endforeach()
ly_target_include_system_directories(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
INTERFACE ${ly_add_external_target_INCLUDE_DIRECTORIES}
)
endif()
# Check if there is a pal file
ly_get_absolute_pal_filename(pal_file ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME}/${ly_add_external_target_PACKAGE}_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
if(NOT EXISTS ${pal_file})
set(pal_file ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME}/${ly_add_external_target_PACKAGE}_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
endif()
if(EXISTS ${pal_file})
include(${pal_file})
endif()
if(${PACKAGE_AND_NAME}_INCLUDE_DIRECTORIES)
list(TRANSFORM ${PACKAGE_AND_NAME}_INCLUDE_DIRECTORIES PREPEND ${BASE_PATH}/)
foreach(include_path ${${PACKAGE_AND_NAME}_INCLUDE_DIRECTORIES})
string(GENEX_STRIP ${include_path} include_genex_expr)
if(include_genex_expr STREQUAL include_path AND NOT EXISTS ${include_path}) # Exclude include paths that have generation expressions from validation
message(FATAL_ERROR "Cannot find include path ${include_path} for 3rdParty::${NAME_WITH_NAMESPACE}")
endif()
endforeach()
ly_target_include_system_directories(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
INTERFACE ${${PACKAGE_AND_NAME}_INCLUDE_DIRECTORIES}
)
endif()
if(has_package AND ${PACKAGE}_LIBS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_LINK_LIBRARIES "${${PACKAGE}_LIBS}"
)
endif()
if(${PACKAGE_AND_NAME}_LIBS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_LINK_LIBRARIES "${${PACKAGE_AND_NAME}_LIBS}"
)
endif()
if(has_package AND ${PACKAGE}_LINK_OPTIONS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_LINK_OPTIONS "${${PACKAGE}_LINK_OPTIONS}"
)
endif()
if(${PACKAGE_AND_NAME}_LINK_OPTIONS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_LINK_OPTIONS "${${PACKAGE_AND_NAME}_LINK_OPTIONS}"
)
endif()
if(has_package AND ${PACKAGE}_COMPILE_OPTIONS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_COMPILE_OPTIONS "${${PACKAGE}_COMPILE_OPTIONS}"
)
endif()
if(${PACKAGE_AND_NAME}_COMPILE_OPTIONS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_COMPILE_OPTIONS "${${PACKAGE_AND_NAME}_COMPILE_OPTIONS}"
)
endif()
unset(all_dependencies)
if(ly_add_external_target_RUNTIME_DEPENDENCIES)
list(APPEND all_dependencies ${ly_add_external_target_RUNTIME_DEPENDENCIES})
endif()
if(has_package AND ${PACKAGE}_RUNTIME_DEPENDENCIES)
list(APPEND all_dependencies ${${PACKAGE}_RUNTIME_DEPENDENCIES})
endif()
if(${PACKAGE_AND_NAME}_RUNTIME_DEPENDENCIES)
list(APPEND all_dependencies ${${PACKAGE_AND_NAME}_RUNTIME_DEPENDENCIES})
endif()
unset(locations)
unset(manual_dependencies)
if(all_dependencies)
foreach(dependency ${all_dependencies})
if(dependency MATCHES "3rdParty::")
list(APPEND manual_dependencies ${dependency})
else()
if(ly_add_external_target_OUTPUT_SUBDIRECTORY)
string(APPEND dependency "\n${ly_add_external_target_OUTPUT_SUBDIRECTORY}")
endif()
list(APPEND locations ${dependency})
endif()
endforeach()
endif()
if(locations)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_IMPORTED_LOCATION "${locations}"
)
endif()
if(manual_dependencies)
ly_add_dependencies(3rdParty::${NAME_WITH_NAMESPACE} ${manual_dependencies})
endif()
get_property(additional_dependencies GLOBAL PROPERTY LY_DELAYED_DEPENDENCIES_3rdParty::${NAME_WITH_NAMESPACE})
if(additional_dependencies)
ly_add_dependencies(3rdParty::${NAME_WITH_NAMESPACE} ${additional_dependencies})
# Clear the variable so we can track issues in case some dependency is added after
set_property(GLOBAL PROPERTY LY_DELAYED_DEPENDENCIES_3rdParty::${NAME_WITH_NAMESPACE})
endif()
if(ly_add_external_target_COMPILE_DEFINITIONS)
target_compile_definitions(3rdParty::${NAME_WITH_NAMESPACE}
INTERFACE ${ly_add_external_target_COMPILE_DEFINITIONS}
)
endif()
if(has_package AND ${PACKAGE}_COMPILE_DEFINITIONS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_COMPILE_DEFINITIONS "${${PACKAGE}_COMPILE_DEFINITIONS}"
)
endif()
if(${PACKAGE_AND_NAME}_COMPILE_DEFINITIONS)
set_property(TARGET 3rdParty::${NAME_WITH_NAMESPACE}
APPEND PROPERTY
INTERFACE_COMPILE_DEFINITIONS "${${PACKAGE_AND_NAME}_COMPILE_DEFINITIONS}"
)
endif()
if(has_package AND ${PACKAGE}_BUILD_DEPENDENCIES)
list(APPEND ly_add_external_target_BUILD_DEPENDENCIES "${${PACKAGE}_BUILD_DEPENDENCIES}")
list(REMOVE_DUPLICATES ly_add_external_target_BUILD_DEPENDENCIES)
endif()
if(${PACKAGE_AND_NAME}_BUILD_DEPENDENCIES)
list(APPEND ly_add_external_target_BUILD_DEPENDENCIES "${${PACKAGE_AND_NAME}_BUILD_DEPENDENCIES}")
list(REMOVE_DUPLICATES ly_add_external_target_BUILD_DEPENDENCIES)
endif()
# Interface dependencies may require to find_packages. So far, we are just using packages for 3rdParty, so we will
# search for those and automatically bring those packages. The naming convention used is 3rdParty::PackageName::OptionalInterface
foreach(dependency ${ly_add_external_target_BUILD_DEPENDENCIES})
string(REPLACE "::" ";" dependency_list ${dependency})
list(GET dependency_list 0 dependency_namespace)
if(${dependency_namespace} STREQUAL "3rdParty")
list(GET dependency_list 1 dependency_package)
ly_download_associated_package(${dependency_package})
find_package(${dependency_package} REQUIRED MODULE)
endif()
endforeach()
if(ly_add_external_target_BUILD_DEPENDENCIES)
target_link_libraries(3rdParty::${NAME_WITH_NAMESPACE}
INTERFACE
${ly_add_external_target_BUILD_DEPENDENCIES}
)
endif()
endif()
endfunction()
# Add the 3rdParty folder to find the modules
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/3rdParty)
ly_get_absolute_pal_filename(pal_dir ${CMAKE_CURRENT_LIST_DIR}/3rdParty/Platform/${PAL_PLATFORM_NAME})
list(APPEND CMAKE_MODULE_PATH ${pal_dir})
ly_include_cmake_file_list(cmake/3rdParty/cmake_files.cmake)
ly_get_absolute_pal_filename(pal_3rdparty_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake/3rdParty/Platform/${PAL_PLATFORM_NAME})
ly_include_cmake_file_list(${pal_3rdparty_dir}/cmake_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake)
# we must include this here to bring the package system up before we actually start calling
# find_package. Otherwise the find_package may not actually find the packages it needs
include(cmake/3rdPartyPackages.cmake)
if(PAL_TRAIT_BUILD_HOST_TOOLS)
# Importing this globally to handle AUTOMOC, AUTOUIC, AUTORCC
find_package(Qt REQUIRED MODULE)
endif()
+24
View File
@@ -0,0 +1,24 @@
#
# 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.
#
# this file allows you to specify download and find_package commands for
# packages which apply to all platforms (usually header-only)
# individual platforms can enumerate packages in for example
# cmake/3rdParty/Platform/Windows/BuiltInPackages_windows.cmake
#include the platform-specific 3rd party packages.
ly_get_list_relative_pal_filename(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME})
set(LY_PAL_PACKAGE_FILE_NAME ${CMAKE_CURRENT_LIST_DIR}/${pal_dir}/BuiltInPackages_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
include(${LY_PAL_PACKAGE_FILE_NAME})
# add the above file to the ALLFILES list, so that they show up in IDEs
set(ALLFILES ${ALLFILES} ${LY_PAL_PACKAGE_FILE_NAME})
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME AMD
VERSION 2.2
3RDPARTY_DIRECTORY "AMD/AGS Lib"
INCLUDE_DIRECTORIES inc
)
+20
View File
@@ -0,0 +1,20 @@
#
# 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.
#
ly_add_external_target(
NAME AWSGameLiftServerSDK
VERSION 3.4.0
3RDPARTY_DIRECTORY AWS/GameLift
INCLUDE_DIRECTORIES include
COMPILE_DEFINITIONS
AWS_CUSTOM_MEMORY_MANAGEMENT
PLATFORM_SUPPORTS_AWS_NATIVE_SDK
GAMELIFT_USE_STD
)
+100
View File
@@ -0,0 +1,100 @@
#
# 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(AWSNATIVESDK_PACKAGE_NAME AWSNativeSDK)
set(AWSNATIVESDK_3RDPARTY_DIRECTORY AWS/AWSNativeSDK)
set(AWSNATIVESDK_PACKAGE_VERSION 1.7.167-az.2)
set(AWSNATIVESDK_COMPILEDEFINITIONS AWS_CUSTOM_MEMORY_MANAGEMENT PLATFORM_SUPPORTS_AWS_NATIVE_SDK)
set(AWSNATIVESDK_MODULES
Common
Core
EventStream
Checksums
AcessManagement
CognitoIdentity
CognitoIdp
DeviceFarm
DynamoDB
GameLift
IdentityManagement
Kinesis
Lambda
MobileAnalytics
Queues
S3
SNS
SQS
STS
Transfer
)
foreach(awsmodule ${AWSNATIVESDK_MODULES})
ly_add_external_target(
NAME ${awsmodule}
PACKAGE ${AWSNATIVESDK_PACKAGE_NAME}
VERSION ${AWSNATIVESDK_PACKAGE_VERSION}
3RDPARTY_DIRECTORY ${AWSNATIVESDK_3RDPARTY_DIRECTORY}
INCLUDE_DIRECTORIES include
COMPILE_DEFINITIONS ${AWSNATIVESDK_COMPILEDEFINITIONS}
)
endforeach()
# Then we have some groupings by functionality. We define a function here to make this easier to define
include(CMakeParseArguments)
function(ly_aws_addgroup)
cmake_parse_arguments(ly_aws_add "" "NAME" "BUILD_DEPENDENCIES" ${ARGN})
ly_add_external_target(
NAME ${ly_aws_add_NAME}
PACKAGE ${AWSNATIVESDK_PACKAGE_NAME}
VERSION ${AWSNATIVESDK_PACKAGE_VERSION}
3RDPARTY_DIRECTORY ${AWSNATIVESDK_3RDPARTY_DIRECTORY}
INCLUDE_DIRECTORIES include
COMPILE_DEFINITIONS ${AWSNATIVESDK_COMPILEDEFINITIONS}
BUILD_DEPENDENCIES ${ly_aws_add_BUILD_DEPENDENCIES}
)
endfunction()
# And here we define the groupings
ly_aws_addgroup(NAME Dependencies
BUILD_DEPENDENCIES
3rdParty::AWSNativeSDK::Checksums
3rdParty::AWSNativeSDK::Common
3rdParty::AWSNativeSDK::EventStream
)
ly_aws_addgroup(NAME IdentityMetrics
BUILD_DEPENDENCIES
3rdParty::AWSNativeSDK::Dependencies
3rdParty::AWSNativeSDK::CognitoIdentity
3rdParty::AWSNativeSDK::CognitoIdp
3rdParty::AWSNativeSDK::Core
3rdParty::AWSNativeSDK::IdentityManagement
3rdParty::AWSNativeSDK::STS
3rdParty::AWSNativeSDK::MobileAnalytics
)
ly_aws_addgroup(NAME IdentityLambda
BUILD_DEPENDENCIES
3rdParty::AWSNativeSDK::Dependencies
3rdParty::AWSNativeSDK::CognitoIdentity
3rdParty::AWSNativeSDK::CognitoIdp
3rdParty::AWSNativeSDK::Core
3rdParty::AWSNativeSDK::IdentityManagement
3rdParty::AWSNativeSDK::Lambda
3rdParty::AWSNativeSDK::STS
)
ly_aws_addgroup(NAME GameLiftClient
BUILD_DEPENDENCIES
3rdParty::AWSNativeSDK::Core
3rdParty::AWSNativeSDK::GameLift
3rdParty::AWSNativeSDK::Dependencies
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME AssImp
VERSION 5.0.1
3RDPARTY_DIRECTORY "AssImp"
INCLUDE_DIRECTORIES include
)
+29
View File
@@ -0,0 +1,29 @@
#
# 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.
#
ly_add_external_target(
NAME Blast
VERSION 1.1.6-az.1
INCLUDE_DIRECTORIES
sdk/common
sdk/extensions/assetutils/include
sdk/extensions/authoring/include
sdk/extensions/exporter/include
sdk/extensions/physx/include
sdk/extensions/serialization/include
sdk/extensions/shaders/include
sdk/extensions/stress/include
sdk/globals/include
sdk/lowlevel/include
sdk/toolkit/include
COMPILE_DEFINITIONS
$<$<BOOL:${LY_MONOLITHIC_GAME}>:BLAST_STATIC_LIB>
)
+15
View File
@@ -0,0 +1,15 @@
#
# 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.
#
ly_add_external_target(
NAME Clang
VERSION 6.0.1-az
)
+30
View File
@@ -0,0 +1,30 @@
#
# 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.
#
ly_add_external_target(
NAME Crashpad
VERSION ""
3RDPARTY_ROOT_DIRECTORY ${LY_ROOT_FOLDER}/Tools/Crashpad
INCLUDE_DIRECTORIES
include
include/third_party/mini_chromium/mini_chromium/
)
ly_add_external_target(
NAME Handler
PACKAGE Crashpad
VERSION ""
3RDPARTY_ROOT_DIRECTORY ${LY_ROOT_FOLDER}/Tools/Crashpad
INCLUDE_DIRECTORIES
include
include/third_party/mini_chromium/mini_chromium
include/third_party/getopt
)
+42
View File
@@ -0,0 +1,42 @@
#
# 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.
#
ly_add_external_target(
NAME dxcGL
PACKAGE DirectXShaderCompiler
VERSION 1.0.1-az.1
)
ly_add_external_target(
NAME dxcMetal
PACKAGE DirectXShaderCompiler
VERSION 1.0.1-az.1
)
# In this case, dxc, the target uses OUTPUT_SUBDIRECTORY, because all the RUNTIME_DEPENDENCIES will be
# copied to the same output subfolder
ly_add_external_target(
NAME dxc
PACKAGE DirectXShaderCompiler
VERSION 2020.08.07
OUTPUT_SUBDIRECTORY
Builders/DirectXShaderCompiler
)
# For dxcAz, OUTPUT_SUBDIRECTORY is NOT used, because the RUNTIME_DEPENDENCIES will be copied to
# two different directories.
ly_add_external_target(
NAME dxcAz
PACKAGE DirectXShaderCompiler
VERSION 5.0.0-az
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME FbxSdk
VERSION 2016.1.2-az.1
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME FreeType2
VERSION 2.5.0.1-pkg.3
INCLUDE_DIRECTORIES dist/include
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME GLAD
3RDPARTY_DIRECTORY glad
VERSION 2.0.0-beta
INCLUDE_DIRECTORIES include
)
+18
View File
@@ -0,0 +1,18 @@
#
# 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.
#
ly_add_external_target(
NAME GoogleBenchmark
3RDPARTY_DIRECTORY benchmark
VERSION 1.5.0
INCLUDE_DIRECTORIES include
COMPILE_DEFINITIONS HAVE_BENCHMARK
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME LZSS
VERSION unknown-pkg.3
INCLUDE_DIRECTORIES .
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME LibTomCrypt
VERSION 1.17-az.2
INCLUDE_DIRECTORIES src/headers
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME LibTomMath
VERSION 0.42.0-az.2
INCLUDE_DIRECTORIES .
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME Lzma
VERSION unknown-pkg.3
INCLUDE_DIRECTORIES .
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME OpenSSL
VERSION 1.1.1b-noasm-az
INCLUDE_DIRECTORIES include
COMPILE_DEFINITIONS OPENSSL_ENABLED
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME PVRTexTool
VERSION 2016_r1.1
INCLUDE_DIRECTORIES Include
)
+22
View File
@@ -0,0 +1,22 @@
#
# 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.
#
ly_add_external_target(
NAME PhysX
VERSION 4.1.0.25992954-az.1
INCLUDE_DIRECTORIES
physx/include
physx/include/geometry
pxshared/include
pxshared/include/foundation
COMPILE_DEFINITIONS
$<$<BOOL:${LY_MONOLITHIC_GAME}>:PX_PHYSX_STATIC_LIB>
)
+173
View File
@@ -0,0 +1,173 @@
#
# 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.
#
if(TARGET 3rdParty::Qt::Core) # Check we are not called multiple times
return()
endif()
set(QT_PACKAGE_NAME Qt)
set(QT_PACKAGE_VERSION 5.15.1.2-az)
set(BASE_PATH "${LY_3RDPARTY_PATH}/${QT_PACKAGE_NAME}/${QT_PACKAGE_VERSION}")
if(NOT EXISTS ${BASE_PATH})
message(FATAL_ERROR "Cannot find 3rdParty library ${QT_PACKAGE_NAME} on path ${BASE_PATH}")
endif()
set(QT5_COMPONENTS
Core
Concurrent
Gui
LinguistTools
Network
OpenGL
Svg
Test
WebEngineWidgets
Widgets
Xml
)
include(${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME}/Qt_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
list(APPEND CMAKE_PREFIX_PATH ${QT_LIB_PATH}/cmake/Qt5)
# Clear the cache for found DIRs
unset(Qt5_DIR CACHE)
foreach(component ${QT5_COMPONENTS})
unset(Qt5${component}_DIR CACHE)
endforeach()
unset(Qt5Positioning_DIR CACHE)
unset(Qt5PrintSupport_DIR CACHE)
unset(Qt5WebChannel_DIR CACHE)
unset(Qt5WebEngineCore_DIR CACHE)
# Populate the Qt5 configurations
find_package(Qt5
COMPONENTS ${QT5_COMPONENTS}
REQUIRED
NO_CMAKE_PACKAGE_REGISTRY
)
mark_as_advanced(Qt5_DIR) # Hiding from GUI
mark_as_advanced(Qt5LinguistTools_DIR) # Hiding from GUI, this variable comes from the LinguistTools module
# Now create libraries that wrap the dependency so we can refer to them in our format
foreach(component ${QT5_COMPONENTS})
if(TARGET Qt5::${component})
get_target_property(system_includes Qt5::${component} INTERFACE_INCLUDE_DIRECTORIES)
set_target_properties(Qt5::${component} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "") # Clear it in case someone refers to it
ly_target_include_system_directories(TARGET Qt5::${component}
INTERFACE "${system_includes}"
)
add_library(3rdParty::Qt::${component} INTERFACE IMPORTED)
set_target_properties(3rdParty::Qt::${component} PROPERTIES
INTERFACE_LINK_LIBRARIES Qt5::${component}
INTERFACE_COMPILE_DEFINITIONS QT_NO_EXCEPTIONS
)
mark_as_advanced(Qt5${component}_DIR) # Hiding from GUI
endif()
endforeach()
# Some extra DIR variables we want to hide from GUI
mark_as_advanced(Qt5Positioning_DIR)
mark_as_advanced(Qt5PrintSupport_DIR)
mark_as_advanced(Qt5WebChannel_DIR)
mark_as_advanced(Qt5WebEngineCore_DIR)
# Special case for Qt::Gui, we are using the private headers...
ly_target_include_system_directories(TARGET 3rdParty::Qt::Gui
INTERFACE "${Qt5Gui_PRIVATE_INCLUDE_DIRS}"
)
# Another special case: Qt:Widgets, we are also using private headers
ly_target_include_system_directories(TARGET 3rdParty::Qt::Widgets
INTERFACE "${Qt5Widgets_PRIVATE_INCLUDE_DIRS}"
)
# UIC executable
unset(QT_UIC_EXECUTABLE CACHE)
find_program(QT_UIC_EXECUTABLE uic HINTS "${QT_PATH}/bin")
mark_as_advanced(QT_UIC_EXECUTABLE) # Hiding from GUI
#! ly_qt_uic_target: handles qt's ui files by injecting uic generation
#
# AUTOUIC has issues to detect changes in UIC files and trigger regeneration:
# https://gitlab.kitware.com/cmake/cmake/-/issues/18741
# So instead, we are going to manually wrap the files. We dont use qt5_wrap_ui because
# it outputs to ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h and we want to follow the
# same folder structure that AUTOUIC uses
#
function(ly_qt_uic_target TARGET)
get_target_property(all_ui_sources ${TARGET} SOURCES)
list(FILTER all_ui_sources INCLUDE REGEX "^.*\\.ui$")
if(NOT all_ui_sources)
message(FATAL_ERROR "Target ${TARGET} contains AUTOUIC but doesnt have any .ui file")
endif()
if(AUTOGEN_BUILD_DIR)
set(gen_dir ${AUTOGEN_BUILD_DIR})
else()
set(gen_dir ${CMAKE_CURRENT_BINARY_DIR}/${TARGET}_autogen/include)
endif()
foreach(ui_source ${all_ui_sources})
get_filename_component(filename ${ui_source} NAME_WE)
get_filename_component(dir ${ui_source} DIRECTORY)
if(IS_ABSOLUTE ${dir})
file(RELATIVE_PATH dir ${CMAKE_CURRENT_SOURCE_DIR} ${dir})
endif()
set(outfolder ${gen_dir}/${dir})
set(outfile ${outfolder}/ui_${filename}.h)
get_filename_component(infile ${ui_source} ABSOLUTE)
file(MAKE_DIRECTORY ${outfolder})
add_custom_command(OUTPUT ${outfile}
COMMAND ${QT_UIC_EXECUTABLE} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile} VERBATIM
COMMENT "UIC ${infile}"
)
set_source_files_properties(${infile} PROPERTIES SKIP_AUTOUIC TRUE)
set_source_files_properties(${outfile} PROPERTIES
SKIP_AUTOMOC TRUE
SKIP_AUTOUIC TRUE
GENERATED TRUE
)
list(APPEND all_ui_wrapped_sources ${outfile})
endforeach()
# Add files to the target
target_sources(${TARGET} PRIVATE ${all_ui_wrapped_sources})
source_group("Generated Files" FILES ${all_ui_wrapped_sources})
# Add include directories relative to the generated folder
# query for the property first to avoid the "NOTFOUND" in a list
get_property(has_includes TARGET ${TARGET} PROPERTY INCLUDE_DIRECTORIES SET)
if(has_includes)
get_property(all_include_directories TARGET ${TARGET} PROPERTY INCLUDE_DIRECTORIES)
foreach(dir ${all_include_directories})
if(IS_ABSOLUTE ${dir})
file(RELATIVE_PATH dir ${CMAKE_CURRENT_SOURCE_DIR} ${dir})
endif()
list(APPEND new_includes ${gen_dir}/${dir})
endforeach()
endif()
list(APPEND new_includes ${gen_dir})
target_include_directories(${TARGET} PRIVATE ${new_includes})
endfunction()
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME RadTelemetry
3RDPARTY_DIRECTORY RadTelemetry
VERSION 3.5.0.17
INCLUDE_DIRECTORIES Include
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME RapidJSON
3RDPARTY_DIRECTORY rapidjson
VERSION rapidjson-1.1.0
INCLUDE_DIRECTORIES include
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME RapidXML
3RDPARTY_DIRECTORY rapidxml
VERSION 1.13-modified.1
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME SPIRVCross
VERSION 2020.04.20
OUTPUT_SUBDIRECTORY Builders/SPIRVCross
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME SQLite
VERSION v3.32.2
INCLUDE_DIRECTORIES .
)
+98
View File
@@ -0,0 +1,98 @@
#
# 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(WWISE_COMMON_LIB_NAMES
# Core AK
AkMemoryMgr
AkMusicEngine
AkSoundEngine
AkStreamMgr
AkSpatialAudio
# AK Effects
AkCompressorFX
AkDelayFX
AkMatrixReverbFX
AkMeterFX
AkExpanderFX
AkParametricEQFX
AkGainFX
AkPeakLimiterFX
AkRoomVerbFX
AkGuitarDistortionFX
AkStereoDelayFX
AkPitchShifterFX
AkTimeStretchFX
AkFlangerFX
AkTremoloFX
AkHarmonizerFX
AkRecorderFX
# AK Sources
AkSilenceSource
AkSineSource
AkToneSource
AkAudioInputSource
AkSynthOneSource
)
set(WWISE_CODEC_LIB_NAMES
# AK Codecs
AkVorbisDecoder
AkOpusDecoder
)
set(WWISE_NON_RELEASE_LIB_NAMES
# For remote profiling
CommunicationCentral
)
# Additional Libraries
# These can be added/enabled to the linker depending on what your Wwise project uses.
# In addition to uncommenting the libraries here, be sure to add the appropriate plugin factory
# header includes to PluginRegistration_wwise.h.
set(WWISE_ADDITIONAL_LIB_NAMES
# Common
#AkConvolutionReverbFX
#AkReflectFX
#AkRouterMixerFX
#ResonanceAudioFX
#MasteringSuiteFX
#AkSoundSeedImpactFX
#AkSoundSeedGrainSource
#AkSoundSeedWindSource
#AkSoundSeedWooshSource
#AuroHeadphoneFX
#CrankcaseAudioREVModelPlayerSource
#McDSPFutzBoxFX
#McDSPLimiterFX
# iZotope
#iZHybridReverbFX
#iZTrashBoxModelerFX
#iZTrashDelayFX
#iZTrashDistortionFX
#iZTrashDynamicsFX
#iZTrashFiltersFX
#iZTrashMultibandDistortionFX
)
set(WWISE_COMPILE_DEFINITIONS
$<IF:$<CONFIG:Release>,AK_OPTIMIZED,>
)
ly_add_external_target(
NAME Wwise
VERSION 2019.2.8.7432
INCLUDE_DIRECTORIES SDK/include
COMPILE_DEFINITIONS ${WWISE_COMPILE_DEFINITIONS}
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME XXHash
3RDPARTY_DIRECTORY xxhash
VERSION 0.7.4
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME azslc
VERSION 1.7.18
OUTPUT_SUBDIRECTORY Builders/AZSLc
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME cityhash
VERSION 1.1-az.1
INCLUDE_DIRECTORIES src
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME civetweb
VERSION civetweb-20160922-az.2
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME dyad
VERSION 0.2.0-17-amazon
INCLUDE_DIRECTORIES src
)
+18
View File
@@ -0,0 +1,18 @@
#
# 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.
#
ly_add_external_target(
NAME etc2comp
VERSION 2017_04_24-az.2
INCLUDE_DIRECTORIES
EtcLib/Etc
EtcLib/EtcCodec
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME expat
VERSION 2.1.0-pkg.3
INCLUDE_DIRECTORIES lib
)
+42
View File
@@ -0,0 +1,42 @@
#
# 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(GOOGLETEST_PACKAGE_NAME googletest)
set(GOOGLETEST_PACKAGE_VERSION 1.8.1-az.3)
ly_add_external_target(
NAME GTest
PACKAGE ${GOOGLETEST_PACKAGE_NAME}
VERSION ${GOOGLETEST_PACKAGE_VERSION}
INCLUDE_DIRECTORIES include
COMPILE_DEFINITIONS GTEST_HAS_EXCEPTIONS=0
)
ly_add_external_target(
NAME GTestMain
PACKAGE ${GOOGLETEST_PACKAGE_NAME}
VERSION ${GOOGLETEST_PACKAGE_VERSION}
INCLUDE_DIRECTORIES include
)
ly_add_external_target(
NAME GMock
PACKAGE ${GOOGLETEST_PACKAGE_NAME}
VERSION ${GOOGLETEST_PACKAGE_VERSION}
INCLUDE_DIRECTORIES include
)
ly_add_external_target(
NAME GMockMain
PACKAGE ${GOOGLETEST_PACKAGE_NAME}
VERSION ${GOOGLETEST_PACKAGE_VERSION}
INCLUDE_DIRECTORIES include
)
+28
View File
@@ -0,0 +1,28 @@
#
# 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(JSMN_NAME jsmn)
if(NOT TARGET 3rdParty::${JSMN_NAME})
set(JSMN_VERSION 78b1dca)
set(BASE_PATH "${LY_3RDPARTY_PATH}/${JSMN_NAME}/${JSMN_VERSION}")
add_library(3rdParty::${JSMN_NAME}
STATIC IMPORTED
jsmn.c
)
ly_target_include_system_directories(TARGET 3rdParty::${JSMN_NAME}
PUBLIC ${BASE_PATH}
)
endif()
+17
View File
@@ -0,0 +1,17 @@
#
# 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.
#
ly_add_external_target(
NAME libav
VERSION 11.7
INCLUDE_DIRECTORIES
usr/include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME lz4
VERSION r128-pkg.3
INCLUDE_DIRECTORIES lib
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME mcpp
VERSION 2.7.2-az.1
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME md5
VERSION 2.0-pkg.3
INCLUDE_DIRECTORIES .
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME nvapi
VERSION R361-developer_V2
INCLUDE_DIRECTORIES .
)
+23
View File
@@ -0,0 +1,23 @@
#
# 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( NVCLOTH_COMPILEDEFINITIONS NV_CLOTH_IMPORT= PX_CALL_CONV= )
ly_add_external_target(
NAME nvcloth
VERSION 1.1.6-az.4
3RDPARTY_DIRECTORY "NvCloth"
INCLUDE_DIRECTORIES
NvCloth/include
NvCloth/extensions/include
PxShared/include
COMPILE_DEFINITIONS ${NVCLOTH_COMPILEDEFINITIONS}
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME p4api
VERSION 2019.1
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME poly2tri
VERSION 0.3.3-az.2
INCLUDE_DIRECTORIES poly2tri
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME tiff
VERSION 3.9.5-az.3
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME unwind
VERSION 1.2.1
INCLUDE_DIRECTORIES include
)
+16
View File
@@ -0,0 +1,16 @@
#
# 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.
#
ly_add_external_target(
NAME zstd
VERSION 1.35-pkg.1
INCLUDE_DIRECTORIES lib # This library has the include in /lib
)
@@ -0,0 +1,69 @@
#
# 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.
#
if(LY_MONOLITHIC_GAME)
set(AWSNATIVE_SDK_LIB_PATH ${BASE_PATH}/lib/android/arm64-v8a/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(AWSNATIVE_SDK_LIB_EXTENSION a)
set(AWSNATIVESDK_BUILD_DEPENDENCIES
${AWSNATIVE_SDK_LIB_PATH}/dependencies/libcurl.a
${AWSNATIVE_SDK_LIB_PATH}/dependencies/libssl.a
${AWSNATIVE_SDK_LIB_PATH}/dependencies/libcrypto.a
${AWSNATIVE_SDK_LIB_PATH}/dependencies/libz.a
)
else()
set(AWSNATIVE_SDK_LIB_PATH ${BASE_PATH}/bin/android/arm64-v8a/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(AWSNATIVE_SDK_LIB_EXTENSION so)
endif()
set(AWSNATIVESDK_CORE_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-core.${AWSNATIVE_SDK_LIB_EXTENSION})
if(NOT LY_MONOLITHIC_GAME)
list(APPEND AWSNATIVESDK_CORE_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libcurl$<IF:$<CONFIG:Debug>,-d,>.${AWSNATIVE_SDK_LIB_EXTENSION})
endif()
set(AWSNATIVESDK_COMMON_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-c-common.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_EVENTSTREAM_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-c-event-stream.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_CHECKSUMS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-checksums.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_ACESSMANAGEMENT_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-access-management.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_COGNITOIDENTITY_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-cognito-identity.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_COGNITOIDP_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-cognito-idp.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_DYNAMODB_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-dynamodb.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_GAMELIFT_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-gamelift.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_IDENTITYMANAGEMENT_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-identity-management.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_KINESIS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-kinesis.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_LAMBDA_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-lambda.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_MOBILEANALYTICS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-mobileanalytics.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_QUEUES_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-queues.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_S3_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-s3.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_SNS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-sns.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_SQS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-sqs.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_STS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-sts.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_TRANSFER_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-transfer.${AWSNATIVE_SDK_LIB_EXTENSION})
if(NOT LY_MONOLITHIC_GAME)
list(JOIN AWSNATIVESDK_CORE_LIBS ";" AWSNATIVESDK_CORE_RUNTIME_DEPENDENCIES)
set(AWSNATIVESDK_COMMON_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_COMMON_LIBS})
set(AWSNATIVESDK_EVENTSTREAM_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_EVENTSTREAM_LIBS})
set(AWSNATIVESDK_CHECKSUMS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_CHECKSUMS_LIBS})
set(AWSNATIVESDK_ACCESSMANAGEMENT_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_ACESSMANAGEMENT_LIBS})
set(AWSNATIVESDK_COGNITOIDENTITY_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_COGNITOIDENTITY_LIBS})
set(AWSNATIVESDK_COGNITOIDP_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_COGNITOIDP_LIBS})
set(AWSNATIVESDK_DYNAMODB_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_DYNAMODB_LIBS})
set(AWSNATIVESDK_GAMELIFT_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_GAMELIFT_LIBS})
set(AWSNATIVESDK_IDENTITYMANAGEMENT_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_IDENTITYMANAGEMENT_LIBS})
set(AWSNATIVESDK_KINESIS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_KINESIS_LIBS})
set(AWSNATIVESDK_LAMBDA_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_LAMBDA_LIBS})
set(AWSNATIVESDK_MOBILEANALYTICS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_MOBILEANALYTICS_LIBS})
set(AWSNATIVESDK_QUEUES_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_QUEUES_LIBS})
endif()
@@ -0,0 +1,15 @@
#
# 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.
#
# package associations for this platform
ly_associate_package(zlib-1.2.8-rev2-multiplatform zlib)
ly_associate_package(Lua-5.3.5-rev3-multiplatform Lua)
ly_associate_package(mikkelsen-1.0.0.4-android mikkelsen)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(FREETYPE2_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libfreetype2.a)
@@ -0,0 +1,14 @@
#
# 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(GOOGLEBENCHMARK_LIBS
${BASE_PATH}/lib/Android/$<IF:$<CONFIG:Debug>,Debug,Release>/libbenchmark.a
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(LZSS_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/liblzss.a)
@@ -0,0 +1,12 @@
#
# 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(LIBTOMCRYPT_LIBS ${BASE_PATH}/lib/android-arm64-v8a/libtomcrypt.a)
@@ -0,0 +1,12 @@
#
# 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(LIBTOMMATH_LIBS ${BASE_PATH}/lib/android-arm64-v8a/libtommath.a)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(LZMA_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/liblzma.a)
+48
View File
@@ -0,0 +1,48 @@
#
# 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.
#
if(LY_MONOLITHIC_GAME)
set(PATH_TO_LIBS ${BASE_PATH}/physx/bin/android.arm64-v8a/$<CONFIG>)
set(PHYSX_LIBS # Order here is important
${PATH_TO_LIBS}/libPhysX_static.a
${PATH_TO_LIBS}/libPhysXCooking_static.a
${PATH_TO_LIBS}/libPhysXFoundation_static.a
${PATH_TO_LIBS}/libPhysXCommon_static.a
${PATH_TO_LIBS}/libPhysXVehicle_static.a
${PATH_TO_LIBS}/libPhysXPvdSDK_static.a
${PATH_TO_LIBS}/libPhysXCharacterKinematic_static.a
${PATH_TO_LIBS}/libPhysXExtensions_static.a
${PATH_TO_LIBS}/libPhysX_static.a
${PATH_TO_LIBS}/libPhysXCooking_static.a
)
else()
set(PATH_TO_LIBS ${BASE_PATH}/physx/bin/android.arm64-v8a.shared/$<CONFIG>)
set(PHYSX_LIBS
${PATH_TO_LIBS}/libPhysX.so
${PATH_TO_LIBS}/libPhysXCooking.so
${PATH_TO_LIBS}/libPhysXFoundation.so
${PATH_TO_LIBS}/libPhysXCommon.so
${PATH_TO_LIBS}/libPhysXVehicle_static.a
${PATH_TO_LIBS}/libPhysXPvdSDK_static.a
${PATH_TO_LIBS}/libPhysXCharacterKinematic_static.a
${PATH_TO_LIBS}/libPhysXExtensions_static.a
)
set(PHYSX_RUNTIME_DEPENDENCIES
${PATH_TO_LIBS}/libPhysX.so
${PATH_TO_LIBS}/libPhysXCooking.so
${PATH_TO_LIBS}/libPhysXFoundation.so
${PATH_TO_LIBS}/libPhysXCommon.so
)
endif()
@@ -0,0 +1,12 @@
#
# 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(RADTELEMETRY_LIBS ${BASE_PATH}/Lib/librad_tm_android_arm64.a)
+29
View File
@@ -0,0 +1,29 @@
#
# 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(WWISE_ANDROID_LIB_NAMES
AkMotionGeneratorSource
AkMotionSink
AkMotionSourceSource
zip
)
set(WWISE_LIB_PATH ${BASE_PATH}/SDK/Android_arm64-v8a/$<IF:$<CONFIG:Debug>,Debug,$<IF:$<CONFIG:Profile>,Profile,Release>>/lib)
set(WWISE_LIBS)
foreach(nonReleaseLibName IN LISTS WWISE_NON_RELEASE_LIB_NAMES)
list(APPEND WWISE_LIBS $<$<NOT:$<CONFIG:Release>>:${WWISE_LIB_PATH}/lib${nonReleaseLibName}.a>)
endforeach()
foreach(libName IN LISTS WWISE_COMMON_LIB_NAMES WWISE_CODEC_LIB_NAMES WWISE_ANDROID_LIB_NAMES WWISE_ADDITIONAL_LIB_NAMES)
list(APPEND WWISE_LIBS ${WWISE_LIB_PATH}/lib${libName}.a)
endforeach()
+12
View File
@@ -0,0 +1,12 @@
#
# 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(CITYHASH_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libcityhash.a)
+10
View File
@@ -0,0 +1,10 @@
#
# 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.
#
@@ -0,0 +1,30 @@
#
# 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(FILES
AWSNativeSDK_android.cmake
BuiltInPackages_android.cmake
civetweb_android.cmake
cityhash_android.cmake
expat_android.cmake
FreeType2_android.cmake
GoogleBenchmark_android.cmake
LibTomCrypt_android.cmake
LibTomMath_android.cmake
lz4_android.cmake
Lzma_android.cmake
LZSS_android.cmake
md5_android.cmake
nvcloth_android.cmake
PhysX_android.cmake
Wwise_android.cmake
zstd_android.cmake
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(EXPAT_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libexpat.a)
@@ -0,0 +1,22 @@
#
# 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(GOOGLETEST_LIB_PATH ${BASE_PATH}/lib/Android/armv8/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(GOOGLETEST_GTEST_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gtestd,gtest>.a)
set(GOOGLETEST_GTESTMAIN_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gtest_maind,gtest_main>.a)
set(GOOGLETEST_GMOCK_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gmockd,gmock>.a)
set(GOOGLETEST_GMOCKMAIN_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gmockd,gmock>.a)
set(GOOGLETEST_COMPILE_DEFINITIONS
GTEST_HAS_TR1_TUPLE=0
GTEST_OS_SUPPORTS_DEATH_TEST=0
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(LZ4_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/liblz4.a)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(MD5_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r12/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libmd5.a)
+16
View File
@@ -0,0 +1,16 @@
#
# 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(NVCLOTH_LIB_PATH ${BASE_PATH}/NvCloth/lib/android-arm64-v8a-$<LOWER_CASE:$<CONFIG>>-cmake)
set(NVCLOTH_LIBS
${NVCLOTH_LIB_PATH}/libNvCloth$<$<NOT:$<CONFIG:Release>>:$<UPPER_CASE:$<CONFIG>>>.a
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(ZSTD_LIBS ${BASE_PATH}/build/win_x64/android_ndk_r15/android-21/arm64-v8a/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libzstd.a)
@@ -0,0 +1,14 @@
#
# 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.
#
# package associations for this platform
ly_associate_package(zlib-1.2.8-multiplatform zlib)
ly_associate_package(Lua-5.3.5-rev3-multiplatform Lua)
@@ -0,0 +1,21 @@
#
# 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.
#
# TODO AWSGameLiftServerSDK Linux shared libs are not compiled.
set(AWSGAMELIFTSERVERSDK_LIB_PATH ${BASE_PATH}/lib/linux/libstdcxx/intel64/clang-6.0.0/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(AWSGAMELIFTSERVERSDK_LIBS ${AWSGAMELIFTSERVERSDK_LIB_PATH}/libaws-cpp-sdk-gamelift-server.a
${AWSGAMELIFTSERVERSDK_LIB_PATH}/libsioclient.a
${AWSGAMELIFTSERVERSDK_LIB_PATH}/libboost_date_time.a
${AWSGAMELIFTSERVERSDK_LIB_PATH}/libboost_random.a
${AWSGAMELIFTSERVERSDK_LIB_PATH}/libboost_system.a
${AWSGAMELIFTSERVERSDK_LIB_PATH}/libprotobuf.a
)
+73
View File
@@ -0,0 +1,73 @@
#
# 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.
#
if(LY_MONOLITHIC_GAME)
set(AWSNATIVE_SDK_LIB_PATH ${BASE_PATH}/lib/linux/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(AWSNATIVE_SDK_LIB_EXTENSION a)
else()
set(AWSNATIVE_SDK_LIB_PATH ${BASE_PATH}/bin/linux/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(AWSNATIVE_SDK_LIB_EXTENSION so)
set(AWSNATIVESDK_COMMON_UNSTABLE_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-c-common.so.0unstable)
set(AWSNATIVESDK_EVENTSTREAM_UNSTABLE_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-c-event-stream.so.0unstable)
endif()
set(AWSNATIVESDK_LIBS
curl # The one bundled with the aws sdk in 3rdParty doesn't use the right openssl
)
set(AWSNATIVESDK_CORE_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-core.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_COMMON_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-c-common.${AWSNATIVE_SDK_LIB_EXTENSION} ${AWSNATIVESDK_COMMON_UNSTABLE_LIBS})
set(AWSNATIVESDK_EVENTSTREAM_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-c-event-stream.${AWSNATIVE_SDK_LIB_EXTENSION} ${AWSNATIVESDK_EVENTSTREAM_UNSTABLE_LIBS})
set(AWSNATIVESDK_CHECKSUMS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-checksums.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_ACESSMANAGEMENT_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-access-management.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_COGNITOIDENTITY_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-cognito-identity.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_COGNITOIDP_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-cognito-idp.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_DEVICEFARM_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-devicefarm.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_DYNAMODB_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-dynamodb.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_GAMELIFT_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-gamelift.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_IDENTITYMANAGEMENT_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-identity-management.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_KINESIS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-kinesis.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_LAMBDA_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-lambda.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_MOBILEANALYTICS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-mobileanalytics.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_QUEUES_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-queues.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_S3_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-s3.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_SNS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-sns.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_SQS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-sqs.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_STS_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-sts.${AWSNATIVE_SDK_LIB_EXTENSION})
set(AWSNATIVESDK_TRANSFER_LIBS ${AWSNATIVE_SDK_LIB_PATH}/libaws-cpp-sdk-transfer.${AWSNATIVE_SDK_LIB_EXTENSION})
if(NOT LY_MONOLITHIC_GAME)
list(JOIN AWSNATIVESDK_CORE_LIBS ";" AWSNATIVESDK_CORE_RUNTIME_DEPENDENCIES)
set(AWSNATIVESDK_COMMON_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_COMMON_LIBS})
set(AWSNATIVESDK_EVENTSTREAM_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_EVENTSTREAM_LIBS})
set(AWSNATIVESDK_CHECKSUMS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_CHECKSUMS_LIBS})
set(AWSNATIVESDK_ACCESSMANAGEMENT_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_ACESSMANAGEMENT_LIBS})
set(AWSNATIVESDK_COGNITOIDENTITY_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_COGNITOIDENTITY_LIBS})
set(AWSNATIVESDK_COGNITOIDP_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_COGNITOIDP_LIBS})
set(AWSNATIVESDK_DEVICEFARM_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_DEVICEFARM_LIBS})
set(AWSNATIVESDK_DYNAMODB_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_DYNAMODB_LIBS})
set(AWSNATIVESDK_GAMELIFT_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_GAMELIFT_LIBS})
set(AWSNATIVESDK_IDENTITYMANAGEMENT_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_IDENTITYMANAGEMENT_LIBS})
set(AWSNATIVESDK_KINESIS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_KINESIS_LIBS})
set(AWSNATIVESDK_LAMBDA_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_LAMBDA_LIBS})
set(AWSNATIVESDK_MOBILEANALYTICS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_MOBILEANALYTICS_LIBS})
set(AWSNATIVESDK_QUEUES_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_QUEUES_LIBS})
set(AWSNATIVESDK_S3_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_S3_LIBS})
set(AWSNATIVESDK_SNS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_SNS_LIBS})
set(AWSNATIVESDK_SQS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_SQS_LIBS})
set(AWSNATIVESDK_STS_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_STS_LIBS})
set(AWSNATIVESDK_TRANSFER_RUNTIME_DEPENDENCIES ${AWSNATIVESDK_TRANSFER_LIBS})
endif()
@@ -0,0 +1,21 @@
#
# 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.
#
# package associations for this platform
ly_associate_package(zlib-1.2.8-rev2-multiplatform zlib)
ly_associate_package(ilmbase-2.3.0-rev4-multiplatform ilmbase)
ly_associate_package(hdf5-1.0.11-rev2-multiplatform hdf5)
ly_associate_package(alembic-1.7.11-rev3-multiplatform alembic)
ly_associate_package(assimp-5.0.1-rev3-multiplatform assimp)
ly_associate_package(squish-ccr-20150601-rev3-multiplatform squish-ccr)
ly_associate_package(ASTCEncoder-2017_11_14-rev2-multiplatform ASTCEncoder)
ly_associate_package(Lua-5.3.5-rev3-multiplatform Lua)
ly_associate_package(mikkelsen-1.0.0.4-linux mikkelsen)
+43
View File
@@ -0,0 +1,43 @@
#
# 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(CLANG_PLATFORM_LIB_PATH ${BASE_PATH}/linux_x64/release/lib)
set(CLANG_INCLUDE_DIRECTORIES
llvm/include
linux_x64/release/include
)
set(CLANG_LIBS
${CLANG_PLATFORM_LIB_PATH}/libclangFrontend.a
${CLANG_PLATFORM_LIB_PATH}/libclangSerialization.a
${CLANG_PLATFORM_LIB_PATH}/libclangDriver.a
${CLANG_PLATFORM_LIB_PATH}/libclangTooling.a
${CLANG_PLATFORM_LIB_PATH}/libclangParse.a
${CLANG_PLATFORM_LIB_PATH}/libclangSema.a
${CLANG_PLATFORM_LIB_PATH}/libclangAnalysis.a
${CLANG_PLATFORM_LIB_PATH}/libclangRewriteFrontend.a
${CLANG_PLATFORM_LIB_PATH}/libclangRewrite.a
${CLANG_PLATFORM_LIB_PATH}/libclangEdit.a
${CLANG_PLATFORM_LIB_PATH}/libclangAST.a
${CLANG_PLATFORM_LIB_PATH}/libclangLex.a
${CLANG_PLATFORM_LIB_PATH}/libclangBasic.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMCore.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMBinaryFormat.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMDebugInfoDWARF.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMMC.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMOption.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMBitReader.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMMCParser.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMProfileData.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMTarget.a
${CLANG_PLATFORM_LIB_PATH}/libLLVMSupport.a
)
+13
View File
@@ -0,0 +1,13 @@
#
# 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(FBXSDK_LIBS ${BASE_PATH}/lib/gcc4/x64/$<IF:$<CONFIG:Debug>,debug,release>/libfbxsdk.so)
set(FBXSDK_RUNTIME_DEPENDENCIES ${BASE_PATH}/lib/gcc4/x64/$<IF:$<CONFIG:Debug>,debug,release>/libfbxsdk.so)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(FREETYPE2_LIBS ${BASE_PATH}/build/linux/clang-3.4/$<IF:$<CONFIG:Debug>,debug,release>/libfreetype2.a)
@@ -0,0 +1,14 @@
#
# 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(GOOGLEBENCHMARK_LIBS
${BASE_PATH}/lib/Linux/$<IF:$<CONFIG:Debug>,Debug,Release>/libbenchmark.a
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(LZSS_LIBS ${BASE_PATH}/build/linux/clang-3.4/$<IF:$<CONFIG:Debug>,debug,release>/liblzss.a)
+14
View File
@@ -0,0 +1,14 @@
#
# 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(LIBTOMCRYPT_LIBS
${BASE_PATH}/lib/linux/libtomcrypt.a
)
+14
View File
@@ -0,0 +1,14 @@
#
# 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(LIBTOMMATH_LIBS
${BASE_PATH}/lib/linux/libtommath.a
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(LZMA_LIBS ${BASE_PATH}/build/linux/clang-3.4/$<IF:$<CONFIG:Debug>,debug,release>/liblzma.a)
+22
View File
@@ -0,0 +1,22 @@
#
# 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(OPENSSL_LIBS
${BASE_PATH}/bin/linux-x86_64-clang-$<IF:$<CONFIG:Debug>,debug,release>/libcrypto.so
${BASE_PATH}/bin/linux-x86_64-clang-$<IF:$<CONFIG:Debug>,debug,release>/libssl.so
)
set(OPENSSL_RUNTIME_DEPENDENCIES
${BASE_PATH}/bin/linux-x86_64-clang-$<IF:$<CONFIG:Debug>,debug,release>/libcrypto.so
${BASE_PATH}/bin/linux-x86_64-clang-$<IF:$<CONFIG:Debug>,debug,release>/libssl.so
${BASE_PATH}/bin/linux-x86_64-clang-$<IF:$<CONFIG:Debug>,debug,release>/libcrypto.so.1.1
${BASE_PATH}/bin/linux-x86_64-clang-$<IF:$<CONFIG:Debug>,debug,release>/libssl.so.1.1
)
+17
View File
@@ -0,0 +1,17 @@
#
# 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(PVRTEXTOOL_SHARED_LIB ${BASE_PATH}/Linux_x86_64/libPVRTexLib.so)
set(PVRTEXTOOL_LIBS "${PVRTEXTOOL_SHARED_LIB}")
set(PVRTEXTOOL_RUNTIME_DEPENDENCIES
${PVRTEXTOOL_SHARED_LIB}
${BASE_PATH}/PVRTexLib_License.txt
)
+53
View File
@@ -0,0 +1,53 @@
#
# 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.
#
if(LY_MONOLITHIC_GAME)
set(PATH_TO_LIBS ${BASE_PATH}/physx/bin/linux.clang/$<CONFIG>)
set(PHYSX_LIBS # Order here is important
${PATH_TO_LIBS}/libPhysX_static_64.a
${PATH_TO_LIBS}/libPhysXCooking_static_64.a
${PATH_TO_LIBS}/libPhysXFoundation_static_64.a
${PATH_TO_LIBS}/libPhysXCommon_static_64.a
${PATH_TO_LIBS}/libPhysXVehicle_static_64.a
${PATH_TO_LIBS}/libPhysXPvdSDK_static_64.a
${PATH_TO_LIBS}/libPhysXCharacterKinematic_static_64.a
${PATH_TO_LIBS}/libPhysXExtensions_static_64.a
${PATH_TO_LIBS}/libPhysX_static_64.a
${PATH_TO_LIBS}/libPhysXCooking_static_64.a
)
set(PHYSX_RUNTIME_DEPENDENCIES
${PATH_TO_LIBS}/libPhysXGpu_64.so
)
else()
set(PATH_TO_LIBS ${BASE_PATH}/physx/bin/linux.clang.shared/$<CONFIG>)
set(PHYSX_LIBS
${PATH_TO_LIBS}/libPhysX_64.so
${PATH_TO_LIBS}/libPhysXCooking_64.so
${PATH_TO_LIBS}/libPhysXFoundation_64.so
${PATH_TO_LIBS}/libPhysXCommon_64.so
${PATH_TO_LIBS}/libPhysXVehicle_static_64.a
${PATH_TO_LIBS}/libPhysXPvdSDK_static_64.a
${PATH_TO_LIBS}/libPhysXCharacterKinematic_static_64.a
${PATH_TO_LIBS}/libPhysXExtensions_static_64.a
)
set(PHYSX_RUNTIME_DEPENDENCIES
${PATH_TO_LIBS}/libPhysX_64.so
${PATH_TO_LIBS}/libPhysXCooking_64.so
${PATH_TO_LIBS}/libPhysXFoundation_64.so
${PATH_TO_LIBS}/libPhysXCommon_64.so
${PATH_TO_LIBS}/libPhysXGpu_64.so # Runtime only
)
endif()
+80
View File
@@ -0,0 +1,80 @@
#
# 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(QT_PATH ${BASE_PATH}/gcc_64) # "gcc" means "linux" in this case
set(QT_LIB_PATH ${QT_PATH}/lib)
include(CMakeParseArguments)
unset(WINDEPLOYQT_EXECUTABLE CACHE)
find_program(WINDEPLOYQT_EXECUTABLE windeployqt
HINTS
"${QT_PATH}/bin"
)
mark_as_advanced(WINDEPLOYQT_EXECUTABLE) # Hiding from GUI
function(ly_qt_deploy)
set(options)
set(oneValueArgs TARGET)
set(multiValueArgs)
cmake_parse_arguments(ly_qt_deploy "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
# Validate input arguments
if(NOT ly_qt_deploy_TARGET)
message(FATAL_ERROR "You must provide a target to detect qt dependencies")
endif()
# When winqtdeploy is used on a unix platform it copies over the hardcoded platform abstraction plugin
# of qxcb plugin. The qxcb plugin requires an X server to be running on linux and order to load properly
# To avoid the issue of requiring an X server to be running in a headless setup, the qminimal
# platform plugin is also copied over to the target file output directory.
set(plugin_path "${QT_PATH}/plugins")
set(platform_plugins ${plugin_path}/platforms/libqminimal.so)
set(xcbglintegrations_plugins ${plugin_path}/xcbglintegrations/libqxcb-glx-integration.so)
add_custom_command(TARGET ${ly_qt_deploy_TARGET} POST_BUILD
COMMAND "${CMAKE_COMMAND}"
-DLY_TIMESTAMP_REFERENCE=$<TARGET_FILE:${ly_qt_deploy_TARGET}>
-DLY_LOCK_FILE=$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>/qtdeploy.lock
-P ${LY_ROOT_FOLDER}/cmake/CommandExecution.cmake
EXEC_COMMAND "${CMAKE_COMMAND}" -E
env PATH=${CMAKE_BINARY_DIR}:${QT_PATH}/bin:$ENV{PATH}
"${CMAKE_COMMAND}" -P "${LY_ROOT_FOLDER}/cmake/Platform/Linux/windeployqt_wrapper.cmake"
"$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>"
"${WINDEPLOYQT_EXECUTABLE}"
--verbose 2
--no-compiler-runtime
--dir "$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>"
"$<TARGET_FILE:${ly_qt_deploy_TARGET}>"
EXEC_COMMAND ${CMAKE_COMMAND} -E make_directory
"$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>/platforms"
EXEC_COMMAND ${CMAKE_COMMAND} -E copy_if_different
${platform_plugins}
"$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>/platforms"
EXEC_COMMAND ${CMAKE_COMMAND} -E make_directory
"$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>/xcbglintegrations"
EXEC_COMMAND ${CMAKE_COMMAND} -E copy_if_different
${xcbglintegrations_plugins}
"$<TARGET_FILE_DIR:${ly_qt_deploy_TARGET}>/xcbglintegrations"
DEPENDS $<TARGET_FILE:${ly_qt_deploy_TARGET}>
COMMENT "Deploying qt..."
VERBATIM
)
endfunction()
# windeployqt uses qmake -query to introspect a given Qt installation. However,
# qmake is not relocatable, so the paths reported are those from the build
# machine, and not from wherever the user has their 3rdParty libraries. So we
# create a fake qmake executable to report the right paths to windeployqt.
configure_file(${CMAKE_CURRENT_LIST_DIR}/Qt_qmake_${PAL_PLATFORM_NAME_LOWERCASE}.cmake.in ${CMAKE_BINARY_DIR}/qmake)
+38
View File
@@ -0,0 +1,38 @@
#!${CMAKE_COMMAND} -P
#
# 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.
#
execute_process(COMMAND ${CMAKE_COMMAND} -E echo "QT_SYSROOT:
QT_INSTALL_PREFIX:${QT_PATH}
QT_INSTALL_ARCHDATA:${QT_PATH}
QT_INSTALL_DATA:${QT_PATH}
QT_INSTALL_DOCS:${QT_PATH}/doc
QT_INSTALL_HEADERS:${QT_PATH}/include
QT_INSTALL_LIBS:${QT_PATH}/lib
QT_INSTALL_LIBEXECS:${QT_PATH}/libexec
QT_INSTALL_BINS:${QT_PATH}/bin
QT_INSTALL_TESTS:${QT_PATH}/tests
QT_INSTALL_PLUGINS:${QT_PATH}/plugins
QT_INSTALL_IMPORTS:${QT_PATH}/imports
QT_INSTALL_TRANSLATIONS:${QT_PATH}/translations
QT_INSTALL_CONFIGURATION:${QT_PATH}/etc/xdg
QT_INSTALL_EXAMPLES:${QT_PATH}/examples
QT_INSTALL_DEMOS:${QT_PATH}/examples
QT_HOST_PREFIX:${QT_PATH}
QT_HOST_DATA:${QT_PATH}
QT_HOST_BINS:${QT_PATH}/bin
QT_HOST_LIBS:${QT_PATH}/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:${QT_PACKAGE_VERSION}")
+12
View File
@@ -0,0 +1,12 @@
#
# 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(SQLITE_LIBS ${BASE_PATH}/build/linux/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libsqlite.a)
+29
View File
@@ -0,0 +1,29 @@
#
# 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(WWISE_LIB_PATH ${BASE_PATH}/SDK/Linux_x64/$<IF:$<CONFIG:Debug>,Debug,$<IF:$<CONFIG:Profile>,Profile,Release>>/lib)
set(WWISE_LIBS)
# The non-release libs have to go first, because CommunicationCentral has to
# come before AkSoundEngine
foreach(nonReleaseLibName IN LISTS WWISE_NON_RELEASE_LIB_NAMES)
list(APPEND WWISE_LIBS $<$<NOT:$<CONFIG:Release>>:${WWISE_LIB_PATH}/lib${nonReleaseLibName}.a>)
endforeach()
foreach(libName IN LISTS WWISE_COMMON_LIB_NAMES WWISE_CODEC_LIB_NAMES WWISE_ADDITIONAL_LIB_NAMES)
list(APPEND WWISE_LIBS ${WWISE_LIB_PATH}/lib${libName}.a)
endforeach()
# linux OS libs
list(APPEND WWISE_LIBS
SDL2
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(CITYHASH_LIBS ${BASE_PATH}/build/linux/clang-3.8/$<IF:$<CONFIG:Debug>,debug,release>/libcityhash.a)
+10
View File
@@ -0,0 +1,10 @@
#
# 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.
#
+43
View File
@@ -0,0 +1,43 @@
#
# 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(FILES
AWSGameLiftServerSDK_linux.cmake
AWSNativeSDK_linux.cmake
BuiltInPackages_linux.cmake
cityhash_linux.cmake
civetweb_linux.cmake
Clang_linux.cmake
dyad_linux.cmake
etc2comp_linux.cmake
expat_linux.cmake
FbxSdk_linux.cmake
FreeType2_linux.cmake
GoogleBenchmark_linux.cmake
googletest_linux.cmake
LibTomCrypt_linux.cmake
LibTomMath_linux.cmake
lz4_linux.cmake
Lzma_linux.cmake
LZSS_linux.cmake
md5_linux.cmake
nvcloth_linux.cmake
OpenSSL_linux.cmake
PhysX_linux.cmake
poly2tri_linux.cmake
PVRTexTool_linux.cmake
Qt_linux.cmake
SQLite_linux.cmake
tiff_linux.cmake
unwind_linux.cmake
Wwise_linux.cmake
zstd_linux.cmake
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(DYAD_LIBS ${BASE_PATH}/lib/linux_$<IF:$<CONFIG:Debug>,debug,release>/libdyad.a)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(ETC2COMP_LIBS ${BASE_PATH}/EtcLib/Linux_x64/libEtcLib.a)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(EXPAT_LIBS ${BASE_PATH}/build/linux/clang-3.4/$<IF:$<CONFIG:Debug>,debug,release>/libexpat.a)
+19
View File
@@ -0,0 +1,19 @@
#
# 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(GOOGLETEST_LIB_PATH ${BASE_PATH}/lib/Linux-libstdcxx/$<IF:$<CONFIG:Debug>,Debug,Release>)
set(GOOGLETEST_GTEST_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gtestd,gtest>.a)
set(GOOGLETEST_GTESTMAIN_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gtest_maind,gtest_main>.a)
set(GOOGLETEST_GMOCK_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gmockd,gmock>.a)
set(GOOGLETEST_GMOCKMAIN_LIBS ${GOOGLETEST_LIB_PATH}/lib$<IF:$<CONFIG:Debug>,gmockd,gmock>.a)
set(GOOGLETEST_COMPILE_DEFINITIONS GTEST_HAS_TR1_TUPLE=0)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(LZ4_LIBS ${BASE_PATH}/build/linux/clang-3.4/$<IF:$<CONFIG:Debug>,debug,release>/liblz4.a)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(MD5_LIBS ${BASE_PATH}/build/linux/clang-3.4/$<IF:$<CONFIG:Debug>,debug,release>/libmd5.a)
+16
View File
@@ -0,0 +1,16 @@
#
# 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(NVCLOTH_LIB_PATH ${BASE_PATH}/NvCloth/lib/linux64-cmake)
set(NVCLOTH_LIBS
${NVCLOTH_LIB_PATH}/libNvCloth$<$<NOT:$<CONFIG:Release>>:$<UPPER_CASE:$<CONFIG>>>.a
)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(POLY2TRI_LIBS ${BASE_PATH}/lib/linux_libstdcxx/$<IF:$<CONFIG:Debug>,Debug,Release>/libpoly2tri.a)
+12
View File
@@ -0,0 +1,12 @@
#
# 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(SQUISH-CCR_LIBS ${BASE_PATH}/lib/Linux/Release/libsquish-ccr.a)
+31
View File
@@ -0,0 +1,31 @@
#
# 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.
#
# In some compilers, the build dependency has to be added after in linking. Because we represent 3rdParty with
# interface libraries, dependencies are transitive and do not represent dependencies between the 3rdParties themselves.
# Refer to the comment here: https://gitlab.kitware.com/cmake/cmake/-/blob/master/Source/cmComputeLinkDepends.cxx#L29
# To workaround this problem, we wrap the static lib in an imported lib and mark the dependency there. That makes
# the DAG algorithm to sort them in the order we need.
add_library(3rdParty::tiff::imported STATIC IMPORTED)
set_target_properties(3rdParty::tiff::imported
PROPERTIES
IMPORTED_LOCATION ${BASE_PATH}/libtiff/linux_gcc/libtiff.a
)
target_link_libraries(3rdParty::tiff::imported
INTERFACE
3rdParty::zlib
)
set(TIFF_BUILD_DEPENDENCIES
3rdParty::tiff::imported
jpeg
jbig
)

Some files were not shown because too many files have changed in this diff Show More