Source/Core/VideoBackends/D3DCommon/CMakeLists.txt
raw| 1 | add_library(videod3dcommon |
| 2 | D3DCommon.cpp |
| 3 | D3DCommon.h |
| 4 | Shader.cpp |
| 5 | Shader.h |
| 6 | SwapChain.cpp |
| 7 | SwapChain.h |
| 8 | ) |
| 9 | |
| 10 | target_link_libraries(videod3dcommon |
| 11 | PUBLIC |
| 12 | common |
| 13 | videocommon |
| 14 | spirv_cross |
| 15 | ) |
| 16 | |
| 17 | if(MSVC) |
| 18 | # Add precompiled header |
| 19 | target_link_libraries(videod3dcommon PRIVATE use_pch) |
| 20 | endif() |