mirror of
https://gitee.com/nomat/lcc-ui-sorting-group-demo.git
synced 2024-12-26 19:58:27 +00:00
16 lines
442 B
CMake
16 lines
442 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
|
|
option(APP_NAME "Project Name" "ui-sorting-group")
|
|
project(${APP_NAME} CXX)
|
|
set(CC_LIB_NAME cocos)
|
|
set(CC_PROJECT_DIR ${CMAKE_CURRENT_LIST_DIR})
|
|
set(CC_PROJ_SOURCES)
|
|
set(CC_COMMON_SOURCES)
|
|
set(CC_ALL_SOURCES)
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../common/CMakeLists.txt)
|
|
|
|
cc_android_before_target(${CC_LIB_NAME})
|
|
add_library(${CC_LIB_NAME} SHARED ${CC_ALL_SOURCES})
|
|
cc_android_after_target(${CC_LIB_NAME})
|