set(PROJECT_NAME d3d11_demo)

set(Sources
    "main.cpp"
)
source_group("Sources" FILES ${Sources})

add_executable(${PROJECT_NAME} ${Sources} )

add_dependencies(${PROJECT_NAME} dpLib )

target_include_directories(${PROJECT_NAME} PRIVATE
    "${EXTERNAL_FOLDER}/stb/include"
)

# Direct3D 11 and the shader compiler come with the Windows SDK
target_link_libraries(${PROJECT_NAME} PRIVATE
    dpLib
    "d3d11"
    "dxgi"
    "d3dcompiler"
)
