mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 19:49:55 +00:00
91e6b23d3f
NMAKE-VS2012 Error LNK2011 while NMAKE-VS2010 does not complain we need to link the pch.obj file see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx ** PCH Support for Ninja Ninja need to add property OBJECT_DEPENDS for using PCH OBJECT_OUTPUTS for create PCH see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
90 lines
2.9 KiB
Bash
Executable file
90 lines
2.9 KiB
Bash
Executable file
#!/bin/sh -
|
|
|
|
#export RYZOM_PATH="$HOME/code/ryzom"
|
|
|
|
if [ X"$RYZOM_PATH" = "X" ]
|
|
then
|
|
echo Error: You need to setup \$RYZOM_PATH environement variable with the path where the ryzom code is
|
|
echo For example: export RYZOM_PATH=\"/home/user/code/ryzom\"
|
|
exit
|
|
fi
|
|
|
|
. $RYZOM_PATH/tools/scripts/linux/utilities
|
|
|
|
init
|
|
|
|
##############################################################################
|
|
#### BUILD NEL
|
|
##############################################################################
|
|
|
|
$RYZOM_PATH/tools/scripts/linux/build init nel --disable-3d --disable-samples --disable-tools >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? BUILD INIT NEL
|
|
|
|
#$RYZOM_PATH/tools/scripts/linux/build nel clean
|
|
#verify $? BUILD NEL CLEAN
|
|
|
|
$RYZOM_PATH/tools/scripts/linux/build nel >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? BUILD NEL
|
|
|
|
$RYZOM_PATH/tools/scripts/linux/build nel install >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? BUILD NEL INSTALL
|
|
|
|
##############################################################################
|
|
#### BUILD NELNS
|
|
##############################################################################
|
|
# update: we don't need nelns to run a ryzom shard
|
|
|
|
#$RYZOM_PATH/tools/scripts/linux/build init nelns >>$LOG_INFO 2>>$LOG_ERROR
|
|
#verify $? BUILD INIT NELNS
|
|
|
|
#$RYZOM_PATH/tools/scripts/linux/build nelns clean
|
|
#verify $? BUILD NEL CLEAN
|
|
|
|
#$RYZOM_PATH/tools/scripts/linux/build nelns >>$LOG_INFO 2>>$LOG_ERROR
|
|
#verify $? BUILD NELNS
|
|
|
|
#$RYZOM_PATH/tools/scripts/linux/build nelns install >>$LOG_INFO 2>>$LOG_ERROR
|
|
#verify $? BUILD NELNS INSTALL
|
|
|
|
|
|
##############################################################################
|
|
##### CLEAR packed_sheet (rebuilt in Ryzom build)
|
|
##############################################################################
|
|
|
|
rm $RYZOM_PATH/server/src/*/*.packed_sheets
|
|
|
|
##############################################################################
|
|
#### BUILD RYZOM COMMON
|
|
##############################################################################
|
|
|
|
cd $RYZOM_PATH/common
|
|
|
|
#make clean >>$LOG_INFO 2>>$LOG_ERROR
|
|
#verify $? CLEAN RYZOM COMMON
|
|
|
|
make update >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? UPDATE RYZOM MAKEFILE COMMON
|
|
|
|
make night >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? BUILD RYZOM COMMON
|
|
|
|
##############################################################################
|
|
#### BUILD RYZOM
|
|
##############################################################################
|
|
|
|
cd $RYZOM_PATH/server
|
|
|
|
#make clean >>$LOG_INFO 2>>$LOG_ERROR
|
|
#verify $? CLEAN RYZOM
|
|
|
|
make update >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? UPDATE RYZOM MAKEFILE
|
|
|
|
CFLAGS="-DFINAL_VERSION=1" CXXFLAGS="-DFINAL_VERSION=1" make night >>$LOG_INFO 2>>$LOG_ERROR
|
|
verify $? BUILD RYZOM
|
|
|
|
##############################################################################
|
|
##### copy translation file from tools/translation
|
|
##############################################################################
|
|
|
|
#cp -a $RYZOM_PATH/tools/translation/translated/*.txt $RYZOM_PATH/server/data_shard/language/
|