xref: /reactos/dll/opengl/mesa/CMakeLists.txt (revision 9393fc32)
1
2include_directories(.)
3
4add_definitions(-DFAST_MATH -DTHREADS)
5
6if(ARCH STREQUAL "i386")
7    list(APPEND ASM_SOURCE asm-386.S)
8    add_definitions(-DUSE_ASM)
9endif()
10
11add_asm_files(mesa_asm ${ASM_SOURCE})
12
13list(APPEND SOURCE
14    accum.c
15    alpha.c
16    alphabuf.c
17    api.c
18    attrib.c
19    bitmap.c
20    blend.c
21    clip.c
22    colortab.c
23    context.c
24    copypix.c
25    depth.c
26    dlist.c
27    drawpix.c
28    enable.c
29    eval.c
30    feedback.c
31    fog.c
32    get.c
33    hash.c
34    image.c
35    light.c
36    lines.c
37    logic.c
38    masking.c
39    matrix.c
40    misc.c
41    mmath.c
42    pb.c
43    pixel.c
44    pointers.c
45    points.c
46    polygon.c
47    quads.c
48    rastpos.c
49    readpix.c
50    rect.c
51    scissor.c
52    shade.c
53    span.c
54    stencil.c
55    teximage.c
56    texobj.c
57    texstate.c
58    texture.c
59    triangle.c
60    varray.c
61    vb.c
62    vbfill.c
63    vbrender.c
64    vbxform.c
65    xform.c
66)
67
68add_library(mesa STATIC ${SOURCE} ${mesa_asm})
69add_dependencies(mesa psdk)
70
71
72