« Previous - Version 7/89 (diff) - Next » - Current version
webshinra, 05/11/2010 02:18 pm


Building Nel, NelNS and Ryzom Client with CMake on GNU/Linux

(This is only a quick cheat sheet, pease fix/complete if you like)
Check Issue842 for infos about the cmake build

Install the needed dependencies (i have not figured them all out, cmake will tell you wat I am missing)

libxml2-dev, g++, libtool, libpng12-dev, libjpeg62-dev, bison, w3c-www (libwww), lua, luabind, cpp-test (if you want to build Nel with tests), boost, freetype, ...

Just to know where we are:

RYHOME=/path/to/ryzom/code

Building Nel

mkdir $RYHOME/nel/build && cd $RYHOME/nel/build
cmake -DCPACK_PACKAGE_CONTACT:STRING="your@mail.address" -DWITH_TESTS:BOOL=OFF ..
make [-j<N>]
cpack [-G DEB|NSIS|RPM|...]

Install the packge or whatever you generated using youre prefered method.

Building NelNS

mkdir $RYHOME/nelns/build && cd $RYHOME/nelns/build
cmake -DCPACK_PACKAGE_CONTACT:STRING="your@mail.address" ..
make [-j<N>]
cpack [-G DEB|NSIS|RPM|...]

Install the packge or whatever you generated using youre prefered method.

Building Ryzom Client

mkdir $RYHOME/ryzom/build && cd $RYHOME/ryzom/build
cmake -DCPACK_PACKAGE_CONTACT:STRING="your@mail.address" ..
make [-j<N>]

No CPack support here yet. Use the binarys provided in "bin/".