2020-10-18 12:31:45 +08:00
|
|
|
set(target_name GUI)
|
|
|
|
|
2024-02-03 10:08:22 +08:00
|
|
|
FILE(GLOB_RECURSE GUI_CONTROL_SOURCES src/GUI/ControlExtension/*.h;src/GUI/ControlExtension/*.cpp)
|
|
|
|
FILE(GLOB_RECURSE GUI_SCROLLVIEW_SOURCES src/GUI/ScrollView/*.h;src/GUI/ScrollView/*.cpp)
|
2020-10-18 12:31:45 +08:00
|
|
|
|
2023-06-11 13:08:08 +08:00
|
|
|
SOURCE_GROUP("ControlExtension" FILES ${GUI_CONTROL_SOURCES})
|
|
|
|
SOURCE_GROUP("ScrollView" FILES ${GUI_SCROLLVIEW_SOURCES})
|
2020-10-18 12:31:45 +08:00
|
|
|
|
|
|
|
add_library(${target_name}
|
|
|
|
${GUI_CONTROL_SOURCES}
|
|
|
|
${GUI_SCROLLVIEW_SOURCES})
|
2020-10-22 23:14:58 +08:00
|
|
|
|
2024-02-03 10:08:22 +08:00
|
|
|
target_include_directories(${target_name}
|
|
|
|
PUBLIC ${CMAKE_CURRENT_LIST_DIR}/src
|
|
|
|
INTERFACE ${CMAKE_CURRENT_LIST_DIR}/src/GUI
|
|
|
|
)
|
2020-10-18 12:31:45 +08:00
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
setup_ax_extension_config(${target_name})
|