reactos/dll/opengl/mesa/CMakeLists.txt
Hermès Bélusca-Maïto 9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00

71 lines
966 B
CMake

include_directories(.)
add_definitions(-DFAST_MATH -DTHREADS)
if(ARCH STREQUAL "i386")
list(APPEND ASM_SOURCE asm-386.S)
add_definitions(-DUSE_ASM)
endif()
add_asm_files(mesa_asm ${ASM_SOURCE})
list(APPEND SOURCE
accum.c
alpha.c
alphabuf.c
api.c
attrib.c
bitmap.c
blend.c
clip.c
colortab.c
context.c
copypix.c
depth.c
dlist.c
drawpix.c
enable.c
eval.c
feedback.c
fog.c
get.c
hash.c
image.c
light.c
lines.c
logic.c
masking.c
matrix.c
misc.c
mmath.c
pb.c
pixel.c
pointers.c
points.c
polygon.c
quads.c
rastpos.c
readpix.c
rect.c
scissor.c
shade.c
span.c
stencil.c
teximage.c
texobj.c
texstate.c
texture.c
triangle.c
varray.c
vb.c
vbfill.c
vbrender.c
vbxform.c
xform.c
)
add_library(mesa STATIC ${SOURCE} ${mesa_asm})
add_dependencies(mesa psdk)