emugl: generate GL ES/EGL function prototypes at build type from entries files
This will make the *.entries files the the authoritative place to define additional GL function prototypes. All generated header files are now placed inside the build directory so that nobody will ever try to touch them again.
This commit is contained in:
parent
86cc5f1e37
commit
067201baba
20 changed files with 628 additions and 504 deletions
19
external/android-emugl/host/libs/CMakeLists.txt
vendored
19
external/android-emugl/host/libs/CMakeLists.txt
vendored
|
|
@ -1,3 +1,22 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue