Remove unused comment

This commit is contained in:
halx99 2020-10-22 21:32:09 +08:00
parent b969a163f5
commit 83bec7092e
1 changed files with 0 additions and 23 deletions

View File

@ -10,9 +10,6 @@ file(GLOB_RECURSE COCOS_SPINE_HEADER
${CMAKE_CURRENT_LIST_DIR}/**/*.h ${CMAKE_CURRENT_LIST_DIR}/**/*.h
) )
# add_subdirectory(runtime)
# list(REMOVE_ITEM COCOS_SPINE_SRC "${CMAKE_CURRENT_LIST_DIR}/main.cpp")
add_library(${target_name} ${COCOS_SPINE_HEADER} ${COCOS_SPINE_SRC}) add_library(${target_name} ${COCOS_SPINE_HEADER} ${COCOS_SPINE_SRC})
if(BUILD_SHARED_LIBS) if(BUILD_SHARED_LIBS)
@ -24,24 +21,4 @@ endif()
target_include_directories(${target_name} PUBLIC "runtime/include") target_include_directories(${target_name} PUBLIC "runtime/include")
# set_target_properties(spine-cpp
# PROPERTIES
# ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
# LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
# FOLDER "Extensions")
# since 3.6/3.7 c runtime support build as DLL
# since 3.8 cpp runtime is preferred for cocos2d-x
# if(BUILD_EXT_SPINE_CPP)
# add_subdirectory(spine-cpp)
# target_link_libraries(external spine-cpp)
# set_target_properties(spine-cpp
# PROPERTIES
# ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
# LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
# FOLDER "External"
# )
#
# endif(BUILD_EXT_SPINE_CPP)
setup_cocos_extension_config(${target_name}) setup_cocos_extension_config(${target_name})