I have proposed the following PR to address this: https://github.com/OpenImageIO/oiio/pull/3834
> On May 7, 2023, at 10:43 PM, Fabrice Macagno <fabrice.maca...@al.com.au> > wrote: > > That's right, to achieve symbol hiding by default, I would replace > "CXX_VISIBILITY_PRESET" (target property) by "CMAKE_CXX_VISIBILITY_PRESET" > (property's default value). That's what I do here anyway to build OIIO. > You've probably already worked it out but, keep in mind that such a change > means that the resulting binary will technically have a different ABI than > previous builds, as symbols have been removed (although they shouldn't be > depended on). Perhaps a change to keep for next ABI changing release? -- Larry Gritz l...@larrygritz.com
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org