Include project headers #759
-
It seems that headers cannot be found within a Poac package. How does one specify headers to Poac? Current project structure current-project
├── LICENSE
├── README.md
├── include
│ └── header.hpp
├── poac.toml
└── src
└── main.cpp Output$ poac run -r
Compiling 1/1: current-project v0.1.0 ("/home/user/current-project")
FAILED: /home/user/current-project/poac-out/release/current-project
g++ -std=c++20 src/main.cpp -o /home/user/current-project/poac-out/release/current-project
src/main.cpp:3:10: fatal error: header.hpp: No such file or directory
3 | #include "header.hpp"
| ^~~~~~~~~~~
compilation terminated.
Error: failed to build package `current-project`
Caused by:
internal build system has been stopped with an error:
subcommand failed |
Beta Was this translation helpful? Give feedback.
Answered by
ken-matsui
May 11, 2023
Replies: 2 comments 2 replies
-
It seems I totally forgot to implement that? I will dig into it when my next free time. Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ken-matsui
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@oraqlle This issue has been resolved by #766.