.lib.....

In the moment i include ALL .lib files that are in the lib-directory. I wish to have it more structured and comfortably so i can find an single statement. (its very hard when i have about 100 libs included!!)

now my question is how can i quickly find out which .lib files are neccesary to build my project.
Do I have to add/remove each lib file -> make a build and see what happens? This would take a long long time :-(
a list of all my inlcudes:

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

#include
#include
#include
#include
#include
#include

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

Thanks in advance and best regards

mathias

Bearloga's picture

The best way is concluded in finding the name of the package of each used OCC class (all characters before underscore in the class name) in all files named "PACKAGES" in source directories whose names begin with "TK". The corresponding toolkit library should be included during linking.
Using grep:
grep "gp" src/TK*/PACKAGES
will give you src/TKMath/PACKAGES, so you should add TKMath.lib