Skip to content

Commit

Permalink
Merge pull request #20 from cocos2d/v4
Browse files Browse the repository at this point in the history
Sync with master
  • Loading branch information
rh101 authored Dec 29, 2019
2 parents 310d717 + 90299f6 commit 3085453
Show file tree
Hide file tree
Showing 235 changed files with 32,147 additions and 18,578 deletions.
8 changes: 6 additions & 2 deletions cocos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ include(audio/CMakeLists.txt)

# default value for cocos2dx extensions modules build
option(BUILD_EDITOR_COCOSTUDIO "Build editor support for cocostudio" ON)
option(BUILD_EDITOR_SPINE "Build editor support for spine" OFF)
option(BUILD_EDITOR_SPINE "Build editor support for spine" ON)
option(BUILD_EXTENSIONS "Build extension library" ON)

if(BUILD_EDITOR_COCOSTUDIO)
Expand All @@ -58,7 +58,11 @@ if(BUILD_EDITOR_COCOSTUDIO)
endif(BUILD_EDITOR_COCOSTUDIO)

if(BUILD_EDITOR_SPINE)
include(editor-support/spine/CMakeLists.txt)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/editor-support/spine/CMakeLists.txt")
include(editor-support/spine/CMakeLists.txt)
else()
message(WARNING "${CMAKE_CURRENT_SOURCE_DIR}/editor-support/spine/CMakeLists.txt not found!")
endif()
set(COCOS_EDITOR_SUPPORT_SRC ${COCOS_EDITOR_SUPPORT_SRC} ${COCOS_SPINE_SRC} ${COCOS_SPINE_HEADER})
endif(BUILD_EDITOR_SPINE)

Expand Down
67 changes: 0 additions & 67 deletions cocos/editor-support/spine/Android.mk

This file was deleted.

Loading

0 comments on commit 3085453

Please sign in to comment.