diff options
Diffstat (limited to 'dxg/CMakeLists.txt')
| -rw-r--r-- | dxg/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dxg/CMakeLists.txt b/dxg/CMakeLists.txt new file mode 100644 index 0000000..6fa5401 --- /dev/null +++ b/dxg/CMakeLists.txt | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | cmake_minimum_required(VERSION 3.25) | ||
| 2 | |||
| 3 | project(dxg) | ||
| 4 | |||
| 5 | add_library(dxg) | ||
| 6 | |||
| 7 | target_sources(dxg PUBLIC | ||
| 8 | dxcommon.h) | ||
| 9 | |||
| 10 | target_sources(dxg PUBLIC | ||
| 11 | FILE_SET cxx_modules TYPE CXX_MODULES FILES | ||
| 12 | dxcommon.ixx) | ||
| 13 | |||
| 14 | target_include_directories(dxg PUBLIC | ||
| 15 | .) | ||
| 16 | |||
| 17 | target_link_libraries(dxg PUBLIC | ||
| 18 | DirectX-Headers | ||
| 19 | D3D12.lib | ||
| 20 | DXGI.lib) | ||
