Yao Wei Tjong 姚伟忠
8a421a4012
Add new files for URHO3D_MACOSX_BUNDLE build options.
2015-01-17 18:41:33 +08:00
Yao Wei Tjong 姚伟忠
1b2dcac1d2
Add new URHO3D_MACOSX_BUNDLE build option to build bundled apps on OSX.
2015-01-17 18:34:22 +08:00
Yao Wei Tjong 姚伟忠
c6045b99b7
Skip header installation when destination include dir is not defined.
...
This should prevent cross-compiling with host tool building from installing header files for the host target.
2015-01-16 13:59:37 +08:00
Yao Wei Tjong 姚伟忠
8682ba781a
Install header files for Lua/LuaJIT and tolua++ 3rd party libraries.
...
Fixes #610 .
2015-01-16 13:20:44 +08:00
Yao Wei Tjong 姚伟忠
bffa727e2e
Attempt to suppress Xcode multi-group resource reference warnings.
2015-01-14 13:32:11 +08:00
Yao Wei Tjong 姚伟忠
1f0897ec9c
Fix the dumb version of post-CMake command to always exit successfuly.
...
External project may not have install steps defined but the post-CMake fix is still being applied causing build failure previously.
2015-01-11 22:01:42 +08:00
Yao Wei Tjong 姚伟忠
8bb7d680ed
Dumb down the post-CMake fix for iOS platform. Fixes #602 .
...
The post-CMake fix is now reapplied on each iOS build without first checking it needs the fix or not. But since the 'sed' fix is harmless to be repeated, it is ok to do so.
The original 'smart' post-CMake fix uses shell [] operator but have to be removed to keep the CMake 3.0.0 and 3.0.1 users happy.
[ci skip]
2015-01-11 13:50:45 +08:00
Yao Wei Tjong 姚伟忠
3ae2942ad2
Move the cricial post-CMake fix into CMake rules for iOS platform.
...
This should ensure the Xcode project generated from user calling cmake-gui directly or cmake directly (not via our build scripts) would also geting the critical fix, and also whenever CMake performs a rerun internally then our post-CMake fix is reapplied automatically.
2015-01-09 18:02:42 +08:00
Yao Wei Tjong 姚伟忠
35307869ee
Clean up to remove unused CMake variables.
...
LIBS is now defunct. No more dual purpose usage.
INCLUDE_DIRS_ONLY is renamed to INCLUDE_DIRS.
LINK_LIBS_ONLY is renamed to LIBS.
2015-01-07 21:51:00 +08:00
Yao Wei Tjong 姚伟忠
bde0b2bcfe
Fix Android build on Windows host system without MKLINK capability.
2015-01-06 22:20:04 +08:00
Yao Wei Tjong 姚伟忠
2e9d9f4806
Fix MinGW build on Windows host system.
2015-01-06 17:25:58 +08:00
Yao Wei Tjong 姚伟忠
71862e42c1
Reinstate the MSVC "workaround" include path fix.
2015-01-04 22:40:40 +08:00
Yao Wei Tjong 姚伟忠
2b353512c3
Fix freetype2 headers installation - missed one file earlier.
2015-01-04 22:40:40 +08:00
Yao Wei Tjong 姚伟忠
4c17b03173
Remove existing include path abstraction.
...
Remove engine's sub-CMakeLists.txt.
2015-01-04 22:32:42 +08:00
Yao Wei Tjong 姚伟忠
1cbbb6b805
Finalize SDK-like include dirs clean up. Fix build using MSVC.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
a4a4cde236
Refactor all CMake toolchains to reset CMAKE_INSTALL_PREFIX variable.
...
Add new build options for specifying tool-prefix and target-sysroot in cross-compiling build.
Add new IOS_SYSROOT variable to store the path to iOS sysroot and use it to set CMAKE_FIND_ROOT_PATH variable.
Now also generate pkg-config Urho3D.pc for iOS platform.
For Travis CI - simplify SDK installation logic. Use DESTDIR=~ to avoid sudo.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
1b465fb704
Clean up FindUrho3D.cmake module.
...
Add new build options to override 64-bit Linux package setup for Debian and Redhad -based host systems.
For Travis CI - fix 64-bit RPM package generation to install library in /usr/lib64, also fix external project build test using Urho3D library from SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
4feb135281
Clean up SDK include dirs. Refactor FindUrho3D CMake module.
...
For Travis CI - add new steps to install the Urho3D SDK and to reference Urho3D library from the installed SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
16e05862ab
Preparation for SDK include dir cleaning up.
2015-01-04 22:32:40 +08:00
Yao Wei Tjong 姚伟忠
325a4f7365
Refactor to use the newly renamed Source/Urho3D directory.
2015-01-04 22:32:40 +08:00
Yao Wei Tjong 姚伟忠
8e6fe0da14
Refactor LuaJIT build scripts - no more generated CMakeLists.txt.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
67e415acc8
Fine tune LuaJIT target arch detection logic.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
4db162eb62
Lua/LuaJIT host tool building while cross-compiling in one go.
...
For Travis CI - reenable CI build with Lua/LuaJIT build option turned on.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
d75c592bd2
Add new engine parameter to set the location of resource prefix path.
...
Remove temporary measure instead use the new URHO3D_PREFIX_PATH environment variable to set the resource prefix path for testing the executables.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
98d410091e
Fix temporary measure for creating asset dir symlink in Ubuntu host.
...
Also:
- fix Android-CI build which does not need the symlink creation in the first place.
- fix an existing Xcode build configuration bug which was left undetected until now.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
20e21050e9
Rename everything 'RASPI' to 'RPI'. [ci rebase]
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
d8a3b8b4f4
Make repo root is also CMake source tree for the Urho3D project.
...
Build tree location is now fully user defined. The build tree location could also be the same as source tree, although it is not recommended.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
514847fb99
Adjust batch files and shell scripts to take build tree as user input.
...
Refactor to use a single generic batch file/shell script that does the actual work.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
4f60123516
Move CMake modules and toolchains to the new source tree.
2015-01-04 22:32:38 +08:00