开发者

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

开发者 https://www.devze.com 2023-03-04 05:34 出处:网络
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:

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

精彩评论

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