From a4294e4a94189dffb1fdf99c9a60d87d77272926 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 13 Jul 2024 10:52:24 -0700 Subject: Restructure project. --- CMakeLists.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) add_subdirectory(fontbaker) add_library(ui - src/ui.c) + src/event.c + src/input.c + src/layout.c + src/render.c + src/ui.c + src/uiLibrary.c + src/uiLibrary.h + src/widget/button.c + src/widget/frame.c + src/widget/label.c + src/widget/table.c + src/widget/widget.c + src/widget/widget.h) target_include_directories(ui PUBLIC include) +target_include_directories(ui PRIVATE + src) + target_link_libraries(ui PUBLIC cassert cstring -- cgit v1.2.3