CMakeLists.gl.txt 2.21 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
include_directories(
	${piglit_SOURCE_DIR}/tests
	${piglit_SOURCE_DIR}/tests/util

	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${GLUT_INCLUDE_DIR}
	)

add_library(hiz-util
	hiz-util.c
	)

14
15
16
17
18
19
20
21
22
23
24
25
26
link_libraries (
	hiz-util
	piglitutil

	${OPENGL_gl_LIBRARY}
	${OPENGL_glu_LIBRARY}
	${GLUT_glut_LIBRARY}
)

IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	link_libraries(pthread X11)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

27
28
29
30
add_executable(hiz-depth-stencil-test-fbo-d0-s8 hiz-depth-stencil-test-fbo-d0-s8.c)
add_executable(hiz-depth-stencil-test-fbo-d24-s0 hiz-depth-stencil-test-fbo-d24-s0.c)
add_executable(hiz-depth-stencil-test-fbo-d24-s8 hiz-depth-stencil-test-fbo-d24-s8.c)
add_executable(hiz-depth-stencil-test-fbo-d24s8 hiz-depth-stencil-test-fbo-d24s8.c)
31
32
33
34
35
add_executable(hiz-depth-read-fbo-d24-s0 hiz-depth-read-fbo-d24-s0.c)
add_executable(hiz-depth-read-fbo-d24-s8 hiz-depth-read-fbo-d24-s8.c)
add_executable(hiz-depth-read-fbo-d24s8 hiz-depth-read-fbo-d24s8.c)
add_executable(hiz-depth-read-window-stencil0 hiz-depth-read-window-stencil0.c)
add_executable(hiz-depth-read-window-stencil1 hiz-depth-read-window-stencil1.c)
36
add_executable(hiz-depth-test-fbo-d24-s0 hiz-depth-test-fbo-d24-s0.c)
37
38
add_executable(hiz-depth-test-fbo-d24-s8 hiz-depth-test-fbo-d24-s8.c)
add_executable(hiz-depth-test-fbo-d24s8 hiz-depth-test-fbo-d24s8.c)
39
40
add_executable(hiz-depth-test-window-stencil0 hiz-depth-test-window-stencil0.c)
add_executable(hiz-depth-test-window-stencil1 hiz-depth-test-window-stencil1.c)
41
42
43
44
45
add_executable(hiz-stencil-read-fbo-d0-s8 hiz-stencil-read-fbo-d0-s8.c)
add_executable(hiz-stencil-read-fbo-d24-s8 hiz-stencil-read-fbo-d24-s8.c)
add_executable(hiz-stencil-read-fbo-d24s8 hiz-stencil-read-fbo-d24s8.c)
add_executable(hiz-stencil-read-window-depth0 hiz-stencil-read-window-depth0.c)
add_executable(hiz-stencil-read-window-depth1 hiz-stencil-read-window-depth1.c)
Chad Versace's avatar
Chad Versace committed
46
47
48
49
50
add_executable(hiz-stencil-test-fbo-d0-s8 hiz-stencil-test-fbo-d0-s8.c)
add_executable(hiz-stencil-test-fbo-d24-s8 hiz-stencil-test-fbo-d24-s8.c)
add_executable(hiz-stencil-test-fbo-d24s8 hiz-stencil-test-fbo-d24s8.c)
add_executable(hiz-stencil-test-window-depth0 hiz-stencil-test-window-depth0.c)
add_executable(hiz-stencil-test-window-depth1 hiz-stencil-test-window-depth1.c)
51

52
# vim: ft=cmake: