Added unreal compile script.
This commit is contained in:
parent
ce71cdf3d3
commit
f7dca65739
@ -45,3 +45,17 @@ pacsizes()
|
|||||||
{
|
{
|
||||||
pacman -Qi $1 | awk '/^Name/{name=$3} /^Installed Size/{size=$4$5; print size, name;}' | sort -h
|
pacman -Qi $1 | awk '/^Name/{name=$3} /^Installed Size/{size=$4$5; print size, name;}' | sort -h
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# unreal compile
|
||||||
|
# Courtesy of mrzapp from https://forums.unrealengine.com/development-discussion/c-gameplay-programming/97022-linux-how-to-compile-c-scripts-from-terminal
|
||||||
|
|
||||||
|
function unrealbuild {
|
||||||
|
UNR_PATH=/opt/UnrealEngine;
|
||||||
|
RANDNUM=$(( ( RANDOM % 1000 ) + 1000 ));
|
||||||
|
CURR_DIR=`pwd`;
|
||||||
|
PROJ_NAME=$(basename ${1%.uproject});
|
||||||
|
|
||||||
|
echo $RANDNUM
|
||||||
|
|
||||||
|
${UNR_PATH}/Engine/Build/BatchFiles/Linux/RunMono.sh ${UNR_PATH}/Engine/Binaries/DotNET/UnrealBuildTool.exe $PROJ_NAME -ModuleWithSuffix $PROJ_NAME Linux Development -editorrecompile -canskiplink "${CURR_DIR}/${PROJ_NAME}.uproject" -progress
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user