in current directory) USE_GPROF=FALSE - Enable profiling using GProf VERSION_EXTRA= - Text to append to version (e.g. Debug) Release - Release build Debug - Debug build SemiDebug - Partially optimized debug build RelWithDebInfo - Release build with debug information MinSizeRel - Release build with -Os passed to compiler to make executable as small as possible ENABLE_CURL=ON - Build with cURL Enables use of online mod repo, public serverlist and remote media fetching via http ENABLE_CURSES=ON - Build with (n)curses Enables a server side terminal (command line option: -terminal) ENABLE_GETTEXT=ON - Build with Gettext Allows using translations ENABLE_GLES=OFF - Enable extra support code for OpenGL ES (requires support by IrrlichtMt) ENABLE_LEVELDB=ON - Build with LevelDB Enables use of LevelDB map backend ENABLE_POSTGRESQL=ON - Build with libpq Enables use of PostgreSQL map backend (PostgreSQL 9.5 or greater recommended) ENABLE_REDIS=ON - Build with libhiredis Enables use of Redis map backend ENABLE_SPATIAL=ON - Build with LibSpatial Speeds up AreaStores ENABLE_SOUND=ON - Build with OpenAL, libogg & libvorbis in-game sounds ENABLE_LUAJIT=ON - Build with LuaJIT (much faster than non-JIT Lua) ENABLE_PROMETHEUS=OFF - Build with Prometheus metrics exporter (listens on tcp/30000 by default) ENABLE_SYSTEM_GMP=ON - Use GMP from system (much faster than bundled mini-gmp) ENABLE_SYSTEM_JSONCPP=ON - Use JsonCPP from system RUN_IN_PLACE=FALSE - Create a portable install (worlds, settings etc. General options and their default values:īUILD_CLIENT=TRUE - Build Minetest client BUILD_SERVER=FALSE - Build Minetest server BUILD_UNITTESTS=TRUE - Build unittest sources BUILD_BENCHMARKS=FALSE - Build benchmark sources CMAKE_BUILD_TYPE=Release - Type of build (Release vs. NOTE: Changing the IrrlichtMt build directory (includes system installs) requires regenerating the CMake cache ( rm CMakeCache.txt).For server builds with disabled BUILD_CLIENT variable, the headers from IRRLICHT_INCLUDE_DIR will be used.Installation of IrrlichtMt in the system-specific library paths.Specified IRRLICHTMT_BUILD_DIR CMake variable.Minetest will use the IrrlichtMt package that is found first, given by the following order: In that case use -DIRRLICHT_INCLUDE_DIR=/some/where/irrlichtmt/include.If you build a bare server you don't need to compile IrrlichtMt, just the headers suffice. Debug build is slower, but gives much more useful output in a debugger.You can select between Release and Debug build by -DCMAKE_BUILD_TYPE=. You can disable the client build by specifying -DBUILD_CLIENT=FALSE. You can build a bare server by specifying -DBUILD_SERVER=TRUE. You will want to use -DRUN_IN_PLACE=FALSE. If you want to install it system-wide (or are making a distribution package), LH to see all CMake options and their current state. Location_of_exe/./nf and also location_of_exe/././nfĬompiling Compiling on GNU/Linux Dependencies Dependency
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |