How to adjust Header Search Paths?
See original GitHub issueNow I use the library libxml2.dylib
, in order to work correctly i need to adjust header search paths to point at the libxml headers, In Xcode i can set it as ${SDKROOT}/usr/include/libxml2
. how to do it for Buck?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Adding system header search path to Xcode - Stack Overflow
Look at Preferences->Locations->"Custom Paths" in Xcode's preference. A path added here will be a variable which you can add to "Header Search Paths"...
Read more >Xcode add header search path | Apple Developer Forums
Select either the project or the target from the left side of the project editor. Click the Build Settings button at the top...
Read more >2.3. Search Path - MIT
If you need to look for headers in a directory named -, write -I./-. There are several more ways to adjust the header...
Read more >How add a Header Search Path to Xcode project via CMake?
In order for this to compile, in my project's plugin target, I needed to add the following Header Search path to declare that...
Read more >Why does the header search path configured in Package.swift ...
swift to change my project dependency management into Swift Package Manager. So sad. I think it's quite unreasonable : (. 1 Like. 0xTim ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can add
-I${SDKROOT}/usr/include/libxml2
toexported_preprocessor_flags
.If you want to refer to headers inside your source tree you should use https://buckbuild.com/rule/apple_library.html#exported_headers, not
exported_preprocessor_flags
.