CMake options

From ArcEmu-Wiki
Revision as of 17:23, 20 October 2011 by Magnifikator (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
+/-
Main Page                   Other languages:   English  •   German   •   FrenchArcEmu Website     ArcEmu Forum     Bug Tracker


Basic options

Option Description Default Value
CMAKE_INSTALL_PREFIX The directory where Arcemu will be installed to after the build process is done
ARCEMU_CONFIGSFILE_PATH Path where the arcemu config files are.
ARCEMU_SCRIPTLIB_PATH The directory which contains the 'lib' directory that has the script libraries.
BUILD_ARCEMUSCRIPTS Set to false to NOT build script libraries. TRUE
VISUALSTUDIO_COMPILERHEAPLIMIT Visual Studio compiler heap limit. Ignore on darwin and unix platforms. 200


Options that are only valid when "BUILD_ARCEMUSCRIPTS" is set to true.

Option Description Default Value
BUILD_EVENTSCRIPTS Build arcEventScripts. TRUE
BUILD_INSTANCESCRIPTS Build arcInstanceScripts. TRUE
BUILD_EXTRASCRIPTS Build arcExtraScripts. TRUE
BUILD_GOSSIPSCRIPTS Build arcGossipScripts. TRUE
BUILD_QUESTSCRIPTS Build arcQuestScripts. TRUE
BUILD_MISCSCRIPTS Build arcMiscScripts. TRUE
BUILD_SERVERSTATUSPLUGIN Build ServerStatusPlugin. TRUE
BUILD_LUAENGINE Build LuaEngine. FALSE
BUILD_LUABRIDGE Build luabridge. TRUE


You can specify these options in the command line using the following format

cmake -D<OPTION>=<VALUE>

for example:

cmake -DCMAKE_INSTALL_PREFIX=/home/arcemu/server


Some examples:

  • Building Arcemu without scripts
cmake -DBUILD_ARCEMUSCRIPTS=FALSE
  • Building the old Lua engine instead of LuaBridge ( this is not recommended, and not supported either, it might fail to build )
cmake -DBUILD_LUAENGINE=TRUE -DBUILD_LUABRIDGE=FALSE
Personal tools