【发布时间】:2011-02-07 22:59:00
【问题描述】:
如果我有一个像下面的树这样的目录结构,我的 g++ 命令应该是什么样子才能成功编译 taglib/bin 目录中的 .cpp 文件,而我的所有 .h 文件都位于 taglib/ 中包含/taglib 目录。
任何人的帮助将不胜感激。 谢谢!
-taglib
--bin
.cpp file is here, incl headers are like this: #include <other.h>
but wondering if it should be #include </taglib/include/taglib/other.h>,
also, this should be where my binary will live when compiled.
--lib
all my .so files live here
--include
---taglib
all my .h files live here
【问题讨论】: