0.4.00.4.10.4.2
|
Last change
on this file since d6c3131 was
74e060a,
checked in by Michael Medin <michael@…>, 14 months ago
|
- Added new command to EventLog? CheckEventlogCached? which checks result caught by the real-time process.
CheckEventLogCACHE warn=gt:1 crit=gt:5
Requires a configured real-time checker to work.
- Fixed issue in installer and "Make file writable" by everyone now uses Users SID.
- Fixed issue in installer and "Default plugins" now correctly sets them to 1.
- Removed dependency on tcpip from the service and the installer
- Added a series of keywords to EventLog? check to facilitate better checking
- Added a set of aliases to make EventLog? behave more like Wdinwos Eventlog viewer.
- Added a lot of unit test cases to the Eventlog checker.
- Fixed issue with default schedule beeing added as an item and not a template
|
-
Property mode set to
100644
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET DotnetPlugins) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | SET(SRCS |
|---|
| 8 | stdafx.cpp |
|---|
| 9 | "${TARGET}.cpp" |
|---|
| 10 | ${NSCP_DEF_PLUGIN_CPP} |
|---|
| 11 | plugin_instance.cpp |
|---|
| 12 | |
|---|
| 13 | ${NSCP_INCLUDEDIR}/arrayBuffer.cpp |
|---|
| 14 | |
|---|
| 15 | ${NSCP_INCLUDEDIR}/nscapi/nscapi_core_wrapper.cpp |
|---|
| 16 | ${NSCP_INCLUDEDIR}/nscapi/nscapi_helper.cpp |
|---|
| 17 | ${NSCP_INCLUDEDIR}/nscapi/nscapi_plugin_wrapper.cpp |
|---|
| 18 | ) |
|---|
| 19 | |
|---|
| 20 | ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES}) |
|---|
| 21 | |
|---|
| 22 | IF(WIN32) |
|---|
| 23 | SET(SRCS ${SRCS} |
|---|
| 24 | stdafx.h |
|---|
| 25 | "${TARGET}.h" |
|---|
| 26 | "${TARGET}.def" |
|---|
| 27 | plugin_instance.hpp |
|---|
| 28 | |
|---|
| 29 | ${NSCP_DEF_PLUGIN_HPP} |
|---|
| 30 | ) |
|---|
| 31 | ENDIF(WIN32) |
|---|
| 32 | |
|---|
| 33 | STRING(REPLACE "/EHsc" "/EHa" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) |
|---|
| 34 | STRING(REPLACE "/MT" "/MD" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) |
|---|
| 35 | STRING(REPLACE "/MT" "/MD" CMAKE_CXX_FLAGS_RELWITHDEBINFO ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}) |
|---|
| 36 | STRING(REPLACE "/MT" "/MD" CMAKE_CXX_FLAGS_MINSIZEREL ${CMAKE_CXX_FLAGS_MINSIZEREL}) |
|---|
| 37 | STRING(REPLACE "/MTd" "/MDd" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) |
|---|
| 38 | STRING(REPLACE "/RTC1" "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) |
|---|
| 39 | STRING(REPLACE "/RTCs" "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) |
|---|
| 40 | STRING(REPLACE "/GZ" "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) |
|---|
| 41 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /clr /FU ${BUILD_TARGET_EXE_PATH}/NSCPDOTNET.dll") |
|---|
| 42 | |
|---|
| 43 | ADD_LIBRARY(${TARGET} MODULE ${SRCS}) |
|---|
| 44 | |
|---|
| 45 | ADD_DEPENDENCIES(${TARGET} NSCPDOTNET) |
|---|
| 46 | |
|---|
| 47 | target_link_libraries(${TARGET}) |
|---|
| 48 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
Note: See
TracBrowser
for help on using the repository browser.