ColaAne Adobe ANE extension for Cola libraries This library is a native extension for Adobe AIR that works as a wrapper around MArVL's libcola library. Build instructionsYou will need the Adobe Flex SDK, the Adobe AIR SDK and Apache Ant. Visual Studio and Xcode are assumed as build tools, but any compiler should work as long as it can produce dynamic libraries with all the functions in colaAne.cpp exported. WindowsAdd the FlashRuntimeExtensions header and library files from the Adobe SDK to your include and library paths respectively. Open the colaAne.sln solution in Visual Studio and build the project. No other configuration should be necessary. Mac OS XEdit the my_cola.xcconfig file and replace all occurences of "path_to_air_sdk" with the actual path to where you put the Adobe AIR SDK. Go to the cplusplus/ColaAneMac/colaAne directory and build the library using /usr/bin/xcodebuild -project ./colaAne.xcodeproj -xcconfig my_cola.xcconfig -configuration Release ARCHS="i386" build Packaging the native extensionSet the FLEX_HOME environment variable to where your Adobe Flex SDK is located. Edit thebuild.properties file to add path to your keystore and its password. Run ant with the appropriate buildfile - for example if you want to build the extension with only Windows support, you would run ant -f build-win-only.xml. If you wish to build the extension for both Windows and Mac OS X, you will need to copy the dynamic libraries built in the previous steps over to the computer where you will be packaging the extension (whether that is a Windows machine or a Mac OS X machine is irrelevant). The extension will be located in the dist directory.
相关链接:
https://github.com/pipelinersales/ColaAne
|