1 Star 0 Fork 0

TouchVG / DemoCmds

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

DemoCmds

Overview

DemoCmds is a template and example project containing customized shape and command classes based on TouchVGCore. You can customize the drawing behavior via implement your CmdObserve class.

You can use newproj.py to create your library project: Type python newproj.py PrjName or double click the file 'newproj.py'.

Build

Build for iOS platform on Mac OS X.

  • Type pod install or pod install --no-repo-update with CocoaPods. Need to remove libPods.a from Link Binary With Libraries.

  • Or open ios/DemoCmds/DemoCmds.xcodeproj in Xcode, then build the library project.

  • Or cd the 'ios' folder of this project and type ./build.sh to build ios/output/libDemoCmds.a.

    • Type ./build.sh -arch arm64 to make iOS libraries for iOS 64-bit.
    • Type ./build.sh clean to remove object files.

Build for Android platform on Mac, Linux or Windows.

  • Cd the 'android' directory of this project and type ./build.sh to build with ndk-build. The library libDemoCmds.a will be outputed to android/DemoCmds/obj/local/armeabi.

    • Type ./build.sh -B to rebuild the native libraries.

    • Type ./build.sh APP_ABI=x86 to build for the x86 (Intel Atom) Emulator.

    • MinGW and MSYS are recommend on Windows.

    • To regenerate the kernel JNI classes, type ./build.sh -swig (Need to install SWIG, and add the location to PATH).

Build for Windows platform with Visual Studio.

  • Open win\vs2010.sln in Visual Studio 2010, then build the DemoCmds library project. Or open win\vs2008.sln in Visual Studio 2008.

  • To regenerate win/democmdslib/core/*.cs, please enter win directory and type ./build.sh (Need to install SWIG, and add the location to PATH). Or change 'Excluded From Build' setting of democmds|Swig Files|democmds.i as 'No' in Visual Studio to compile it.

Build for more platforms and targets.

  • Cd the 'core' folder of this project and type make or make all install to generate libraries on Mac, Linux or Windows.
  • Type make java, make python or make csharp to generate libraries for another language applications using Java, Python or C#.
  • Type make clean java.clean python.clean to remove the program object files.

空文件

简介

A template and example project containing customized shape and command classes. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/vg/DemoCmds.git
git@gitee.com:vg/DemoCmds.git
vg
DemoCmds
DemoCmds
master

搜索帮助