diff options
| author | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 19:42:04 -0800 |
|---|---|---|
| committer | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 19:42:04 -0800 |
| commit | b5697421bbc73ed17ef3a8bc003571d1b6351b5c (patch) | |
| tree | 655dd8d239e582c6d37609cea95e76a4e6ce24f2 /dxg/CMakeLists.txt | |
| parent | 0cca9d39108e0305d1e278feafa1ca737f436bc9 (diff) | |
Rename dxcommon -> dxg
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) | ||
