Disabling visibility=hidden for certain cpp files?

Simon Edwards simon at simonzone.com
Wed Oct 24 19:07:58 CEST 2007


Dirk Mueller wrote:
> On Friday 19 October 2007, Simon Edwards wrote:
>> Is there a neat way of disabling gcc's visibility=hidden for a given
>> library? (which in my case will actually be a Python module) Or should I
>> just manually filter it out of CMAKE_CXX_FLAGS for my code?
> 
> is there a particular reason you want it to be disabled?

Because SIP doesn't support it and I need to compile the cpp it 
generates for bindings.

I've found a hacky solution around the problem in the meantime. (string 
replace) An official way would be neater.

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."


More information about the Kde-buildsystem mailing list