• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if(WIN32)
2
3set(D3D11_INCLUDE_DIR $ENV{NV_TOOLS}/sdk/DirectX_Aug2009/Include)
4
5if(${ARCH} STREQUAL "i686")
6set(D3D11_LIB_DIR $ENV{NV_TOOLS}/sdk/DirectX_Aug2009/Lib/x86)
7endif(${ARCH} STREQUAL "i686")
8
9if(${ARCH} STREQUAL "x86_64")
10set(D3D11_LIB_DIR $ENV{NV_TOOLS}/sdk/DirectX_Aug2009/Lib/x64)
11endif(${ARCH} STREQUAL "x86_64")
12
13list(APPEND CLConform_INCLUDE_DIR ${D3D11_INCLUDE_DIR})
14include_directories (${CLConform_SOURCE_DIR}/test_common/harness
15                     ${CLConform_INCLUDE_DIR} )
16link_directories(${CL_LIB_DIR}, ${D3D11_LIB_DIR})
17
18list(APPEND CLConform_LIBRARIES d3d11 dxgi)
19
20set(MODULE_NAME D3D11)
21
22set(${MODULE_NAME}_SOURCES
23    buffer.cpp
24    texture2d.cpp
25    texture3d.cpp
26    misc.cpp
27    main.cpp
28    harness.cpp
29)
30
31set_source_files_properties(
32    ${MODULE_NAME}_SOURCES
33    PROPERTIES LANGUAGE CXX)
34
35include_directories(${CMAKE_CURRENT_SOURCE_DIR})
36include(../CMakeCommon.txt)
37endif(WIN32)
38