|
|
|
|
@ -8,11 +8,11 @@
|
|
|
|
|
|
|
|
|
|
# Currently we are in the Code folder: ${CMAKE_CURRENT_LIST_DIR}
|
|
|
|
|
# Get the platform specific folder ${pal_dir} for the current folder: ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME}
|
|
|
|
|
# Note: ly_get_list_relative_pal_filename will take care of the details for us, as this may be a restricted platform
|
|
|
|
|
# Note: o3de_pal_dir will take care of the details for us, as this may be a restricted platform
|
|
|
|
|
# in which case it will see if that platform is present here or in the restricted folder.
|
|
|
|
|
# i.e. It could here in our gem : Gems/${Name}/Code/Platform/<platorm_name> or
|
|
|
|
|
# <restricted_folder>/<platform_name>/Gems/${Name}/Code
|
|
|
|
|
ly_get_list_relative_pal_filename(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} ${o3de_gem_restricted_path} ${o3de_gem_path} ${o3de_gem_name})
|
|
|
|
|
o3de_pal_dir(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} "${gem_restricted_path}" "${gem_path}" "${gem_name}")
|
|
|
|
|
|
|
|
|
|
# Now that we have the platform abstraction layer (PAL) folder for this folder, thats where we will find the
|
|
|
|
|
# traits for this platform. Traits for a platform are defines for things like whether or not something in this gem
|
|
|
|
|
|