The following steps describe an example of Mailit for C/C++ installation on MacOS.
- Unpack the archive, and copy the content to your projects location.
For example: /My Projects/Mailit
- Create the new project:
- Open the project settings, and add the Mailit includes location in to the
"Header Search Paths" section of the project.
For example: ../../Mailit/include
- Add the Mailit library location to the "Library Search Paths" section of the project.
For example: ../../Mailit/lib
- Set the "Other Linker Flags" option of the "Linking" collection to the "-lmail.it" value.
- As an alternative to the previus two steps, the Library can be simply added
to the Project and to the "Link Binary With Libraries" build phase.
Proceed to the usage examples
|