1
0

Added LuaChunkStay to Bindings sources.

This should fix *nix compilation. Also alpha-sorted the lists.
This commit is contained in:
madmaxoft 2014-02-10 23:23:04 +01:00
parent 2b1506de9c
commit de7bf126db

View File

@ -20,60 +20,60 @@ if (NOT MSVC)
set(BINDING_DEPENDECIES set(BINDING_DEPENDECIES
${CMAKE_CURRENT_SOURCE_DIR}/Bindings/virtual_method_hooks.lua ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/virtual_method_hooks.lua
${CMAKE_CURRENT_SOURCE_DIR}/Bindings/AllToLua.pkg ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/AllToLua.pkg
ChunkDef.h
BiomeDef.h
OSSupport/File.h
Bindings/LuaFunctions.h Bindings/LuaFunctions.h
Bindings/PluginManager.h Bindings/LuaWindow.h
Bindings/Plugin.h Bindings/Plugin.h
Bindings/PluginLua.h Bindings/PluginLua.h
Bindings/PluginManager.h
Bindings/WebPlugin.h Bindings/WebPlugin.h
Bindings/LuaWindow.h BiomeDef.h
BlockID.h BlockArea.h
StringUtils.h
Defines.h
ChatColor.h
ClientHandle.h
Entities/Entity.h
Entities/Floater.h
Entities/Pawn.h
Entities/Player.h
Entities/Pickup.h
Entities/ProjectileEntity.h
Entities/TNTEntity.h
Entities/Effects.h
Server.h
World.h
Inventory.h
Enchantments.h
Item.h
ItemGrid.h
BlockEntities/BlockEntity.h BlockEntities/BlockEntity.h
BlockEntities/BlockEntityWithItems.h BlockEntities/BlockEntityWithItems.h
BlockEntities/ChestEntity.h BlockEntities/ChestEntity.h
BlockEntities/DropSpenserEntity.h
BlockEntities/DispenserEntity.h BlockEntities/DispenserEntity.h
BlockEntities/DropSpenserEntity.h
BlockEntities/DropperEntity.h BlockEntities/DropperEntity.h
BlockEntities/FurnaceEntity.h BlockEntities/FurnaceEntity.h
BlockEntities/HopperEntity.h BlockEntities/HopperEntity.h
BlockEntities/JukeboxEntity.h BlockEntities/JukeboxEntity.h
BlockEntities/NoteEntity.h BlockEntities/NoteEntity.h
BlockEntities/SignEntity.h BlockEntities/SignEntity.h
WebAdmin.h BlockID.h
Root.h
Vector3f.h
Vector3d.h
Vector3i.h
Matrix4f.h
Cuboid.h
BoundingBox.h BoundingBox.h
Tracer.h ChatColor.h
Group.h ChunkDef.h
BlockArea.h ClientHandle.h
Generating/ChunkDesc.h
CraftingRecipes.h CraftingRecipes.h
UI/Window.h Cuboid.h
Defines.h
Enchantments.h
Entities/Effects.h
Entities/Entity.h
Entities/Floater.h
Entities/Pawn.h
Entities/Pickup.h
Entities/Player.h
Entities/ProjectileEntity.h
Entities/TNTEntity.h
Generating/ChunkDesc.h
Group.h
Inventory.h
Item.h
ItemGrid.h
Matrix4f.h
Mobs/Monster.h Mobs/Monster.h
OSSupport/File.h
Root.h
Server.h
StringUtils.h
Tracer.h
UI/Window.h
Vector3d.h
Vector3f.h
Vector3i.h
WebAdmin.h
World.h
) )
include_directories(Bindings) include_directories(Bindings)
@ -91,7 +91,18 @@ if (NOT MSVC)
DEPENDS ${BINDING_DEPENDECIES} DEPENDS ${BINDING_DEPENDECIES}
) )
#add cpp files here #add cpp files here
add_library(Bindings Bindings/PluginManager Bindings/LuaState Bindings/WebPlugin Bindings/Bindings Bindings/ManualBindings Bindings/LuaWindow Bindings/Plugin Bindings/PluginLua Bindings/WebPlugin) add_library(Bindings
Bindings/Bindings
Bindings/LuaChunkStay
Bindings/LuaState
Bindings/LuaWindow
Bindings/ManualBindings
Bindings/Plugin
Bindings/PluginLua
Bindings/PluginManager
Bindings/WebPlugin
Bindings/WebPlugin
)
target_link_libraries(Bindings lua sqlite tolualib) target_link_libraries(Bindings lua sqlite tolualib)