X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2FCMakeLists.txt;h=2098b5d0e9fd29208854b72eae8008cefda5fa58;hp=7218458c481dc1c0475e16773ceecf60ae40bce8;hb=7502b519d86575f6ffdd0c4552e54d1cd5808c99;hpb=009c029e5360c8ae668b21caffeb275639ede8a7 diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 7218458..2098b5d 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,10 +32,22 @@ if (EGL_FOUND) add_subdirectory (egl) endif () +if (DirectX_FXC_EXECUTABLE) + add_subdirectory (hlsl) +endif () + +if (DirectX_D3D11_1_FOUND) + add_subdirectory (d3d11_1) +endif () + if (DirectX_D3D11_FOUND) add_subdirectory (d3d11) endif () +if (DirectX_D3D10_1_FOUND) + add_subdirectory (d3d10_1) +endif () + if (DirectX_D3D10_FOUND) add_subdirectory (d3d10) endif ()