[Piglit] [PATCH 1/8] arb_texture_multisample: add cmake plumbing

Chris Forbes chrisf at ijw.co.nz
Sat Jan 5 01:07:32 PST 2013


Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 tests/spec/CMakeLists.txt                            |  1 +
 tests/spec/arb_texture_multisample/CMakeLists.gl.txt | 14 ++++++++++++++
 tests/spec/arb_texture_multisample/CMakeLists.txt    |  1 +
 3 files changed, 16 insertions(+)
 create mode 100644 tests/spec/arb_texture_multisample/CMakeLists.gl.txt
 create mode 100644 tests/spec/arb_texture_multisample/CMakeLists.txt

diff --git a/tests/spec/CMakeLists.txt b/tests/spec/CMakeLists.txt
index 9ec37fa..c91b3da 100644
--- a/tests/spec/CMakeLists.txt
+++ b/tests/spec/CMakeLists.txt
@@ -23,6 +23,7 @@ add_subdirectory (arb_texture_buffer_object)
 add_subdirectory (arb_texture_compression)
 add_subdirectory (arb_texture_cube_map_array)
 add_subdirectory (arb_texture_float)
+add_subdirectory (arb_texture_multisample)
 add_subdirectory (arb_texture_storage)
 add_subdirectory (arb_timer_query)
 add_subdirectory (arb_transform_feedback2)
diff --git a/tests/spec/arb_texture_multisample/CMakeLists.gl.txt b/tests/spec/arb_texture_multisample/CMakeLists.gl.txt
new file mode 100644
index 0000000..c37afac
--- /dev/null
+++ b/tests/spec/arb_texture_multisample/CMakeLists.gl.txt
@@ -0,0 +1,14 @@
+include_directories(
+	${GLEXT_INCLUDE_DIR}
+	${OPENGL_INCLUDE_PATH}
+	${piglit_SOURCE_DIR}/tests/spec/arb_texture_multisample
+)
+
+link_libraries (
+	piglitutil_${piglit_target_api}
+	${OPENGL_gl_LIBRARY}
+	${OPENGL_glu_LIBRARY}
+)
+
+
+# vim: ft=cmake:
diff --git a/tests/spec/arb_texture_multisample/CMakeLists.txt b/tests/spec/arb_texture_multisample/CMakeLists.txt
new file mode 100644
index 0000000..144a306
--- /dev/null
+++ b/tests/spec/arb_texture_multisample/CMakeLists.txt
@@ -0,0 +1 @@
+piglit_include_target_api()
-- 
1.8.1



More information about the Piglit mailing list