Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F123480
cmakeplatform
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
722 B
Referenced Files
None
Subscribers
None
cmakeplatform
View Options
#!/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
Details
Attached
Mime Type
text/x-shellscript
Expires
Thu, Jan 16, 12:43 AM (12 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
72106
Default Alt Text
cmakeplatform (722 B)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment