axmol/cocos/editor-support/spine/CMakeLists.txt

103 lines
3.9 KiB
CMake
Raw Normal View History

V3 android cmake support, add mac/ios support (#18646) * CMake build improvements * android cmake support * Enable proguard for cocos2d * examples & test cmake support * add android build type param to gradle.properties file * less warnings * update all android configs to recomended settings * fix network cmake error * fix js-tests cmake error * android build config, add cmake * android build config, add cmake * add lua share lib * android lua cmake build fix * fix * luajit test * run fail, still * fix js-warning * correct lua main include * lua test project cmake support android * try to add lua-template cmake support * lua template fix * js_tests support cmake on android * js-tests improve * cmake support js-template * test to realise prebuild * cmake improve, no feature * improve templates cmake * refactor cmake struct * correct cpp-tests cmake * cpp-templates cmake improve * typo fix * cmake struct refator * change default option * adapt new project struct * uniform cmake test style * add_dependencies to support make -j * little struct improve * little fix * adapt cmake bin dir * little improve about cmake version * change build all tests condition * add source_group for Xcode * add mark source files * add more mark source code * add template project to test * add macos info.plist template * add pak macos for all project * lua test icon fix * not consider lua project for now * modify pak method * add another ios toolchain * add ios system library * update ios toolchain, and reduce ios compile errors * reduce error * make ios engine lib compile pass * cpp-empty-test ios bundle * cpp-tests ios support * js-tests ios support * templates project support ios * fix the way of lua-tests package * try to fix lua-template on macOS * comment lua-template sim file * improve display on xcode * update cmake readme * check android compile again * fix android compile error * fix linux cmake res error * update deps version, for cmake * fix lua_template linux compile error * close android cmake support for now * review template android share library name * change PROP_BUILD_TOOLS_VERSION version to 27.0.1 * change android compile version * make `PROP_APP_PLATFORM` back, add comments for android native build * Revert "make `PROP_APP_PLATFORM` back, add comments for android native build" This reverts commit 272ddc19886891b9502cde070753a870c0fdb588.
2018-02-08 09:24:33 +08:00
include_directories(editor-support)
2013-11-02 18:07:34 +08:00
set(COCOS_SPINE_HEADER
editor-support/spine/Animation.h
editor-support/spine/EventData.h
editor-support/spine/SkeletonAnimation.h
editor-support/spine/SlotData.h
editor-support/spine/SkeletonClipping.h
editor-support/spine/PathAttachment.h
editor-support/spine/PointAttachment.h
editor-support/spine/Event.h
editor-support/spine/Bone.h
editor-support/spine/Atlas.h
editor-support/spine/VertexAttachment.h
editor-support/spine/SkeletonRenderer.h
editor-support/spine/spine.h
editor-support/spine/ClippingAttachment.h
editor-support/spine/spine-cocos2dx.h
editor-support/spine/Color.h
editor-support/spine/Triangulator.h
editor-support/spine/RegionAttachment.h
editor-support/spine/Attachment.h
editor-support/spine/TransformConstraint.h
editor-support/spine/dll.h
editor-support/spine/SkeletonJson.h
editor-support/spine/IkConstraintData.h
editor-support/spine/AnimationStateData.h
editor-support/spine/kvec.h
editor-support/spine/Skeleton.h
editor-support/spine/Json.h
editor-support/spine/AttachmentLoader.h
editor-support/spine/Skin.h
editor-support/spine/VertexEffect.h
editor-support/spine/SkeletonBinary.h
editor-support/spine/SkeletonData.h
editor-support/spine/Array.h
editor-support/spine/PathConstraintData.h
editor-support/spine/SkeletonBatch.h
editor-support/spine/TransformConstraintData.h
editor-support/spine/Cocos2dAttachmentLoader.h
editor-support/spine/extension.h
editor-support/spine/PathConstraint.h
editor-support/spine/IkConstraint.h
editor-support/spine/BoundingBoxAttachment.h
editor-support/spine/AttachmentVertices.h
editor-support/spine/SkeletonTwoColorBatch.h
editor-support/spine/SkeletonBounds.h
editor-support/spine/Slot.h
editor-support/spine/BoneData.h
editor-support/spine/AnimationState.h
editor-support/spine/MeshAttachment.h
editor-support/spine/AtlasAttachmentLoader.h
)
set(COCOS_SPINE_SRC
editor-support/spine/Animation.c
editor-support/spine/AnimationState.c
editor-support/spine/AnimationStateData.c
editor-support/spine/Array.c
editor-support/spine/Atlas.c
editor-support/spine/AtlasAttachmentLoader.c
editor-support/spine/Attachment.c
editor-support/spine/AttachmentLoader.c
editor-support/spine/AttachmentVertices.cpp
editor-support/spine/Bone.c
editor-support/spine/BoneData.c
editor-support/spine/BoundingBoxAttachment.c
editor-support/spine/ClippingAttachment.c
editor-support/spine/Cocos2dAttachmentLoader.cpp
editor-support/spine/Color.c
editor-support/spine/Event.c
editor-support/spine/EventData.c
editor-support/spine/IkConstraint.c
editor-support/spine/IkConstraintData.c
editor-support/spine/Json.c
editor-support/spine/MeshAttachment.c
editor-support/spine/PathAttachment.c
editor-support/spine/PathConstraint.c
editor-support/spine/PathConstraintData.c
editor-support/spine/PointAttachment.c
editor-support/spine/RegionAttachment.c
editor-support/spine/Skeleton.c
editor-support/spine/SkeletonAnimation.cpp
editor-support/spine/SkeletonBatch.cpp
editor-support/spine/SkeletonBinary.c
editor-support/spine/SkeletonBounds.c
editor-support/spine/SkeletonClipping.c
editor-support/spine/SkeletonData.c
editor-support/spine/SkeletonJson.c
editor-support/spine/SkeletonRenderer.cpp
editor-support/spine/SkeletonTwoColorBatch.cpp
editor-support/spine/Skin.c
editor-support/spine/Slot.c
editor-support/spine/SlotData.c
editor-support/spine/TransformConstraint.c
editor-support/spine/TransformConstraintData.c
editor-support/spine/Triangulator.c
editor-support/spine/VertexAttachment.c
editor-support/spine/VertexEffect.c
editor-support/spine/extension.c
editor-support/spine/spine-cocos2dx.cpp
)