add_includedirs添加路径后,无法识别代码中路径形式的头文件包含 #5593
Unanswered
Jackey990709
asked this question in
Q&A
Replies: 1 comment 7 replies
-
用 add_includedirs,然后路径对上 |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在lua文件中将所有参与编译的头文件的路径使用add_includedirs进行添加,代码文件中有很多类似
#include "netif/zepif.h"
的头文件包含形式,使用xmake进行编译后会报文件不存在的错,但如果把它改成#include "zepif.h"
就不会报错,这两种编写方式在正常使用的IDE中皆可正常编译,使用xmake该如何正常编译这种含有路径形式的头文件包含的代码工程Beta Was this translation helpful? Give feedback.
All reactions