if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries (glretrace rt)
+ if (READPROC_H_FOUND)
+ target_link_libraries (glretrace proc)
+ endif ()
endif ()
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries (eglretrace rt)
+ if (READPROC_H_FOUND)
+ target_link_libraries (eglretrace proc)
+ endif ()
endif ()
install (TARGETS eglretrace RUNTIME DESTINATION bin)
if (DirectX_D3D8_INCLUDE_DIR)
include_directories (BEFORE SYSTEM ${DirectX_D3D8_INCLUDE_DIR})
set (HAVE_D3D8 1)
+ set (D3DSTATE_SOURCES ${D3DSTATE_SOURCES}
+ d3d8state.cpp
+ d3d8state_images.cpp
+ )
else ()
set (HAVE_D3D8 0)
endif ()
set (DXGI_MODULES ${DXGI_MODULES} d3d10_1)
endif ()
set (D3DSTATE_SOURCES ${D3DSTATE_SOURCES}
+ dxgistate.cpp
d3d10state.cpp
d3d10state_images.cpp
)
${CMAKE_SOURCE_DIR}/specs/d3d10misc.py
${CMAKE_SOURCE_DIR}/specs/d3d10sdklayers.py
${CMAKE_SOURCE_DIR}/specs/d3dcommon.py
+ ${CMAKE_SOURCE_DIR}/specs/dxgi1_2.py
${CMAKE_SOURCE_DIR}/specs/dxgi.py
${CMAKE_SOURCE_DIR}/specs/dxgitype.py
${CMAKE_SOURCE_DIR}/specs/dxgiformat.py