31 lines
899 B
Meson
31 lines
899 B
Meson
if get_option('build_dx11')
|
|
dx11_dep = declare_dependency(link_args: ['-ld3d11', '-ldxgi', '-lwinmm', '-ldxguid'])
|
|
|
|
dx11_renderer_lib = library('rtdx11',
|
|
# Project Sources
|
|
'device_objects.hpp',
|
|
'gpu.hpp',
|
|
|
|
'../common/common_render_graph.h',
|
|
|
|
'buffers.cpp',
|
|
'commands.cpp',
|
|
'command_buffers.cpp',
|
|
'helpers.cpp',
|
|
'init.cpp',
|
|
'pipelines.cpp',
|
|
'render_graph.cpp',
|
|
'render_targets.cpp',
|
|
|
|
'../common/common_render_graph.c',
|
|
|
|
dependencies : [m_dep, windowing_dep, dx11_dep],
|
|
include_directories : [engine_incdir, contrib_incdir],
|
|
link_with : [runtime_lib],
|
|
cpp_pch : 'pch/dx11_pch.h',
|
|
override_options : ['b_sanitize=none'],
|
|
install : true)
|
|
|
|
engine_libs += dx11_renderer_lib
|
|
engine_lib_paths += dx11_renderer_lib.full_path()
|
|
endif |