X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2FCMakeLists.txt;h=6412f68fca0ee8d942d3b70fb4ea78ff4976a9f0;hp=98c41f5ce55b18d25e906e0e206887f22215f677;hb=398f7b9536d5a7fbc4236088d59407d79830d428;hpb=799a2cd3f002cb517b0c461ee0cb9feb31dc5761 diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 98c41f5..6412f68 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -24,7 +24,7 @@ function (ADD_APP_TEST) ) endfunction () -if (OPENGL_FOUND) +if (OPENGL_FOUND AND GLEW_FOUND AND GLUT_FOUND) add_subdirectory (gl) endif () @@ -32,6 +32,26 @@ if (EGL_FOUND) add_subdirectory (egl) endif () +if (DirectX_FXC_EXECUTABLE) + add_subdirectory (hlsl) +endif () + +if (DirectX_D3D11_FOUND) + add_subdirectory (d3d11) +endif () + +if (DirectX_D3D10_FOUND) + add_subdirectory (d3d10) +endif () + if (DirectX_D3D9_FOUND) add_subdirectory (d3d9) endif () + +if (DirectX_D3D8_FOUND) + add_subdirectory (d3d8) +endif () + +if (DirectX_D3D_FOUND) + add_subdirectory (d3d7) +endif ()