feat: Organize CMakeLists for modular source management across main components
This commit is contained in:
14
main/ui/CMakeLists.txt
Normal file
14
main/ui/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
list(APPEND SRCS
|
||||
"${CMAKE_CURRENT_LIST_DIR}/ui_handler.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/root_layout.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/interaction_handler.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/events.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/apps/registry.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/widgets/textarea.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/widgets/button.cpp"
|
||||
)
|
||||
|
||||
# Apps control: include apps/CMakeLists.txt which selects which apps to add
|
||||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/apps/CMakeLists.txt")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/apps/CMakeLists.txt")
|
||||
endif()
|
||||
Reference in New Issue
Block a user