2013-09-15 20:44:50 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
s_aaline.c
|
|
|
|
s_aatriangle.c
|
|
|
|
s_alpha.c
|
|
|
|
s_bitmap.c
|
|
|
|
s_blend.c
|
|
|
|
s_clear.c
|
|
|
|
s_context.c
|
|
|
|
s_copypix.c
|
|
|
|
s_depth.c
|
|
|
|
s_drawpix.c
|
|
|
|
s_feedback.c
|
|
|
|
s_fog.c
|
|
|
|
s_lines.c
|
|
|
|
s_logic.c
|
|
|
|
s_masking.c
|
|
|
|
s_points.c
|
|
|
|
s_renderbuffer.c
|
|
|
|
s_span.c
|
|
|
|
s_stencil.c
|
|
|
|
s_texcombine.c
|
|
|
|
s_texfetch.c
|
|
|
|
s_texfilter.c
|
|
|
|
s_texture.c
|
|
|
|
s_triangle.c
|
|
|
|
s_zoom.c
|
2014-02-11 21:29:23 +00:00
|
|
|
precomp.h)
|
2013-09-15 20:44:50 +00:00
|
|
|
|
2013-10-14 06:19:48 +00:00
|
|
|
add_library(mesa_swrast STATIC ${SOURCE})
|
2015-09-07 11:13:09 +00:00
|
|
|
add_dependencies(mesa_swrast xdk)
|
2014-02-11 21:29:23 +00:00
|
|
|
add_pch(mesa_swrast precomp.h SOURCE)
|
2014-05-31 16:19:36 +00:00
|
|
|
|
2017-12-03 22:30:10 +00:00
|
|
|
if(MSVC AND (NOT USE_CLANG_CL))
|
2015-09-05 14:32:44 +00:00
|
|
|
replace_compile_flags("/we4189" " ")
|
2015-05-09 22:44:52 +00:00
|
|
|
else()
|
2014-05-31 16:19:36 +00:00
|
|
|
add_target_compile_flags(mesa_swrast "-Wno-unused-variable")
|
2017-12-03 22:30:10 +00:00
|
|
|
if(USE_CLANG_CL)
|
|
|
|
add_target_compile_flags(mesa_swrast "-Wno-sometimes-uninitialized -Wno-unused-local-typedef")
|
|
|
|
endif()
|
2014-05-31 16:19:36 +00:00
|
|
|
endif()
|