blob: 9bb37fe8c465f67b20c1ed7b1bd64a2562fe462c (
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
|
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}
${piglit_SOURCE_DIR}/tests/util
)
piglit_add_executable (glean
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
tbinding.cpp
tblend.cpp
tbufferobject.cpp
tdepthstencil.cpp
test.cpp
tfbo.cpp
tfpexceptions.cpp
tfragprog1.cpp
tgetstr.cpp
tglsl1.cpp
tlogicop.cpp
tmultitest.cpp
toccluqry.cpp
torthpos.cpp
tpaths.cpp
tpbo.cpp
tpgos.cpp
tpixelformats.cpp
tpointatten.cpp
tpointsprite.cpp
treadpix.cpp
tshaderapi.cpp
tstencil2.cpp
ttexcombine.cpp
ttexcombine4.cpp
ttexcube.cpp
ttexenv.cpp
ttexgen.cpp
ttexswizzle.cpp
ttexture_srgb.cpp
ttexunits.cpp
tvertarraybgra.cpp
tvertattrib.cpp
tvertprog1.cpp
winsys.cpp
gl.cpp
image_misc.cpp
pack.cpp
reg.cpp
unpack.cpp
basic.cpp
lex.cpp
../util/rgb9e5.c
)
target_link_libraries (glean
piglitutil_${piglit_target_api}
${OPENGL_gl_LIBRARY}
${OPENGL_glu_LIBRARY}
)
if (WIN32)
elseif (APPLE)
target_link_libraries (glean
${CARBON_LIBRARY}
)
else ()
target_link_libraries (glean
${X11_X11_LIB}
)
endif ()
|