2013-09-15 20:44:50 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
api_arrayelt.c
|
|
|
|
api_exec.c
|
|
|
|
api_loopback.c
|
|
|
|
api_validate.c
|
|
|
|
accum.c
|
|
|
|
attrib.c
|
|
|
|
blend.c
|
|
|
|
bufferobj.c
|
|
|
|
buffers.c
|
|
|
|
clear.c
|
|
|
|
clip.c
|
|
|
|
context.c
|
|
|
|
cpuinfo.c
|
|
|
|
depth.c
|
|
|
|
dlist.c
|
|
|
|
dlopen.c
|
|
|
|
drawpix.c
|
|
|
|
enable.c
|
|
|
|
enums.c
|
|
|
|
eval.c
|
|
|
|
execmem.c
|
|
|
|
extensions.c
|
|
|
|
feedback.c
|
|
|
|
fog.c
|
|
|
|
formats.c
|
|
|
|
format_pack.c
|
|
|
|
format_unpack.c
|
|
|
|
framebuffer.c
|
|
|
|
get.c
|
|
|
|
getstring.c
|
|
|
|
hash.c
|
|
|
|
hint.c
|
|
|
|
image.c
|
|
|
|
imports.c
|
|
|
|
light.c
|
|
|
|
lines.c
|
|
|
|
matrix.c
|
|
|
|
mm.c
|
|
|
|
multisample.c
|
|
|
|
pack.c
|
|
|
|
pixel.c
|
|
|
|
pixelstore.c
|
|
|
|
pixeltransfer.c
|
|
|
|
points.c
|
|
|
|
polygon.c
|
|
|
|
rastpos.c
|
|
|
|
readpix.c
|
|
|
|
renderbuffer.c
|
|
|
|
scissor.c
|
|
|
|
shared.c
|
|
|
|
state.c
|
|
|
|
stencil.c
|
|
|
|
texenv.c
|
|
|
|
texformat.c
|
|
|
|
texgen.c
|
|
|
|
texgetimage.c
|
|
|
|
teximage.c
|
|
|
|
texobj.c
|
2014-02-10 20:08:53 +00:00
|
|
|
#texpal.c
|
2013-09-15 20:44:50 +00:00
|
|
|
texparam.c
|
|
|
|
texstate.c
|
|
|
|
texstorage.c
|
|
|
|
texstore.c
|
|
|
|
varray.c
|
|
|
|
version.c
|
|
|
|
viewport.c
|
|
|
|
vtxfmt.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_main STATIC ${SOURCE})
|
2015-09-07 11:13:09 +00:00
|
|
|
add_dependencies(mesa_main xdk)
|
2014-02-11 21:29:23 +00:00
|
|
|
add_pch(mesa_main precomp.h SOURCE)
|
2014-10-17 23:28:29 +00:00
|
|
|
|
2013-10-14 06:28:17 +00:00
|
|
|
if(NOT MSVC)
|
2014-05-31 16:19:36 +00:00
|
|
|
add_target_compile_flags(mesa_main "-Wno-type-limits")
|
2017-12-03 22:30:10 +00:00
|
|
|
elseif(USE_CLANG_CL)
|
|
|
|
add_target_compile_flags(mesa_main "-Wno-cast-calling-convention -Wno-unused-local-typedef")
|
|
|
|
add_target_compile_flags(mesa_main "-Wno-tautological-unsigned-zero-compare -Wno-constant-conversion")
|
2013-10-14 06:28:17 +00:00
|
|
|
endif()
|