eqemu-server/luabind/CMakeLists.txt
Arthur Ice 78423ebcd0 Ignore all non syntax error warnings from lua bindings.
luabind is auto generated so we don't want to check the warnings from
this library, just check to be sure it won't cause a compile issue.
2014-04-10 16:21:23 -07:00

35 lines
571 B
CMake

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
SET(lb_sources
src/class.cpp
src/class_info.cpp
src/class_registry.cpp
src/class_rep.cpp
src/create_class.cpp
src/error.cpp
src/exception_handler.cpp
src/function.cpp
src/inheritance.cpp
src/link_compatibility.cpp
src/object_rep.cpp
src/open.cpp
src/pcall.cpp
src/scope.cpp
src/stack_content_by_name.cpp
src/weak_ref.cpp
src/wrapper_base.cpp
)
SET(lb_headers
)
ADD_LIBRARY(luabind ${lb_sources} ${lb_headers})
IF(UNIX)
ADD_DEFINITIONS(-fPIC -fsyntax-only)
ENDIF(UNIX)
SET(LIBRARY_OUTPUT_PATH ../Bin)