A simple research-oriented image viewer with an emphasis on examining and comparing high-dynamic range (HDR) images, and including minimalistic editing and tonemapping capabilities.
Added NOMINMAX define in CMake on Win32 to avoid Color3::min() colliding with Microsoft's min macro
Building zlib: using externalproject_add() function to force CMake to only build the Release configuration on Win32, supporting configurations other than Release for HDRView on Windows
Added details about getting boost on Win32 in README.
Note:
When building hdrbatch the linker will now throw warnings because we are linking a release library to a debug executable. This might be an issue but it's still better than not being able to build at all.
[build] LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\Ghost\repos\hdrview-jarosz\build\hdrbatch.vcxproj]
[build] LINK : warning LNK4217: symbol 'free' defined in 'libucrt.lib(free.obj)' is imported by 'zlibstatic.lib(zutil.obj)' in function 'zcfree' [C:\Ghost\repos\hdrview-jarosz\build\hdrbatch.vcxproj]
[build] LINK : warning LNK4217: symbol 'malloc' defined in 'libucrt.lib(malloc.obj)' is imported by 'zlibstatic.lib(zutil.obj)' in function 'zcalloc' [C:\Ghost\repos\hdrview-jarosz\build\hdrbatch.vcxproj]
Testing:
Built hdrview, hdrbatch on Windows via VSCode.
NOMINMAX
define in CMake on Win32 to avoidColor3::min()
colliding with Microsoft's min macroexternalproject_add()
function to force CMake to only build the Release configuration on Win32, supporting configurations other than Release for HDRView on WindowsNote:
Testing: Built hdrview, hdrbatch on Windows via VSCode.