OpenGL ES is enough for our purpose and we don't want to maintain a unneeded OpenGL ES to GL translator. All target drivers have proper OpenGL ES support these days so no need to depend on GL anymore.
23 lines
657 B
CMake
23 lines
657 B
CMake
set(GENERATED_SOURCES
|
|
gles1_extensions_functions.h
|
|
gles1_only_functions.h
|
|
gles2_extensions_functions.h
|
|
gles2_only_functions.h
|
|
gles3_only_functions.h
|
|
gles_common_functions.h
|
|
gles_extensions_functions.h
|
|
gles_functions.h
|
|
RenderEGL_extensions_functions.h
|
|
RenderEGL_functions.h)
|
|
|
|
add_custom_target(GLHeaders)
|
|
add_custom_command(
|
|
TARGET GLHeaders
|
|
POST_BUILD
|
|
COMMAND ${CMAKE_SOURCE_DIR}/scripts/gen-emugl-headers.sh ${CMAKE_BINARY_DIR}
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
|
|
|
add_subdirectory(GLESv1_dec)
|
|
add_subdirectory(GLESv2_dec)
|
|
add_subdirectory(libOpenGLESDispatch)
|
|
add_subdirectory(renderControl_dec)
|