include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ${piglit_SOURCE_DIR}/tests/mesa/util ) link_libraries ( piglitutil_${piglit_target_api} ${OPENGL_gl_LIBRARY} ) piglit_add_executable (fbo-1d fbo-1d.c) piglit_add_executable (fbo-alphatest-formats fbo-alphatest-formats.c) piglit_add_executable (fbo-alphatest-nocolor fbo-alphatest-nocolor.c) piglit_add_executable (fbo-alphatest-nocolor-ff fbo-alphatest-nocolor-ff.c) piglit_add_executable (fbo-depth fbo-depth.c) piglit_add_executable (fbo-depth-tex1d fbo-depth-tex1d.c) piglit_add_executable (fbo-depthstencil fbo-depthstencil.c) piglit_add_executable (fbo-depthtex fbo-depthtex.c) piglit_add_executable (fbo-3d fbo-3d.c) piglit_add_executable (fbo-array fbo-array.c) piglit_add_executable (fbo-depth-array fbo-depth-array.c) piglit_add_executable (fbo-depth-sample-compare fbo-depth-sample-compare.c) piglit_add_executable (fbo-alpha fbo-alpha.c) piglit_add_executable (fbo-luminance-alpha fbo-luminance-alpha.c) piglit_add_executable (fbo-bind-renderbuffer fbo-bind-renderbuffer.c) piglit_add_executable (fbo-blit fbo-blit.c) piglit_add_executable (fbo-blit-d24s8 fbo-blit-d24s8.c) piglit_add_executable (fbo-blit-stretch fbo-blit-stretch.cpp) piglit_add_executable (fbo-blending-formats fbo-blending-formats.c) piglit_add_executable (fbo-blending-format-quirks fbo-blending-format-quirks.c) piglit_add_executable (fbo-blending-snorm fbo-blending-snorm.c) piglit_add_executable (fbo-colormask-formats fbo-colormask-formats.c) piglit_add_executable (fbo-copypix fbo-copypix.c) piglit_add_executable (fbo-readdrawpix fbo-readdrawpix.c) piglit_add_executable (fbo-clearmipmap fbo-clearmipmap.c) piglit_add_executable (fbo-clear-formats fbo-clear-formats.c) piglit_add_executable (fbo-deriv fbo-deriv.c) piglit_add_executable (fbo-drawbuffers fbo-drawbuffers.c) piglit_add_executable (fbo-drawbuffers-arbfp fbo-drawbuffers-arbfp.c) piglit_add_executable (fbo-drawbuffers-blend-add fbo-drawbuffers-blend-add.c) piglit_add_executable (fbo-drawbuffers-fragcolor fbo-drawbuffers-fragcolor.c) piglit_add_executable (fbo-drawbuffers-maxtargets fbo-drawbuffers-maxtargets.c) piglit_add_executable (fbo-drawbuffers2-blend fbo-drawbuffers2-blend.c) piglit_add_executable (fbo-drawbuffers2-colormask fbo-drawbuffers2-colormask.c) piglit_add_executable (fbo-draw-buffers-blend fbo-draw-buffers-blend.c) piglit_add_executable (fbo-finish-deleted fbo-finish-deleted.c) piglit_add_executable (fbo-flushing fbo-flushing.c) piglit_add_executable (fbo-flushing-2 fbo-flushing-2.c) piglit_add_executable (fbo-fragcoord fbo-fragcoord.c) piglit_add_executable (fbo-fragcoord2 fbo-fragcoord2.c) piglit_add_executable (fbo-generatemipmap fbo-generatemipmap.c) piglit_add_executable (fbo-generatemipmap-1d fbo-generatemipmap-1d.c) piglit_add_executable (fbo-generatemipmap-3d fbo-generatemipmap-3d.c) piglit_add_executable (fbo-generatemipmap-array fbo-generatemipmap-array.c) piglit_add_executable (fbo-generatemipmap-cubemap fbo-generatemipmap-cubemap.c) piglit_add_executable (fbo-generatemipmap-filtering fbo-generatemipmap-filtering.c) piglit_add_executable (fbo-generatemipmap-formats fbo-generatemipmap-formats.c) piglit_add_executable (fbo-generatemipmap-scissor fbo-generatemipmap-scissor.c) piglit_add_executable (fbo-generatemipmap-swizzle fbo-generatemipmap-swizzle.c) piglit_add_executable (fbo-generatemipmap-noimage fbo-generatemipmap-noimage.c) piglit_add_executable (fbo-generatemipmap-nonsquare fbo-generatemipmap-nonsquare.c) piglit_add_executable (fbo-generatemipmap-npot fbo-generatemipmap-npot.c) piglit_add_executable (fbo-generatemipmap-viewport fbo-generatemipmap-viewport.c) piglit_add_executable (fbo-getframebufferattachmentparameter-01 fbo-getframebufferattachmentparameter-01.c) piglit_add_executable (fbo-gl_pointcoord fbo-gl_pointcoord.c) piglit_add_executable (fbo-incomplete fbo-incomplete.cpp) piglit_add_executable (fbo-incomplete-invalid-texture fbo-incomplete-invalid-texture.c) piglit_add_executable (fbo-incomplete-texture-01 fbo-incomplete-texture-01.c) piglit_add_executable (fbo-incomplete-texture-02 fbo-incomplete-texture-02.c) piglit_add_executable (fbo-incomplete-texture-03 fbo-incomplete-texture-03.c) piglit_add_executable (fbo-incomplete-texture-04 fbo-incomplete-texture-04.c) piglit_add_executable (fbo-integer fbo-integer.c) piglit_add_executable (fbo-maxsize fbo-maxsize.c) piglit_add_executable (fbo-mipmap-copypix fbo-mipmap-copypix.c) piglit_add_executable (fbo-mrt-alphatest fbo-mrt-alphatest.c) piglit_add_executable (fbo-mrt-new-bind fbo-mrt-new-bind.c) piglit_add_executable (fbo-nodepth-test fbo-nodepth-test.c) piglit_add_executable (fbo-nostencil-test fbo-nostencil-test.c) piglit_add_executable (fbo-readpixels fbo-readpixels.c) piglit_add_executable (fbo-readpixels-depth-formats fbo-readpixels-depth-formats.c) piglit_add_executable (fbo-rg fbo-rg.c) piglit_add_executable (fbo-scissor-blit fbo-scissor-blit.c) piglit_add_executable (fbo-srgb fbo-srgb.c) IF (UNIX) target_link_libraries (fbo-srgb m) ENDIF (UNIX) piglit_add_executable (fbo-stencil fbo-stencil.c) piglit_add_executable (fbo-storage-formats fbo-storage-formats.c) piglit_add_executable (fbo-storage-completeness fbo-storage-completeness.c) piglit_add_executable (fbo-sys-blit fbo-sys-blit.c) piglit_add_executable (fbo-sys-sub-blit fbo-sys-sub-blit.c) piglit_add_executable (fbo-blit-check-limits fbo-blit-check-limits.c) piglit_add_executable (fbo-tex-rgbx fbo-tex-rgbx.c) piglit_add_executable (fbo-pbo-readpixels-small fbo-pbo-readpixels-small.c) piglit_add_executable (fbo-copyteximage fbo-copyteximage.c) piglit_add_executable (fbo-copyteximage-simple fbo-copyteximage-simple.c) piglit_add_executable (fbo-cubemap fbo-cubemap.c) piglit_add_executable (fbo-scissor-bitmap fbo-scissor-bitmap.c) piglit_add_executable (fbo-viewport fbo-viewport.c) piglit_add_executable (fbo-float-nan fbo-float-nan.c) # vim: ft=cmake: