1add_library( 2 GLES_V2_translator_static 3 ANGLEShaderParser.cpp 4 GLESv2Context.cpp 5 GLESv2Imp.cpp 6 GLESv2Validate.cpp 7 ProgramData.cpp 8 SamplerData.cpp 9 ShaderParser.cpp 10 ShaderValidator.cpp 11 TransformFeedbackData.cpp) 12if (NOT MSVC) 13 target_compile_options(GLES_V2_translator_static PRIVATE -fvisibility=hidden) 14endif() 15target_compile_options(GLES_V2_translator_static PRIVATE -Wno-macro-redefined) 16target_link_libraries( 17 GLES_V2_translator_static PRIVATE GLcommon apigen-codec-common gfxstream-base angle_shader_translator) 18