mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 08:31:56 +00:00
Merge https://github.com/nigels-com/glew.git into master HEAD at Sun Feb 3 17:44:16 GMT 2019
This commit is contained in:
commit
abb57c9b54
@ -86,7 +86,6 @@ B.TARGETS = \
|
||||
|
||||
all custom: $(I.TARGETS) $(S.TARGETS) $(D.TARGETS) $(B.TARGETS)
|
||||
|
||||
registry: OpenGL-Registry/.dummy
|
||||
ext: $(EXT)/.dummy
|
||||
|
||||
OpenGL-Registry/.dummy:
|
||||
@ -94,21 +93,29 @@ OpenGL-Registry/.dummy:
|
||||
@echo "Downloading OpenGL-Registry"
|
||||
@echo "--------------------------------------------------------------------"
|
||||
git clone $(REPO_OPENGL) OpenGL-Registry
|
||||
git clone $(REPO_EGL) EGL-Registry
|
||||
git clone --branch glew $(REPO_GLFIXES) glfixes
|
||||
touch $@
|
||||
|
||||
$(EXT)/.dummy: OpenGL-Registry/.dummy
|
||||
EGL-Registry/.dummy:
|
||||
@echo "--------------------------------------------------------------------"
|
||||
@echo "Creating descriptors"
|
||||
@echo "Downloading EGL-Registry"
|
||||
@echo "--------------------------------------------------------------------"
|
||||
git clone $(REPO_EGL) EGL-Registry
|
||||
touch $@
|
||||
|
||||
$(EXT)/.dummy: OpenGL-Registry/.dummy EGL-Registry/.dummy
|
||||
@echo "--------------------------------------------------------------------"
|
||||
@echo "OpenGL descriptors"
|
||||
@echo "--------------------------------------------------------------------"
|
||||
rm -rf $(EXT)
|
||||
cp -r glfixes/gl/specs/ANGLE OpenGL-Registry/extensions
|
||||
cp -r glfixes/gl/specs/REGAL OpenGL-Registry/extensions
|
||||
$(BIN)/update_ext.sh $(EXT) OpenGL-Registry/extensions $(BLACKLIST)
|
||||
# $(PYTHON) $(BIN)/parse_xml.py EGL-Registry/api/egl.xml --core core/gl --extensions extensions/gl
|
||||
$(PYTHON) $(BIN)/parse_xml.py EGL-Registry/api/egl.xml --extensions extensions/gl
|
||||
$(BIN)/filter_gl_ext.sh $(EXT)
|
||||
@echo "--------------------------------------------------------------------"
|
||||
@echo "EGL descriptors"
|
||||
@echo "--------------------------------------------------------------------"
|
||||
$(PYTHON) $(BIN)/parse_xml.py EGL-Registry/api/egl.xml --extensions extensions/gl
|
||||
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \
|
||||
xargs -J % cp % $(EXT)
|
||||
|
Loading…
Reference in New Issue
Block a user