function cppSharedLibraryCompiler()
%CPPSHAREDLIBRARYCOMPILER Package MATLAB Programs for deployment as C++ Shared Libraries

% Not supported in MATLAB Online
import matlab.internal.capability.Capability;
Capability.require([Capability.LocalClient])

if feature('webui')
message.publish(strcat('/matlab_compiler/app_gallery'), 'CppSharedLib');
else
% Fall back to the old app in the classic desktop
libraryCompiler
end
end