0.4.10.4.2
|
Last change
on this file since 465866c was
465866c,
checked in by Michael Medin <michael@…>, 12 months ago
|
|
2012-06-05 MickeM
- Tweaked all servers to use the new internals and added first testcase for NSCP socket
2012-05-24 MickeM
- Reworked real time event log support to be a lot more flexible
You can now specify all options on a "filter" level.
- WARNING*
Old syntax NOT supported (and will not upgrade) but hopefully not to many will be affected.
- Added support for ipv6 allowed hosts validation
2012-05-21 MickeM
- Sofia Born (My second daughter)
|
-
Property mode set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET NSCAClient) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | SET(SRCS |
|---|
| 8 | stdafx.cpp |
|---|
| 9 | "${TARGET}.cpp" |
|---|
| 10 | ${NSCP_INCLUDEDIR}/nsca/nsca_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 | IF(HAVE_CRYPTOPP) |
|---|
| 18 | SET(CRYPTOPP_LIB cryptopp_static) |
|---|
| 19 | ADD_DEFINITIONS(-DHAVE_LIBCRYPTOPP) |
|---|
| 20 | INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR}) |
|---|
| 21 | ELSE(HAVE_CRYPTOPP) |
|---|
| 22 | message(STATUS "WARNING: No libCrypto++ in NSCA Module") |
|---|
| 23 | ENDIF(HAVE_CRYPTOPP) |
|---|
| 24 | |
|---|
| 25 | ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES}) |
|---|
| 26 | |
|---|
| 27 | IF(WIN32) |
|---|
| 28 | SET(SRCS ${SRCS} |
|---|
| 29 | stdafx.h |
|---|
| 30 | "${TARGET}.h" |
|---|
| 31 | "${TARGET}.def" |
|---|
| 32 | ${NSCP_INCLUDEDIR}/nsca/nsca_packet.hpp |
|---|
| 33 | ${NSCP_INCLUDEDIR}/nsca/nsca_enrypt.hpp |
|---|
| 34 | ${NSCP_INCLUDEDIR}/swap_bytes.hpp |
|---|
| 35 | ${NSCP_INCLUDEDIR}/socket/socket_helpers.hpp |
|---|
| 36 | ${NSCP_INCLUDEDIR}/socket/client.hpp |
|---|
| 37 | ${NSCP_INCLUDEDIR}/client/command_line_parser.hpp |
|---|
| 38 | |
|---|
| 39 | ${NSCP_DEF_PLUGIN_HPP} |
|---|
| 40 | ) |
|---|
| 41 | ENDIF(WIN32) |
|---|
| 42 | |
|---|
| 43 | add_library(${TARGET} MODULE ${SRCS}) |
|---|
| 44 | |
|---|
| 45 | target_link_libraries(${TARGET} |
|---|
| 46 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 47 | ${Boost_PROGRAM_OPTIONS_LIBRARY} |
|---|
| 48 | ${NSCP_DEF_PLUGIN_LIB} |
|---|
| 49 | ${CRYPTOPP_LIB} |
|---|
| 50 | ) |
|---|
| 51 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
| 52 | SOURCE_GROUP("Server" REGULAR_EXPRESSION .*include/nsca/.*) |
|---|
Note: See
TracBrowser
for help on using the repository browser.