Move definition of GLSLANG_EXPORT to visibility.h

The GLSLANG_EXPORT macro is already used (and defined) in two separate
places and will be used in a few more in the near future. To reduce
duplication it is now in its own header.
This commit is contained in:
Arcady Goldmints-Orlov 2023-09-21 16:26:59 -04:00 committed by arcady-lunarg
parent 592de6cf78
commit 9e8dff7d42
4 changed files with 54 additions and 32 deletions

View file

@ -261,6 +261,7 @@ if(GLSLANG_ENABLE_INSTALL)
Include/glslang_c_shader_types.h
Include/ResourceLimits.h
MachineIndependent/iomapper.h
Include/visibility.h
MachineIndependent/Versions.h)
foreach(file ${PUBLIC_HEADERS})