geoffmcl / glew

Fork of The OpenGL Extension Wrangler Library
Other
0 stars 0 forks source link

problem with DLL dependency of the info exe's #2

Open geoffmcl opened 6 years ago

geoffmcl commented 6 years ago

The Windows DLL dependency for the 2.1.0 release of glewinfo.exe is as follows -

Total imports: 4, in case insensitive alphabetic order...
GDI32.dll KERNEL32.dll OPENGL32.dll USER32.dll 

And the release visualinfo.exe similar, with the addition of GLU32.dll...

However the recent build of the git source using cmake generator and MSVC 14 x64 shows a massive list , which also includes glew32.dll , UGH! -

Total imports: 13, in case insensitive alphabetic order...
api-ms-win-crt-convert-l1-1-0.dll api-ms-win-crt-heap-l1-1-0.dll api-ms-win-crt-locale-l1-1-0.dll 
api-ms-win-crt-math-l1-1-0.dll api-ms-win-crt-runtime-l1-1-0.dll api-ms-win-crt-stdio-l1-1-0.dll 
api-ms-win-crt-string-l1-1-0.dll GDI32.dll glew32.dll KERNEL32.dll OPENGL32.dll USER32.dll 
VCRUNTIME140.dll 

And similar for visualinfo.exe...

I have not yet fully checked the vc6 to vc15 solution files...

But removing this big dependency is relatively easy in the cmake CMakeLists.txt ...