[Piglit] [PATCH 1/9] Add layered-rendering tests to CMakeLists
Jacob Penner
jkpenner91 at gmail.com
Mon Aug 26 11:43:44 PDT 2013
Create new subdirectory:
layered-rendering/
Add Tests:
layered-rendering/blit.c
layered-rendering/clear-color.c
layered-rendering/framebuffer-layer-complete.c
layered-rendering/framebuffertexture.c
layered-rendering/framebuffertexture-buffer-textures.c
layered-rendering/get-framebuffer-attachment-parameter.c
layered-rendering/readpixels.c
---
tests/spec/gl-3.2/CMakeLists.txt | 4 +++-
tests/spec/gl-3.2/layered-rendering/CMakeLists.gl.txt | 19 +++++++++++++++++++
tests/spec/gl-3.2/layered-rendering/CMakeLists.txt | 1 +
3 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 tests/spec/gl-3.2/layered-rendering/CMakeLists.gl.txt
create mode 100644 tests/spec/gl-3.2/layered-rendering/CMakeLists.txt
diff --git a/tests/spec/gl-3.2/CMakeLists.txt b/tests/spec/gl-3.2/CMakeLists.txt
index 4a012b9..035dff5 100644
--- a/tests/spec/gl-3.2/CMakeLists.txt
+++ b/tests/spec/gl-3.2/CMakeLists.txt
@@ -1 +1,3 @@
-piglit_include_target_api()
\ No newline at end of file
+add_subdirectory (layered-rendering)
+piglit_include_target_api()
+
diff --git a/tests/spec/gl-3.2/layered-rendering/CMakeLists.gl.txt b/tests/spec/gl-3.2/layered-rendering/CMakeLists.gl.txt
new file mode 100644
index 0000000..30406bc
--- /dev/null
+++ b/tests/spec/gl-3.2/layered-rendering/CMakeLists.gl.txt
@@ -0,0 +1,19 @@
+include_directories(
+ ${GLEXT_INCLUDE_DIR}
+ ${OPENGL_INCLUDE_PATH}
+)
+
+link_libraries (
+ piglitutil_${piglit_target_api}
+ ${OPENGL_gl_LIBRARY}
+ ${OPENGL_glu_LIBRARY}
+)
+
+piglit_add_executable (gl-3.2-layered-rendering-blit blit.c)
+piglit_add_executable (gl-3.2-layered-rendering-clear-color clear-color.c)
+piglit_add_executable (gl-3.2-layered-rendering-framebuffer-layer-complete framebuffer-layer-complete.c)
+piglit_add_executable (gl-3.2-layered-rendering-framebuffertexture framebuffertexture.c)
+piglit_add_executable (gl-3.2-layered-rendering-framebuffertexture-buffer-textures framebuffertexture-buffer-textures.c)
+piglit_add_executable (gl-3.2-layered-rendering-get-framebuffer-attachment-parameter get-framebuffer-attachment-parameter.c)
+piglit_add_executable (gl-3.2-layered-rendering-readpixels readpixels.c)
+# vim: ft=cmake:
diff --git a/tests/spec/gl-3.2/layered-rendering/CMakeLists.txt b/tests/spec/gl-3.2/layered-rendering/CMakeLists.txt
new file mode 100644
index 0000000..144a306
--- /dev/null
+++ b/tests/spec/gl-3.2/layered-rendering/CMakeLists.txt
@@ -0,0 +1 @@
+piglit_include_target_api()
--
1.8.3.1
More information about the Piglit
mailing list