diff options
author | 3gg <3gg@shellblade.net> | 2024-07-13 10:52:24 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-07-13 10:52:24 -0700 |
commit | a4294e4a94189dffb1fdf99c9a60d87d77272926 (patch) | |
tree | 2e92f7c95116861bc39f4dae1d0ab5d388550000 /CMakeLists.txt | |
parent | cf9579d7546c04dbc708bd8719e3f935a28088bd (diff) |
Restructure project.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
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) | |||
10 | add_subdirectory(fontbaker) | 10 | add_subdirectory(fontbaker) |
11 | 11 | ||
12 | add_library(ui | 12 | add_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 | ||
15 | target_include_directories(ui PUBLIC | 27 | target_include_directories(ui PUBLIC |
16 | include) | 28 | include) |
17 | 29 | ||
30 | target_include_directories(ui PRIVATE | ||
31 | src) | ||
32 | |||
18 | target_link_libraries(ui PUBLIC | 33 | target_link_libraries(ui PUBLIC |
19 | cassert | 34 | cassert |
20 | cstring | 35 | cstring |