Skip to content

How poac manage dependencies #931

Answered by ken-matsui
Mihawka asked this question in Q&A
Discussion options

You must be logged in to vote

Since GLFW has an include/ directory, Poac automatically passes the path to this directory when you build your project. However, Poac currently supports building a project with header-only dependencies. If you need to build GLFW to use, then it cannot be used. If it is a header-only library, then you can use it like #inlcude <GLFW/glfw3.h>, according to its directory structure.

So, as long as your dependency is header-only and provides its headers within the repository root (toml11 case) or include/ (GLFW case) directory, you can use it via Poac.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mihawka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants