summaryrefslogtreecommitdiff
path: root/tests/spec/arb_pipeline_statistics_query/CMakeLists.gl.txt
blob: 1a91b0bb23fb9fbfb6aa5d3e284c851bd15166d8 (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
include_directories(
    ${GLEXT_INCLUDE_DIR}
    ${OPENGL_INCLUDE_PATH}
)

link_libraries (
    piglitutil_${piglit_target_api}
    ${OPENGL_gl_LIBRARY}
)

# Display stuff in the tests
#add_definitions (-DDISPLAY)

# Don't bother with the piglit helper functions since we just need a simple
# static link that won't be installed. (We'll actually anger newer cmake if we
# use piglit helpers).
add_library (pipestat_help STATIC pipestat_help.c)

piglit_add_executable (arb_pipeline_statistics_query-extra_prims pipeline_stats_extra_prims.c)
target_link_libraries (arb_pipeline_statistics_query-extra_prims pipestat_help)
piglit_add_executable (arb_pipeline_statistics_query-vert pipeline_stats_vert.c)
target_link_libraries (arb_pipeline_statistics_query-vert pipestat_help)
piglit_add_executable (arb_pipeline_statistics_query-vert_adj pipeline_stats_vert_adj.c)
target_link_libraries (arb_pipeline_statistics_query-vert_adj pipestat_help)
piglit_add_executable (arb_pipeline_statistics_query-clip pipeline_stats_clip.c)
target_link_libraries (arb_pipeline_statistics_query-clip pipestat_help)
piglit_add_executable (arb_pipeline_statistics_query-geom pipeline_stats_geom.c)
target_link_libraries (arb_pipeline_statistics_query-geom pipestat_help)
piglit_add_executable (arb_pipeline_statistics_query-frag pipeline_stats_frag.c)
target_link_libraries (arb_pipeline_statistics_query-frag pipestat_help)
piglit_add_executable (arb_pipeline_statistics_query-comp pipeline_stats_comp.c)
target_link_libraries (arb_pipeline_statistics_query-comp pipestat_help)

# vim: ft=cmake