开发者

Including libraries in Eclipse IDE with C++ - Best Practice

For a recent set of projects I have used Eclipse, using MinGW as the compilation system. I have needed to include two libraries for linear algebra:

TNT and JAMA/C++ Armadillo

JAMA/C++ comes as two directories of header开发者_如何学编程 files. Armadillo requires both a directory of header files and some dll libraries.

I somehow got it working(!), but what is the best way to include these types of libraries within Eclipse?


Create separate source folders for them. That way they will be copied to the bin folder during builds yet can be easily managed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜