Skip to content

Commit 4761339

Browse files
PatriceJiangminggo
authored andcommitted
[v4] spine v3.8 (#20421)
* spine v3.8 add examples * update template fiels * update lua binding * fix compile error * rename spine/extension.h to spine/Extension.h
1 parent 9b2a2db commit 4761339

File tree

230 files changed

+32050
-18569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+32050
-18569
lines changed

cocos/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ include(audio/CMakeLists.txt)
4949

5050
# default value for cocos2dx extensions modules build
5151
option(BUILD_EDITOR_COCOSTUDIO "Build editor support for cocostudio" ON)
52-
option(BUILD_EDITOR_SPINE "Build editor support for spine" OFF)
52+
option(BUILD_EDITOR_SPINE "Build editor support for spine" ON)
5353
option(BUILD_EXTENSIONS "Build extension library" ON)
5454

5555
if(BUILD_EDITOR_COCOSTUDIO)
@@ -58,7 +58,11 @@ if(BUILD_EDITOR_COCOSTUDIO)
5858
endif(BUILD_EDITOR_COCOSTUDIO)
5959

6060
if(BUILD_EDITOR_SPINE)
61-
include(editor-support/spine/CMakeLists.txt)
61+
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/editor-support/spine/CMakeLists.txt")
62+
include(editor-support/spine/CMakeLists.txt)
63+
else()
64+
message(WARNING "${CMAKE_CURRENT_SOURCE_DIR}/editor-support/spine/CMakeLists.txt not found!")
65+
endif()
6266
set(COCOS_EDITOR_SUPPORT_SRC ${COCOS_EDITOR_SUPPORT_SRC} ${COCOS_SPINE_SRC} ${COCOS_SPINE_HEADER})
6367
endif(BUILD_EDITOR_SPINE)
6468

cocos/editor-support/spine/Android.mk

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)