CMakeLists.txt 565 B

12345678910111213141516171819202122232425262728293031323334353637
  1. add_library(videod3d
  2. D3DBase.cpp
  3. D3DBase.h
  4. D3DBoundingBox.cpp
  5. D3DBoundingBox.h
  6. D3DMain.cpp
  7. D3DNativeVertexFormat.cpp
  8. D3DPerfQuery.cpp
  9. D3DPerfQuery.h
  10. D3DGfx.cpp
  11. D3DGfx.h
  12. D3DState.cpp
  13. D3DState.h
  14. D3DSwapChain.cpp
  15. D3DVertexManager.cpp
  16. D3DVertexManager.h
  17. DXPipeline.cpp
  18. DXPipeline.h
  19. DXShader.cpp
  20. DXShader.h
  21. DXTexture.cpp
  22. DXTexture.h
  23. VideoBackend.h
  24. )
  25. target_link_libraries(videod3d
  26. PUBLIC
  27. common
  28. videocommon
  29. videod3dcommon
  30. )
  31. if(MSVC)
  32. # Add precompiled header
  33. target_link_libraries(videod3d PRIVATE use_pch)
  34. endif()