You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/bash
echo -e "\n正在编译和安装 LuxMark……\n" echo -ne "\033]0;LuxMark stage\007"
if [[ ! -d "LuxMark" ]] ; then echo echo -e "\n!!! LuxMark源码不可用,跳过这个阶段\n" else cd ${SHELLROOT}/LuxMark echo " * 正在配置 LuxMark" if ! cmake -G "Unix Makefiles" -Wno-dev \
-D LUXMARK_CUSTOM_CONFIG=cmake/SpecializedConfig/Config_Linux-Static.cmake \
-D LuxRays_HOME="${SHELLROOT}/LuxCore" . ; then echo -e "\n !!! 配置 LuxMark 失败,无法安装成功\n" exit 1 fi
sleep 2 echo " * 正在编译 LuxMark" if cmake --build . --target all -- $MAKEOPTS ; then echo -e "\n * LuxMark ,编译和安装成功\n" else echo -e "\n !!! LuxMark ,编译和安装失败\n" exit 1 fi fi
exit 0
|