summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-23 19:41:08 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-23 19:41:08 +0100
commite0956be0a7905451666cc6d6a3bbf088d3293f21 (patch)
tree212a6d4b27caad46beac1be6dffdb22d0abbec0a /src/Bindings
parentFixed crash while calling disabled plugins. (diff)
downloadcuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.tar
cuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.tar.gz
cuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.tar.bz2
cuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.tar.lz
cuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.tar.xz
cuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.tar.zst
cuberite-e0956be0a7905451666cc6d6a3bbf088d3293f21.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/CMakeLists.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt
index 50b81e42a..c181f4355 100644
--- a/src/Bindings/CMakeLists.txt
+++ b/src/Bindings/CMakeLists.txt
@@ -4,20 +4,6 @@ project (MCServer)
# NOTE: This CMake file is processed only for Unix builds; Windows(MSVC) builds handle all the subfolders in /src in a single file, /src/CMakeLists.txt
-include_directories ("${PROJECT_SOURCE_DIR}/../")
-
-ADD_CUSTOM_COMMAND(
- # add any new generated bindings here
- OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/Bindings.cpp ${CMAKE_CURRENT_SOURCE_DIR}/Bindings.h
-
- # command execuded to regerate bindings
- COMMAND tolua -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
-
- # add any new generation dependencies here
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/virtual_method_hooks.lua ${CMAKE_CURRENT_SOURCE_DIR}/AllToLua.pkg tolua
-)
-
#add cpp files here
add_library(Bindings PluginManager LuaState WebPlugin Bindings ManualBindings LuaWindow Plugin PluginLua WebPlugin)