summaryrefslogtreecommitdiff
path: root/tests/glean/CMakeLists.gl.txt
blob: aadb9c41a9e2c59134625ed88b8b4f2a8af6c9eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
if (WIN32)
	add_definitions ( -D__WIN__ -D__MS__ )
ELSEIF (APPLE)
	add_definitions ( -D__AGL__ -D__UNIX__ )
	FIND_LIBRARY(CARBON_LIBRARY Carbon)
	SET(CMAKE_OSX_ARCHITECTURES i386)
ELSE ()
	add_definitions ( -D__X11__ -D__UNIX__ )
ENDIF ()

include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${GLUT_INCLUDE_DIR}
	${TIFF_INCLUDE_DIR}
	${piglit_SOURCE_DIR}/tests/util
)

piglit_add_executable (glean
	codedid.cpp
	dsconfig.cpp
	dsfilt.cpp
	dsurf.cpp
	environ.cpp
	geomrend.cpp
	geomutil.cpp
	glutils.cpp
	main.cpp
	misc.cpp
	options.cpp
	rc.cpp
	tapi2.cpp
	tbasic.cpp
	tbasicperf.cpp
	tbinding.cpp
	tblend.cpp
	tbufferobject.cpp
	tchgperf.cpp
	tclipflat.cpp
	tdepthstencil.cpp
	test.cpp
	tfbo.cpp
	tfpexceptions.cpp
	tfragprog1.cpp
	tgetstr.cpp
	tglsl1.cpp
	tlogicop.cpp
	tmaskedclear.cpp
	tmultitest.cpp
	toccluqry.cpp
	torthpos.cpp
	tpaths.cpp
	tpbo.cpp
	tpgos.cpp
	tpixelformats.cpp
	tpointatten.cpp
	tpointsprite.cpp
	treadpix.cpp
	treadpixperf.cpp
	trgbtris.cpp
	tscissor.cpp
	tshaderapi.cpp
	tstencil2.cpp
	tteapot.cpp
	ttexcombine.cpp
	ttexcombine4.cpp
	ttexcube.cpp
	ttexenv.cpp
	ttexgen.cpp
	ttexrect.cpp
	ttexswizzle.cpp
	ttexture_srgb.cpp
	ttexunits.cpp
	tvertarraybgra.cpp
	tvertattrib.cpp
	tvertprog1.cpp
	tvtxperf.cpp
	winsys.cpp
	gl.cpp
	image_misc.cpp
	pack.cpp
	rdtiff.cpp
	reg.cpp
	unpack.cpp
	wrtiff.cpp
	basic.cpp
	lex.cpp
	timer.cpp
	../util/rgb9e5.c
)

target_link_libraries (glean
	piglitutil
	${OPENGL_gl_LIBRARY}
	${OPENGL_glu_LIBRARY}
	${GLUT_glut_LIBRARY}
	${X11_X11_LIB}
	${TIFF_LIBRARY}
	${CARBON_LIBRARY}
)