include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ) piglit_add_executable (1-1-linear-texture 1-1-linear-texture.c) piglit_add_executable (array-depth-roundtrip array-depth-roundtrip.c) piglit_add_executable (array-texture array-texture.c) piglit_add_executable (bptc-modes bptc-modes.c) piglit_add_executable (bptc-float-modes bptc-float-modes.c) piglit_add_executable (compressedteximage compressedteximage.c) piglit_add_executable (copytexsubimage copytexsubimage.c) piglit_add_executable (copyteximage copyteximage.c) piglit_add_executable (copyteximage-border copyteximage-border.c) piglit_add_executable (copyteximage-clipping copyteximage-clipping.c) piglit_add_executable (crossbar crossbar.c) piglit_add_executable (cubemap cubemap.c) piglit_add_executable (cubemap-getteximage-pbo cubemap-getteximage-pbo.c) piglit_add_executable (cubemap-mismatch cubemap-mismatch.c) piglit_add_executable (cubemap-shader cubemap-shader.c) piglit_add_executable (depth-level-clamp depth-level-clamp.c) piglit_add_executable (depthstencil-render-miplevels depthstencil-render-miplevels.cpp) piglit_add_executable (gen-compressed-teximage gen-compressed-teximage.c) piglit_add_executable (gen-nonzero-unit gen-nonzero-unit.c) piglit_add_executable (gen-teximage gen-teximage.c) piglit_add_executable (gen-texsubimage gen-texsubimage.c) piglit_add_executable (getteximage-formats getteximage-formats.c) piglit_add_executable (getteximage-simple getteximage-simple.c) piglit_add_executable (getteximage-luminance getteximage-luminance.c) piglit_add_executable (getteximage-targets getteximage-targets.c) piglit_add_executable (getteximage-depth getteximage-depth.c) piglit_add_executable (incomplete-texture incomplete-texture.c) piglit_add_executable (incomplete-cubemap incomplete-cubemap.c) piglit_add_executable (generatemipmap-base-change generatemipmap-base-change.c) piglit_add_executable (generatemipmap-cubemap generatemipmap-cubemap.c) piglit_add_executable (fragment-and-vertex-texturing fragment-and-vertex-texturing.c) piglit_add_executable (levelclamp levelclamp.c) piglit_add_executable (lodbias lodbias.c) piglit_add_executable (lodclamp lodclamp.c) piglit_add_executable (lodclamp-between lodclamp-between.c) piglit_add_executable (lodclamp-between-max lodclamp-between-max.c) piglit_add_executable (max-texture-size max-texture-size.c) piglit_add_executable (max-texture-size-level max-texture-size-level.c) piglit_add_executable (max-samplers max-samplers.c) piglit_add_executable (mipmap-setup mipmap-setup.c) piglit_add_executable (proxy-texture proxy-texture.c) piglit_add_executable (rg-draw-pixels rg-draw-pixels.c) piglit_add_executable (rg-teximage-01 rg-teximage-01.c rg-teximage-common.c) piglit_add_executable (rg-teximage-02 rg-teximage-02.c rg-teximage-common.c) piglit_add_executable (rgtc-teximage-01 rgtc-teximage-01.c rg-teximage-common.c) piglit_add_executable (rgtc-teximage-02 rgtc-teximage-02.c rg-teximage-common.c) IF (UNIX) target_link_libraries (rg-teximage-01 m) target_link_libraries (rg-teximage-02 m) target_link_libraries (rgtc-teximage-01 m) target_link_libraries (rgtc-teximage-02 m) ENDIF (UNIX) piglit_add_executable (s3tc-teximage s3tc-teximage.c) piglit_add_executable (fxt1-teximage fxt1-teximage.c) piglit_add_executable (s3tc-texsubimage s3tc-texsubimage.c) piglit_add_executable (s3tc-targeted s3tc-targeted.c) piglit_add_executable (s3tc-errors s3tc-errors.c) piglit_add_executable (sampler-cube-shadow sampler-cube-shadow.c) piglit_add_executable (streaming-texture-leak streaming-texture-leak.c) piglit_add_executable (tex-miplevel-selection tex-miplevel-selection.c) piglit_add_executable (tex3d tex3d.c) piglit_add_executable (tex3d-depth1 tex3d-depth1.c) piglit_add_executable (tex3d-maxsize tex3d-maxsize.c) piglit_add_executable (tex3d-npot tex3d-npot.c) piglit_add_executable (texdepth texdepth.c) piglit_add_executable (teximage-errors teximage-errors.c) piglit_add_executable (texrect-many texrect-many.c) piglit_add_executable (texredefine texredefine.c) piglit_add_executable (texture-packed-formats texture-packed-formats.c) piglit_add_executable (texwrap texwrap.c) piglit_add_executable (depth-tex-modes depth-tex-modes.c depth-tex-modes-common.c) piglit_add_executable (depth-tex-modes-rg depth-tex-modes-rg.c depth-tex-modes-common.c) piglit_add_executable (depth-tex-modes-glsl depth-tex-modes-glsl.c) piglit_add_executable (texsubimage-depth-formats texsubimage-depth-formats.c) piglit_add_executable (depth-tex-compare depth-tex-compare.c) piglit_add_executable (depth-cube-map depth-cube-map.c) piglit_add_executable (sized-texture-format-channels sized-texture-format-channels.c) piglit_add_executable (tex-border-1 tex-border-1.c) piglit_add_executable (tex-skipped-unit tex-skipped-unit.c) piglit_add_executable (tex-srgb tex-srgb.c) IF (UNIX) target_link_libraries (tex-srgb m) ENDIF (UNIX) piglit_add_executable (texsubimage texsubimage.c) piglit_add_executable (texsubimage-unpack texsubimage-unpack.c) piglit_add_executable (texture-al texture-al.c) piglit_add_executable (texture-rg texture-rg.c) piglit_add_executable (teximage-colors teximage-colors.c) piglit_add_executable (zero-tex-coord zero-tex-coord.c) piglit_add_executable (tex-upside-down-miptree tex-upside-down-miptree.c) # vim: ft=cmake: