Yao Wei Tjong 姚伟忠
f2b21ee816
Enable ccache support for Emscripten (incoming) without the caveat.
...
The upstream issue https://github.com/kripken/emscripten/issues/3365 has been fixed now in Emscripten's incoming branch.
2015-04-22 10:14:22 +08:00
Yao Wei Tjong 姚伟忠
9a5dea71e1
Update documentation on ccache to explain its usage is optional.
...
Add simple diagnostic message to help user to rectify ccache configuration error.
2015-04-19 14:20:38 +08:00
Yao Wei Tjong 姚伟忠
2dd22c82ef
Attempt to enable ccache support for Emscripten compiler toolchain.
...
Minor documentation update again on ccache usage.
2015-04-17 17:33:33 +08:00
Yao Wei Tjong 姚伟忠
bfa54ece21
Need to stringify to guard against undefined environment variable.
2015-04-17 07:17:58 +08:00
Yao Wei Tjong 姚伟忠
fd7d667b21
Enhance Emscripten toolchain file to support ccache (but disabled).
...
It can only be enabled later when Emscripten has fixed https://github.com/kripken/emscripten/issues/3365 .
2015-04-17 01:24:39 +08:00
Yao Wei Tjong 姚伟忠
167f00771f
Enhance Android toolchain file to support ccache (our way).
2015-04-17 00:58:22 +08:00
Yao Wei Tjong 姚伟忠
541c6e0e29
Enhance Raspberry-Pi toolchain file to support ccache.
2015-04-16 17:52:46 +08:00
Yao Wei Tjong 姚伟忠
f94d4d26d1
Enhance MinGW toolchain file to support ccache.
...
This is in preparation for using ccache in the container-based CI builds later.
Reinstate MinGW 32-bit D3D9 build jobs which were accidentally got deleted.
2015-04-16 14:34:06 +08:00
Yao Wei Tjong 姚伟忠
02c2b57cea
Minor tweaks and fixes for Emscripten build settings.
2015-03-30 18:36:42 +08:00
Yao Wei Tjong 姚伟忠
4d34d0a626
Add new Emscripten build option for creating shared data file.
2015-03-03 23:32:27 +08:00
Yao Wei Tjong 姚伟忠
3af78c291b
Code cleanup on CMake/Emscripten toolchain file.
...
Remove hardcoding that we don't need.
2015-03-01 00:23:24 +08:00
Yao Wei Tjong 姚伟忠
8471dcf3e4
Add option to package resource dirs and treat those dirs as build deps.
...
Fix static library building using emar instead of ar (from host compiler toolchain).
2015-02-13 21:31:59 +08:00
hdunderscore
92fe5d3c89
-The suffix is important on Windows when running CMake 'execute_process' in enable_pch, otherwise execute_process will not recognize the compiler as a file.
...
-Also reduced usr/bin/ar to ar, as it was invalid on Windows.
2015-02-13 21:29:10 +08:00
Yao Wei Tjong 姚伟忠
6e0ff48059
Suppress linker warnings. Minor doc update.
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
19ab396e74
Add new Emscripten/CMake toolchain file based on Urho3D convention.
...
Use EMSCRIPTEN_ROOT_PATH environment variable to specify the root path to the emscripten, instead of the original EMSCRIPTEN environment variable exported in emsdk_set_env.sh.
This is because the original EMSCRIPTEN environment variable name clashes with our build scripts.
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
6763207787
Complet the rebase to master branch.
2015-02-13 21:23:05 +08:00
t
395191e991
eliminate some compiler warnings
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠
060801abcc
Correct MinGW sysroot path for RedHad-based host system.
...
[ci skip]
2015-02-02 20:42:23 +08:00
Lasse Öörni
bb2ebf7568
Bump copyright to 2015.
2015-01-31 21:03:53 +02:00
Yao Wei Tjong 姚伟忠
8e81d3ff36
Use regex replacement to handle path with spaces in between correctly.
...
Enhance build scripts to handle source tree and build tree with spaces.
Fix PCH generation with incorrect compiler flags caused by -fPIC and -fpic from being added at the same time.
Fix compiler warning on Android platform with PCH enabled on the external main project due to CMake bug in 'VISIBILITY_INLINES_HIDDEN' implementation.
Close #637 .
2015-01-29 20:15:13 +08:00
Yao Wei Tjong 姚伟忠
9c61a7673b
Add option to exclude individual C++ source file from using PCH.
...
Clean up enable_pch() macro and minor update on code comments.
2015-01-29 16:13:43 +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 姚伟忠
20e21050e9
Rename everything 'RASPI' to 'RPI'. [ci rebase]
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