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'.
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
.
./build.sh -arch arm64
to make iOS libraries for iOS 64-bit../build.sh clean
to remove object files.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).
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.
make
or make all install
to generate libraries on Mac, Linux or Windows.make java
, make python
or make csharp
to generate libraries for another language applications using Java, Python or C#.make clean java.clean python.clean
to remove the program object files.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。