X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2FCMakeLists.txt;h=6412f68fca0ee8d942d3b70fb4ea78ff4976a9f0;hp=5736c21f65af7d1cea1e97208f4ef9da5ddd09f0;hb=398f7b9536d5a7fbc4236088d59407d79830d428;hpb=276ee5387182ca865c00500013877b6cc2d5c77e diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 5736c21..6412f68 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -13,8 +13,9 @@ function (ADD_APP_TEST) add_test( NAME app_${TEST_NAME} COMMAND - python ${CMAKE_SOURCE_DIR}/driver.py + python ${CMAKE_SOURCE_DIR}/app_driver.py --apitrace ${APITRACE_EXECUTABLE} + --apitrace-source ${APITRACE_SOURCE_DIR} --api ${api} --ref-dump ${CMAKE_CURRENT_SOURCE_DIR}/${TEST_REF} -- @@ -23,10 +24,34 @@ function (ADD_APP_TEST) ) endfunction () -if (OPENGL_FOUND) +if (OPENGL_FOUND AND GLEW_FOUND AND GLUT_FOUND) add_subdirectory (gl) endif () 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 ()