Ignore:
Timestamp:
07/12/12 07:43:42 (11 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.1, 0.4.2
Children:
c327ce5
Parents:
6090c98
Message:
  • LUAScript: Improved lua scripting module a lot
  • LUAScript: Added protocol buffer support to lua scripts
  • tests: Rewrote (halfway there) test_nrpe python script as a lua script.
  • CheckEventLog: Fixed command name when submitting real-time "no action checks"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/LUAScript/CMakeLists.txt

    ra06e6af r53be5c8  
    88  stdafx.cpp 
    99  "${TARGET}.cpp" 
     10  lua_wrappers.cpp 
     11 
    1012  ${NSCP_DEF_PLUGIN_CPP} 
    1113) 
     
    2830add_library(${TARGET} MODULE ${SRCS}) 
    2931 
     32SET(LUA_PB) 
     33IF (PROTOC_GEN_LUA_FOUND) 
     34  MESSAGE(STATUS "Lua has PB support") 
     35  SET(LUA_PB lua_pb_static) 
     36  ADD_DEFINITIONS(-DHAVE_LUA_PB) 
     37  INCLUDE_DIRECTORIES(${NSCP_PROJECT_BINARY_DIR}/libs/lua_pb) 
     38  INCLUDE_DIRECTORIES(${NSCP_PROJECT_BINARY_DIR}/libs/protobuf) 
     39ENDIF() 
     40 
     41 
    3042target_link_libraries(${TARGET} 
    3143  ${Boost_FILESYSTEM_LIBRARY} 
     44  ${Boost_PROGRAM_OPTIONS_LIBRARY} 
    3245  ${NSCP_DEF_PLUGIN_LIB} 
    3346  lua_static 
     47  ${LUA_PB} 
    3448) 
    3549INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) 
Note: See TracChangeset for help on using the changeset viewer.