lua part 1
This commit is contained in:
+2
-1
@@ -34,6 +34,7 @@ foreach(SCRIPT_MODULE ${SCRIPT_MODULE_LIST})
|
||||
endforeach()
|
||||
|
||||
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 1)
|
||||
option(ELUNA "Build Eluna Lua Engine" 1)
|
||||
option(BUILD_PLAYERBOT "Build optional Playerbot module for AI-controlled characters" 0)
|
||||
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
|
||||
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
|
||||
@@ -48,7 +49,7 @@ if(WITH_DYNAMIC_LINKING OR WITH_DYNAMIC_LINKING_FORCED)
|
||||
else()
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
endif()
|
||||
if(WITH_FILESYSTEM_WATCHER OR BUILD_SHARED_LIBS)
|
||||
if(WITH_FILESYSTEM_WATCHER OR BUILD_SHARED_LIBS OR ELUNA)
|
||||
set(BUILD_EFSW ON)
|
||||
endif()
|
||||
option(WITH_WARNINGS "Show all warnings during compile" 0)
|
||||
|
||||
@@ -40,6 +40,15 @@ else()
|
||||
message("* Build map/vmap tools : No")
|
||||
endif()
|
||||
|
||||
if(ELUNA)
|
||||
message("* Build Eluna LuaEngine : Yes (default)")
|
||||
add_definitions(-DELUNA)
|
||||
add_definitions(-DELUNA_TRINITY)
|
||||
add_definitions(-DELUNA_EXPANSION=9)
|
||||
else()
|
||||
message("* Build Eluna LuaEngine : No")
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
message("* Build unit tests : Yes")
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user