Version 1/89 - Next ยป - Current version
jayme, 05/11/2010 09:47 am


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

(This is only a quick cheat sheet, pease fix/complete if you like)

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, ...

Just to know where we are:

RYHOME=/path/to/ryzom/code

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

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

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

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

Building Ryzom Client
cd $RYHOME/cmake_ryzom
cmake -DCPACK_PACKAGE_CONTACT:STRING="your@mail.address" ../nelns
make [-j<N>]

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