Page MenuHomePhorge

cmakeplatform
No OneTemporary

Size
722 B
Referenced Files
None
Subscribers
None

cmakeplatform

#!/bin/bash
ECHO_PLATFORM=$1
ECHO_DEP_SCRIPTS_DIR=dependencies/scripts
if [ "${ECHO_ENGINE_INSTALL_DIR}" = "" ]; then
echo "Please specify the Echo install location:"
echo "You can avoid this prompt by setting ECHO_ENGINE_INSTALL_DIR"
read ECHO_ENGINE_INSTALL_DIR
if ! [ -d "${ECHO_ENGINE_INSTALL_DIR}" ]; then
echo "${ECHO_ENGINE_INSTALL_DIR} is not a directory"
exit 1;
fi
else
echo "ECHO_ENGINE_INSTALL_DIR is: ${ECHO_ENGINE_INSTALL_DIR}"
fi
BUILD_FOLDER=build-${ECHO_PLATFORM}
source ${ECHO_DEP_SCRIPTS_DIR}/${ECHO_PLATFORM}/${ECHO_PLATFORM}.config
mkdir -p $BUILD_FOLDER
cd $BUILD_FOLDER
cmake -DCMAKE_INSTALL_PREFIX="${ECHO_ENGINE_INSTALL_DIR}/${ECHO_PLATFORM}" -DECHO_TARGET_PLATFORM=$ECHO_PLATFORM ..

File Metadata

Mime Type
text/x-shellscript
Expires
Thu, Jan 16, 12:43 AM (7 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
72106
Default Alt Text
cmakeplatform (722 B)

Event Timeline