Allow building and packaging MoltenVK for of only iOS or only macOS. Move packaging scripts out of Xcode projects and into script files.
15 lines
368 B
Bash
Executable File
15 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Package folder
|
|
export MVK_WKSPC_LOCN="${PROJECT_DIR}"
|
|
export MVK_PKG_LOCN="${MVK_WKSPC_LOCN}/Package"
|
|
|
|
# Configuration package folder location
|
|
export MVK_PKG_CONFIG_LOCN="${CONFIGURATION}"
|
|
export MVK_PKG_LATEST_LOCN="Latest"
|
|
|
|
# Assign symlink from Latest
|
|
ln -sfn "${MVK_PKG_LOCN}/${MVK_PKG_CONFIG_LOCN}" "${MVK_PKG_LOCN}/${MVK_PKG_LATEST_LOCN}"
|