summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-07-13 10:52:24 -0700
committer3gg <3gg@shellblade.net>2024-07-13 10:52:24 -0700
commita4294e4a94189dffb1fdf99c9a60d87d77272926 (patch)
tree2e92f7c95116861bc39f4dae1d0ab5d388550000 /CMakeLists.txt
parentcf9579d7546c04dbc708bd8719e3f935a28088bd (diff)
Restructure project.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b046871..eeda930 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,11 +10,26 @@ add_subdirectory(font)
10add_subdirectory(fontbaker) 10add_subdirectory(fontbaker)
11 11
12add_library(ui 12add_library(ui
13 src/ui.c) 13 src/event.c
14 src/input.c
15 src/layout.c
16 src/render.c
17 src/ui.c
18 src/uiLibrary.c
19 src/uiLibrary.h
20 src/widget/button.c
21 src/widget/frame.c
22 src/widget/label.c
23 src/widget/table.c
24 src/widget/widget.c
25 src/widget/widget.h)
14 26
15target_include_directories(ui PUBLIC 27target_include_directories(ui PUBLIC
16 include) 28 include)
17 29
30target_include_directories(ui PRIVATE
31 src)
32
18target_link_libraries(ui PUBLIC 33target_link_libraries(ui PUBLIC
19 cassert 34 cassert
20 cstring 35 cstring