1
This commit is contained in:
15
android/CMakeLists.txt
Normal file
15
android/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
|
||||
option(APP_NAME "Project Name" "magotest")
|
||||
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})
|
||||
Reference in New Issue
Block a user