aboutsummaryrefslogtreecommitdiff
path: root/dxg/CMakeLists.txt
blob: b7607c0d73ff7d74067039f7d2ea367b9a588f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cmake_minimum_required(VERSION 3.20)

project(dxg)

add_library(dxg
    include/dxg/dxcommon.h
    src/dxg.c)

# target_sources(dxg PUBLIC
#     FILE_SET cxx_modules TYPE CXX_MODULES FILES
#     asset.ixx
#     dxcommon.ixx
#     dxg.ixx
#     imm.ixx)

target_include_directories(dxg PUBLIC
    include)

target_link_libraries(dxg PUBLIC
    DirectX-Headers
    D3D12.lib
    DXGI.lib
    DXGUID.lib) # For IID_Xyz symbols