summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/CMakeLists.txt
blob: d9235adb54fca58f283bd4952e627fe02b650a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include(libgl_generators)

set(SOURCES
    Buffer/Buffer.cpp
    Buffer.cpp
    ClipPlane.cpp
    ContextParameter.cpp
    GLContext.cpp
    Image.cpp
    Lighting.cpp
    List.cpp
    Matrix.cpp
    NameAllocator.cpp
    Shader.cpp
    Shaders/Program.cpp
    Shaders/Shader.cpp
    Stencil.cpp
    Tex/Texture2D.cpp
    Texture.cpp
    Vertex.cpp
)

generate_libgl_implementation()

set(GENERATED_SOURCES
    GLAPI.cpp)

serenity_lib(LibGL gl)
target_link_libraries(LibGL PRIVATE LibCore LibGfx LibGLSL LibGPU)