summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2014-06-11 13:52:01 -0700
committerChad Versace <chad.versace@linux.intel.com>2014-06-23 02:37:36 -0700
commit0caf33e1722fc3f3aeb04b744c40fba5d6d09a16 (patch)
treeea761a6dab4c42aaf46faf7ae4d33708ccd2016e /cmake
parentac1f382db9d3ea5c69870a2bcd62a24bdb81ec5b (diff)
glapi: Remove the glapi directory
Piglit no longer uses the directory because it now generates piglit-dispatch from the Khronos XML. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/piglit_glapi.cmake45
1 files changed, 0 insertions, 45 deletions
diff --git a/cmake/piglit_glapi.cmake b/cmake/piglit_glapi.cmake
deleted file mode 100644
index 59d4d428f..000000000
--- a/cmake/piglit_glapi.cmake
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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}
- )