Poincare
Poincare

Reputation: 21

C++ Shogun library: Cannot locate shogun/lib/config.h file

I am reading through the shogun C++ library code and while reading in the src folder, I notice that many files include the header file shogun/lib/config.h, but I cannot find this header file in the source code.

For example, if you look at the header file SGMatrix.h you can clearly see that it has the following include statement:

#include <shogun/lib/config.h>

yet you can't find config.h anywhere in shogun/lib. Where can I find this header file?

Upvotes: 0

Views: 139

Answers (1)

Viktor
Viktor

Reputation: 298

The config.h is being created during configuration, i.e. running cmake, and the actual content is based on your system's properties. the template of for the file can be found in src/shogun/lib/config.h.in

Upvotes: 1

Related Questions