0.4.00.4.10.4.2
|
Last change
on this file since b24c97f was
40fca56,
checked in by Michael Medin <michael@…>, 19 months ago
|
- Added initial SMTPClient to allow sending messages via SMTP.
Still requires template support and configuration options (mainly PoC right now).
- Fixed unicode log issue (still not sure message format is correct)
- Renamed Message to log in internal wrapper API
- Fixed issue in settings old (regarding readin new keys, not 100% supported yet)
|
-
Property mode set to
100644
|
|
File size:
752 bytes
|
| Line | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET SMTPClient) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | SET(SRCS |
|---|
| 8 | stdafx.cpp |
|---|
| 9 | "${TARGET}.cpp" |
|---|
| 10 | smtp.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 | |
|---|
| 19 | IF(WIN32) |
|---|
| 20 | SET(SRCS ${SRCS} |
|---|
| 21 | stdafx.h |
|---|
| 22 | "${TARGET}.h" |
|---|
| 23 | "${TARGET}.def" |
|---|
| 24 | smtp.hpp |
|---|
| 25 | ${NSCP_INCLUDEDIR}/socket/socket_helpers.hpp |
|---|
| 26 | ${NSCP_INCLUDEDIR}/client/command_line_parser.hpp |
|---|
| 27 | ${NSCP_DEF_PLUGIN_HPP} |
|---|
| 28 | ) |
|---|
| 29 | ENDIF(WIN32) |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | add_library(${TARGET} MODULE ${SRCS}) |
|---|
| 33 | |
|---|
| 34 | target_link_libraries(${TARGET} |
|---|
| 35 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 36 | ${NSCP_DEF_PLUGIN_LIB} |
|---|
| 37 | ) |
|---|
| 38 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
| 39 | SOURCE_GROUP("Server" REGULAR_EXPRESSION .*include/smtp/.*) |
|---|
Note: See
TracBrowser
for help on using the repository browser.