Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Static Library project #30

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Conversation

fburel
Copy link

@fburel fburel commented Oct 16, 2018

In this pull request, I have separated the core class in a static lib (EspTouchLib.a)
The EspTouchDemo project only reference this library.
To use the library in another project :

create an 'include' folder in your project root directory
copy the ./Library/EspTouch folder in your include directory
in your project Build Phases, section link Binary With Libraries, add a reference to libEspTouch.a
in your project build Setting, add a new header_search_path with the value : "$SOURCE_ROOT/include"
add #import "EspTouch/ESPTouch.h" in your code source when you need to access EspTouch classes
I think providing the code as this will improve the understanding and will make it easier to maintain rather than having 2 separate repo (1 for the lib and one for the actual code)

@muhammadfaheem-pycom
Copy link

I think now its time to shape this repo as SDK for ios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants