Config.h.in 1.22 KB
#define RANDOMLIB_VERSION_STRING "@PROJECT_VERSION@"
#define RANDOMLIB_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define RANDOMLIB_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define RANDOMLIB_VERSION_PATCH @PROJECT_VERSION_PATCH@

// These are macros which affect the building of the library
#cmakedefine01 HAVE_SSE2
#cmakedefine01 HAVE_ALTIVEC
#cmakedefine01 HAVE_LONG_DOUBLE

// Specify whether RandomLib is a shared or static library.  When compiling
// under Visual Studio it is necessary to specify whether RandomLib is a shared
// library.  This is done with the macro RANDOMLIB_SHARED_LIB, which cmake will
// correctly define as 0 or 1 when only one type of library is in the package.
// If both shared and static libraries are available, RANDOMLIB_SHARED_LIB is
// set to 2 which triggers a preprocessor error in Random.hpp.  In this case,
// the appropriate value (0 or 1) for RANDOMLIB_SHARED_LIB must be specified
// when compiling any program that includes Random.hpp.  This is done
// automatically if RandomLib and the the user's code were built with cmake
// version 2.8.11 (which introduced the command target_compile_definitions) or
// later.
#if !defined(RANDOMLIB_SHARED_LIB)
#define RANDOMLIB_SHARED_LIB @RANDOMLIB_LIB_TYPE_VAL@
#endif