summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: f701c9c1f0a3dc6d8a0660d502c337bde5ba722a (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
SET(llmr_SOURCES
    geometry/debug_font_buffer.cpp
    geometry/linevertexbuffer.cpp
    map/map.cpp
    map/tile.cpp
    map/transform.cpp
    renderer/painter.cpp
    renderer/shader-fill.cpp
    renderer/shader-line.cpp
    renderer/shader-outline.cpp
    renderer/shader.cpp
    shader/shaders.cpp
    util/animation.cpp
    util/mat4.cpp
)

SET(llmr_HEADERS
    ../include/llmr/geometry/debug_font_buffer.hpp
    ../include/llmr/geometry/linevertexbuffer.hpp
    ../include/llmr/llmr.hpp
    ../include/llmr/map/map.hpp
    ../include/llmr/map/tile.hpp
    ../include/llmr/map/transform.hpp
    ../include/llmr/platform/gl.hpp
    ../include/llmr/platform/platform.hpp
    ../include/llmr/renderer/painter.hpp
    ../include/llmr/renderer/shader-fill.hpp
    ../include/llmr/renderer/shader-line.hpp
    ../include/llmr/renderer/shader-outline.hpp
    ../include/llmr/renderer/shader.hpp
    ../include/llmr/shader/shaders.hpp
    ../include/llmr/util/animation.hpp
    ../include/llmr/util/math.hpp
    ../include/llmr/util/mat4.hpp
    ../include/llmr/util/vec.hpp
)

INCLUDE_DIRECTORIES(
    ../include
)

ADD_LIBRARY(llmr STATIC
    ${llmr_SOURCES}
    ${llmr_HEADERS}
)

LINK_DIRECTORIES(
)

TARGET_LINK_LIBRARIES(llmr
)