123456789101112131415161718192021 |
- # {BEGIN_LICENSE}
- # Copyright (c) Contributors to the Open 3D Engine Project.
- # For complete copyright and license terms please see the LICENSE at the root of this distribution.
- #
- # SPDX-License-Identifier: Apache-2.0 OR MIT
- #
- # {END_LICENSE}
- set(gem_path ${CMAKE_CURRENT_LIST_DIR})
- set(gem_json ${gem_path}/gem.json)
- o3de_restricted_path(${gem_json} gem_restricted_path gem_parent_relative_path)
- o3de_pal_dir(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} "${gem_restricted_path}" "${gem_path}" "${gem_parent_relative_path}")
- # Now that we have the platform abstraction layer (PAL) folder for this folder, thats where we will find the
- # project cmake for this platform.
- include(${pal_dir}/${PAL_PLATFORM_NAME_LOWERCASE}_gem.cmake)
- ly_add_external_target_path(${CMAKE_CURRENT_LIST_DIR}/3rdParty)
- add_subdirectory(Code)
|