summaryrefslogblamecommitdiffstats
path: root/COMPILING
blob: 5a9f9b6c2030cd1085453a404348453c91da913f (plain) (tree)
1
2
3


         














                                                                                                                                                                             
COMPILING
=========

To compile MCServer on *nix, you need CMake and make, as well as a C compiler, C++ compiler and linker.

Release Mode
------------

Release mode is preferred for almost all cases, it has much better speed and less console spam. However, if you are developing MCServer actively, debug mode might be better.

    cmake . && make
    
Debug Mode
----------

Debug mode is useful if you want more debugging information about MCServer as it's running or if you want to use a debugger like GDB to debug issues and crashes.

    cmake . -DCMAKE_BUILD_TYPE=DEBUG && make