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

Which header path to include? #6

Open
JanC opened this issue Jul 25, 2012 · 2 comments
Open

Which header path to include? #6

JanC opened this issue Jul 25, 2012 · 2 comments

Comments

@JanC
Copy link

JanC commented Jul 25, 2012

Hi,
the detailed how-to does not say which header path must be included in the user project so that it finds the iOS Ports. Looking at the examples, it seems it is something like

../../../../include

So this depends on where the iOS Ports are. Wouldn't it be possible to make iOS Ports copy the headers to XCode's build directory :

"$(BUILT_PRODUCTS_DIR)/../../include"

In this way, the user would just have to includes this dir no matter where the iOS Ports are on the file system.

cheers
Jan

@JanC
Copy link
Author

JanC commented Jul 25, 2012

e.g. for openssl:

  • add all openssl/include headers to the "Public Headers"

Screenshot

  • then change the crypto Public Header Folder Path to include/openssl

JanC pushed a commit to JanC/iOSPorts that referenced this issue Jul 30, 2012
@JanC
Copy link
Author

JanC commented Aug 1, 2012

The same applies to OpenLDAP. The headers could/should be copied to the include dir in the DerivedData folder

JanC pushed a commit to JanC/iOSPorts that referenced this issue Aug 1, 2012
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

No branches or pull requests

1 participant