CMakeLists.txt added. SMTPEmail.pc.in added. SMTPEmail.pro updated. F… #82
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…ile structure changed (headers move into Include dir, src renamed in to Src
Main inspiration to create this branch is switch my projects from qmake to cmake build system. I created CMakeLists.txt file similar to the one in https://github.com/iamantony/qtcsv project. In order to better system integration I exclude *.h files to separate subfolder: Include/ . I also renamed src/ to Src/ because I feel it is nicer to read directories and files begin with upper letter. I also added SMTPEmail.pc.in template file - this allow to use this library not only in Cmake projects, but also in Make and Autotools projects. In addition cmake generates important files which describe how to use this library (SMTPEmailConfig.cmake SMTPEmailConfig-debug.cmake SMTPEmailConfig-release.cmake SMTPEmailConfigVersion.cmake). It is good move to switch now to the cmake because qmake will be dropped with Qt6 and cmake is far more complex and powerful, many projects are already build by cmake (notable Kde). I also update qmake to handle new source structure. I do basic test (compile and linking to the app, run app). But I do not make Qt4 integration test.