Add symbol visibility annotations to symbols in SPIRV/
Symbols in the SPIRV/ directory that are meant to be part of the public API of glslangnow have GLSLANG_EXPORT annotations that make sure they will be accessible when building glslang as a shared library if -fvisibility=hidden is enabled.
This commit is contained in:
parent
9cd7ca26a2
commit
b1fac200c4
4 changed files with 35 additions and 28 deletions
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "glslang/Include/visibility.h"
|
||||
|
||||
namespace spv {
|
||||
|
||||
|
|
@ -58,7 +59,7 @@ public:
|
|||
|
||||
// Returns all messages accumulated in the order of:
|
||||
// TBD functionalities, missing functionalities, warnings, errors.
|
||||
std::string getAllMessages() const;
|
||||
GLSLANG_EXPORT std::string getAllMessages() const;
|
||||
|
||||
private:
|
||||
SpvBuildLogger(const SpvBuildLogger&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue