[Piglit] [PATCH 11/13] util/gl: Build libpigitutil_gles3

Chad Versace chad.versace at linux.intel.com
Tue Nov 27 17:52:09 PST 2012


This patch just adds a new file, tests/util/CMakeLists.gles3.txt, which is
closely based off tests/util/CMakeLists.gles2.txt.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 tests/util/CMakeLists.gles3.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 tests/util/CMakeLists.gles3.txt

diff --git a/tests/util/CMakeLists.gles3.txt b/tests/util/CMakeLists.gles3.txt
new file mode 100644
index 0000000..d9b78c6
--- /dev/null
+++ b/tests/util/CMakeLists.gles3.txt
@@ -0,0 +1,21 @@
+list(APPEND UTIL_GL_SOURCES
+	minmax-test.c
+	piglit-util-gles.c
+	piglit-util-gles3-enum.c
+	)
+
+include_directories(
+	${UTIL_GL_INCLUDES}
+	)
+
+link_libraries(
+	${UTIL_GL_LIBS}
+	${OPENGL_gles2_LIBRARY}
+	piglitutil_${piglit_target_api}
+	)
+
+piglit_add_library(piglitutil_${piglit_target_api}
+	${UTIL_GL_SOURCES}
+	)
+
+# vim: ft=cmake:
-- 
1.7.11.7



More information about the Piglit mailing list