Go to the documentation of this file.
43 #if !defined(GLS_LIB_SUFFIX)
45 # pragma message("Warning (version.h): Unrecognized compiler version")
46 # define GLS_COMPILER_VERSION vcXX
47 # elif _MSC_VER < 1800
49 # define GLS_LIB_SUFFIX "_vc110_64"
51 # define GLS_LIB_SUFFIX "_vc110"
53 # elif _MSC_VER < 1900
55 # define GLS_LIB_SUFFIX "_vc120_64"
57 # define GLS_LIB_SUFFIX "_vc120"
59 # elif _MSC_VER < 1910
61 # define GLS_LIB_SUFFIX "_vc140_64"
63 # define GLS_LIB_SUFFIX "_vc140"
65 # elif _MSC_VER < 2000
67 # define GLS_LIB_SUFFIX "_vc141_64"
69 # define GLS_LIB_SUFFIX "_vc141"
72 # error "Unsupported Compiler detected."
73 # define GLS_LIB_SUFFIX "_vcXX"
78 #if !defined(GLS_LIB_CRT_SUFFIX)
82 # define GLS_LIB_CRT_SUFFIX "mdd"
84 # define GLS_LIB_CRT_SUFFIX "mtd"
87 # define GLS_LIB_CRT_SUFFIX "mld"
92 # define GLS_LIB_CRT_SUFFIX "md"
94 # define GLS_LIB_CRT_SUFFIX "mt"
97 # define GLS_LIB_CRT_SUFFIX "ml"
103 #if !defined(GLS_LIB_TYPE)
104 # if defined(GLS_IMPORT_LIBRARY) // glstudio runtime DLL
105 # define GLS_LIB_TYPE "_glsdll"
106 # else // statically linked glstudio runtime library
107 # define GLS_LIB_TYPE ""
112 #if !defined(GLS_AUTOLIB_SUFFIX)
113 # if defined(GLS_AUTOLIB_DEBUG)
114 # define GLS_AUTOLIB_SUFFIX "d"
116 # define GLS_AUTOLIB_SUFFIX
121 #if !defined(NO_GLS_AUTOLIB)
122 # define GLS_BUILD_LIB_NAME( x ) x GLS_AUTOLIB_SUFFIX GLS_LIB_TYPE GLS_LIB_SUFFIX GLS_LIB_CRT_SUFFIX ".lib"
123 # define GLS_AUTOLIBNAME GLS_BUILD_LIB_NAME(LIB_BASE_NAME)
124 # pragma message( "Will automatically link with " GLS_AUTOLIBNAME )
125 # pragma comment(lib, GLS_AUTOLIBNAME)
126 # undef GLS_AUTOLIBNAME
127 # undef GLS_BUILD_LIB_NAME
130 #endif //end of WIN32