Closed bgallois closed 1 year ago
Added CMakeLists.txt to support CMake build. Library can be compiled and installed using:
cmake ../ -DCMAKE_INSTALL_PREFIX="path_to_release_folder" -DQT_VERSION_MAJOR=6 cmake --build . cmake --install .
Library can be used with #include "smtpmime/SmtpMime" and adding:
#include "smtpmime/SmtpMime"
link_directories("path_to_release_folder/lib") include_directories("path_to_release_folder/include") target_link_libraries(exec_name PRIVATE Qt${QT_VERSION_MAJOR}SmtpMime)
Merged this. Thanks!
Added CMakeLists.txt to support CMake build. Library can be compiled and installed using:
Library can be used with
#include "smtpmime/SmtpMime"
and adding: