Commit 0caf33e1 authored by Chad Versace's avatar Chad Versace

glapi: Remove the glapi directory

Piglit no longer uses the directory because it now generates
piglit-dispatch from the Khronos XML.
Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent ac1f382d
......@@ -406,7 +406,6 @@ configure_file(
)
include(cmake/piglit_util.cmake)
include(cmake/piglit_glapi.cmake)
include(cmake/piglit_dispatch.cmake)
include_directories(src)
......
# Copyright 2012 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
# Note: we're outputting the generated file to a subdirectory of
# ${CMAKE_SOURCE_DIR} so that we can check it back in to source
# control.
set(piglit_glapi_src_dir ${CMAKE_SOURCE_DIR}/glapi)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/glapi)
set(piglit_glapi_output ${CMAKE_BINARY_DIR}/glapi/glapi.json)
set(piglit_glapi_inputs
${piglit_glapi_src_dir}/parse_glspec.py
${piglit_glapi_src_dir}/gl.tm
${piglit_glapi_src_dir}/gl.spec
${piglit_glapi_src_dir}/enum.spec
${piglit_glapi_src_dir}/enumext.spec
${piglit_glapi_src_dir}/GLES3/gl3.h
${piglit_glapi_src_dir}/GLES2/gl2ext.h
)
add_custom_command(
OUTPUT ${piglit_glapi_output}
DEPENDS ${piglit_glapi_inputs}
COMMAND ${python} ${piglit_glapi_inputs} ${piglit_glapi_output}
)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment