0.4.00.4.10.4.2
|
Last change
on this file since 96c1461 was
96c1461,
checked in by Michael Medin <michael@…>, 18 months ago
|
- Major refactoring in the command line interface
- Added support for alias to many common module (command line)
so: nscp eventlog (is the same as nscp client --module CheckEventLog)
- Fixed issue with CheckEventLog message rendering and eventid
- Refactored all Client modules to all support command line, commands and submissions.
- Added uniform handling of "everything" to all Client plugins
- Fixed SyslogClient to work "as advertised" (ie. all hardcoded stuff is removed)
- Fixed utf8 issue with text strings (now have a working concept which needs to be implementd "all over the place")
- Many issues and fixes related to clients.
- Fixed so CheckEvent? log (insert) works much better (added new options)
|
-
Property mode set to
100644
|
|
File size:
1017 bytes
|
| Line | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET NRPEClient) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | SET(SRCS |
|---|
| 8 | stdafx.cpp |
|---|
| 9 | "${TARGET}.cpp" |
|---|
| 10 | ${NSCP_INCLUDEDIR}/nrpe/packet.cpp |
|---|
| 11 | ${NSCP_INCLUDEDIR}/socket/socket_helpers.cpp |
|---|
| 12 | ${NSCP_INCLUDEDIR}/client/command_line_parser.cpp |
|---|
| 13 | |
|---|
| 14 | ${NSCP_DEF_PLUGIN_CPP} |
|---|
| 15 | ) |
|---|
| 16 | |
|---|
| 17 | ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES}) |
|---|
| 18 | IF(OPENSSL_FOUND) |
|---|
| 19 | ADD_DEFINITIONS(-DUSE_SSL) |
|---|
| 20 | ENDIF(OPENSSL_FOUND) |
|---|
| 21 | |
|---|
| 22 | IF(WIN32) |
|---|
| 23 | SET(SRCS ${SRCS} |
|---|
| 24 | stdafx.h |
|---|
| 25 | "${TARGET}.h" |
|---|
| 26 | "${TARGET}.def" |
|---|
| 27 | ${NSCP_INCLUDEDIR}/nrpe/packet.hpp |
|---|
| 28 | ${NSCP_INCLUDEDIR}/nrpe/client/socket.hpp |
|---|
| 29 | ${NSCP_INCLUDEDIR}/swap_bytes.hpp |
|---|
| 30 | ${NSCP_INCLUDEDIR}/socket/socket_helpers.hpp |
|---|
| 31 | ${NSCP_INCLUDEDIR}/client/command_line_parser.hpp |
|---|
| 32 | |
|---|
| 33 | ${NSCP_DEF_PLUGIN_HPP} |
|---|
| 34 | ) |
|---|
| 35 | ENDIF(WIN32) |
|---|
| 36 | |
|---|
| 37 | add_library(${TARGET} MODULE ${SRCS}) |
|---|
| 38 | INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR}) |
|---|
| 39 | |
|---|
| 40 | target_link_libraries(${TARGET} |
|---|
| 41 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 42 | ${NSCP_DEF_PLUGIN_LIB} |
|---|
| 43 | ${OPENSSL_LIBRARIES} |
|---|
| 44 | ) |
|---|
| 45 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
| 46 | SOURCE_GROUP("Server" REGULAR_EXPRESSION .*include/nrpe/.*) |
|---|
Note: See
TracBrowser
for help on using the repository browser.