2020-10-18 12:31:45 +08:00
|
|
|
set(target_name GUI)
|
|
|
|
|
|
|
|
FILE(GLOB GUI_CONTROL_SOURCES CCControlExtension/*.h;CCControlExtension/*.cpp)
|
|
|
|
FILE(GLOB GUI_SCROLLVIEW_SOURCES CCScrollView/*.h;CCScrollView/*.cpp)
|
|
|
|
|
|
|
|
SOURCE_GROUP("CCControlExtension" FILES ${GUI_CONTROL_SOURCES})
|
|
|
|
SOURCE_GROUP("CCScrollView" FILES ${GUI_SCROLLVIEW_SOURCES})
|
|
|
|
|
|
|
|
add_library(${target_name}
|
|
|
|
${GUI_CONTROL_SOURCES}
|
|
|
|
${GUI_SCROLLVIEW_SOURCES})
|
2020-10-22 23:14:58 +08:00
|
|
|
|
|
|
|
target_include_directories(${target_name} INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
2020-10-18 12:31:45 +08:00
|
|
|
|
|
|
|
setup_cocos_extension_config(${target_name})
|