For Travis CI - skip APK test run when packaging.
General build script cleanup:
- Constrain build option values in cmake-gui.
- Constrain build configuration for both multi-configuration and single-configuration generators.
- Mark cached variables as advanced or internal as appropriate.
Enhance Rakefile to autoload other *.rake scripts in ".rake" directory.
Also create symlink to Rakefile when scaffolding.
[ci skip]
Remove COPY_BASE_ATTRIBUTES(Component);
Misc. fixes in the build script to improve the release mechanism.
The following changes address the shortcomings of our current release mechanism detected from our last release.
- Define and set RELEASE_TAG environment variable only when a git tag conform to a release tagging matching regex "\d+\.\d+".
- Change the logic to allow the automated rake tasks to be triggered on a 'tag' branch properly.
- Fix the 'git rebase' command to use the branch pointed by TRAVIS_BRANCH environment variable as baseline, instead of assuming it to be always 'origin/master' as before.
- Change Urho3D library versioning CMake module to omit the version patch number when there is none, i.e. 1.32 instead of 1.32.0.
Combine DrawableProxy2D and MaterialCache2D in to Renderer2D.
Remove Sprite2D from Drawable2D, make Drawable2D more general.
Remove custom material from Drawable2D, Renderer2D will get all Drawable2D when HandleBeginViewUpdate.
rename DRAWABLE_PROXYGEOMETRY DRAWABLE_RENDERER2D
Fix bug.
Remove unused code, rename DefaultMaterial to Material.
Fixed tile map remove layer node bug.
Travis CI: API documentation update at 2014-11-24 10:49:19 UTC.
[ci package]
Add events for GPU context loss & restore.
Travis CI: API documentation update at 2014-11-24 15:10:14 UTC.
[ci package]
For Travis CI - use HEAD instead of $TRAVIS_BRANCH for ci_rebase task.
This is because the detached head may actually move due to API documentation update, so $TRAVIS_BRANCH environment variable may actually just point to HEAD~ in this scenario, which was not good as it would cause CI mirror branches became being pushed twice unnecessarily, one for HEAD~ and one for HEAD.
Using HEAD should work equally well for both normal commit and release tagging commit.
When index buffer data lost, reset index buffer data.
Set the CPack default installation dir to be the same as CMake one.
This is only applicable for CPACK when creating RPM and DEB software packages. The CPack and CMake installation dir are now both set to /usr/local.
This commit also makes it possible to generate Urho3D.pc for Android platform now. Note the default installation dir for Android is /user instead (Android has its own convention as set by android.toolchain.cmake).
Only get enabled Drawable2D in Renderer2D.
Added persistence of attributes for ScriptInstances in the editor, so that when an error occurs, the values are not reset to default.
Merge branch 'cleaning-up-build-scripts-for-android' into master.