summaryrefslogblamecommitdiffstats
path: root/src/Bindings/CMakeLists.txt
blob: da6a6919aaef6d3e142caec5a327af9dbd1e4cb4 (plain) (tree)































                                                 





                                                                
cmake_minimum_required (VERSION 2.6)
project (MCServer)

include_directories ("${PROJECT_SOURCE_DIR}/../")

SET (SRCS
    Bindings.cpp
    DeprecatedBindings.cpp
    LuaChunkStay.cpp
    LuaState.cpp
    LuaWindow.cpp
    ManualBindings.cpp
    Plugin.cpp
    PluginLua.cpp
    PluginManager.cpp
    WebPlugin.cpp
)

SET (HDRS
    Bindings.h
    DeprecatedBindings.h
    LuaChunkStay.h
    LuaFunctions.h
    LuaState.h
    LuaWindow.h
    ManualBindings.h
    Plugin.h
    PluginLua.h
    PluginManager.h
    WebPlugin.h
    tolua++.h
)

if(NOT MSVC)
    add_library(Bindings ${SRCS} ${HDRS})

    target_link_libraries(Bindings lua sqlite tolualib polarssl)
endif()