Stephen Kelly wrote: > if (NOT CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY) There is also this by the way: http://docs.oracle.com/cd/E19205-01/819-5267/bkbda/index.html Does Sun CC supports both -xldscope=hidden and -fvisibility=hidden? Thanks, Steve.