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

Chris Forbes chrisf at ijw.co.nz
Tue Feb 26 02:18:03 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 96b5a61..18b1d37 100644
--- a/tests/spec/CMakeLists.txt
+++ b/tests/spec/CMakeLists.txt
@@ -26,6 +26,7 @@ add_subdirectory (arb_texture_compression)
 add_subdirectory (arb_texture_cube_map_array)
 add_subdirectory (arb_texture_float)
 add_subdirectory (arb_texture_rectangle)
+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.4



More information about the Piglit mailing list