Yao Wei Tjong 姚伟忠
d8a39273da
Replace Source/ThirdParty/SDL subdirectory with subtree.
2016-03-16 01:05:35 +08:00
Yao Wei Tjong 姚伟忠
6e0a447ebb
Break fix for SDL library build when using Raspbian Jessie.
...
[ci only: RPI] [skip appveyor]
2016-02-22 23:26:41 +08:00
urho3d-travis-ci
c4f6f315ff
Travis CI: bump copyright to 2016.
...
[ccache clear]
2016-01-26 13:55:03 +00:00
Yao Wei Tjong 姚伟忠
d267c5ee3c
Fix build system to find 32-bit readline package correctly on Debian.
2016-01-22 13:41:29 +08:00
Yao Wei Tjong 姚伟忠
1066c52fb6
Fix build system to find 32-bit packages correctly on Linux.
2016-01-22 12:01:23 +08:00
Yao Wei Tjong 姚伟忠
431559c2bd
For Travis CI & AppVeyor - unified 'ci' rake task and spring cleaning.
2016-01-06 16:38:58 +08:00
Yao Wei Tjong 姚伟忠
510f7e31df
Add new CMake module to detect PulseAudio development library.
...
[ccache clear] [ci only: RPI]
2015-11-27 01:17:29 +08:00
Yao Wei Tjong 姚伟忠
86037b99dc
Quick fix for RPI cross-compiling build on a host with PulseAudio.
2015-11-25 00:15:37 +08:00
Yao Wei Tjong 姚伟忠
8296370cf3
Only check for pkg-config when targeting Linux platform.
2015-11-22 09:48:43 +08:00
Lasse Öörni
c1893c7c51
CMakeLists formatting.
2015-11-16 14:31:03 +02:00
Jordan Patterson
bc917769d1
Build SDL with PulseAudio if available
2015-11-16 14:31:01 +02:00
Yao Wei Tjong 姚伟忠
a77e24d8ad
Enable external project macro users to find and use PackageTool.
...
Adjust software packaging for Emscripten.
2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠
bb438ac6d9
Fetch the Emscripten SDL2 port in an orderly fashion.
2015-02-13 21:31:59 +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 姚伟忠
8743413816
Attempt to enable precompiled header support for GCC and Clang.
2015-01-29 16:13:41 +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 姚伟忠
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 姚伟忠
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 姚伟忠
20e21050e9
Rename everything 'RASPI' to 'RPI'. [ci rebase]
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
08f08e460b
Improve the reliablity to find SDL_android_main.c when using SDK.
...
Replace usage of URHO3D_INSTALL_PREFIX environment variable with the more standard CMake's own CMAKE_PREFIX_PATH environment variable to define prefix path of non-standard SDK installation location.
2014-07-17 15:15:15 +08:00
Yao Wei Tjong 姚伟忠
c1b506ee54
Clean up build scripts to avoid code duplication.
2014-05-16 13:12:52 +08:00
Yao Wei Tjong 姚伟忠
b1fbab4953
Be explicit in setting the file permissions when installing.
...
Closes #352 .
2014-05-15 21:14:09 +08:00
Lasse Öörni
6f21f8bc69
Merge branch 'sdl-update'
2014-03-24 23:37:22 +02:00
Yao Wei Tjong 姚伟忠
ed1f820f9b
For Travis CI - workaround FindALSA cmake module bug on Ubuntu 12.04.
2014-03-21 21:03:33 +08:00
Lasse Öörni
365e0a7ed2
Fixed conflict. Removed nonexistent file from SDL CMakeLists.txt.
2014-03-21 01:48:52 +02:00
Yao Wei Tjong 姚伟忠
e83d98f016
Fix Urho3D.pc file for Windows and Raspberry Pi platforms.
...
Document cross-compiling example using pkg-config for Raspberry Pi platform.
Disable Urho3D.pc file generation for Android and iOS platform.
2013-11-17 21:26:44 +08:00
Yao Wei Tjong 姚伟忠
36620dd819
Avoid hardcoding of include dirs in the Urho3D.pc.in input file.
...
Also revert decision to use smaller letter case cmake destination directory in previous commit :).
2013-11-16 16:21:13 +08:00
Yao Wei Tjong 姚伟忠
d7942132f1
Configure and install Urho3D.pc file for pkg-config tool.
...
This is useful for Urho3D library user via SDK installation without having CMake installed.
2013-11-15 18:33:51 +08:00
Yao Wei Tjong 姚伟忠
a96a94a4f6
Fix FindUrho3D.cmake module to include back SDL headers as dep.
...
Install SDL headers for all platforms (not just Android).
2013-11-06 08:04:48 +08:00
Yao Wei Tjong 姚伟忠
bd3ee3f932
Fix the destination template dir for GCC only.
...
Android build on Windows platform should also use the same template location installed in the NDK or standalone toolchain.
2013-11-05 17:05:31 +08:00
Yao Wei Tjong 姚伟忠
24c11dda23
Revert "Setup Android template directory for both Windows and non-Windows."
...
This reverts commit 06f7d73922
.
2013-11-05 17:00:43 +08:00
Yao Wei Tjong 姚伟忠
06f7d73922
Setup Android template directory for both Windows and non-Windows.
2013-11-05 16:36:14 +08:00
Yao Wei Tjong 姚伟忠
8a571ae437
Document how to install library and how to find it from installed SDK.
2013-11-05 15:52:37 +08:00
Yao Wei Tjong 姚伟忠
e8fbcf8a82
Add 'install' option for cross-compiling build and IOS as well.
...
Note: there is a known bug in CMake/Xcode generator that prevents iOS targets (library and bundle) to be installed correctly (see http://public.kitware.com/Bug/bug_relationship_graph.php?bug_id=12506&graph=dependency ).
2013-11-04 00:13:49 +08:00
Yao Wei Tjong 姚伟忠
b45de628e7
Reduce 3rd-party headers installation to as minimum as possible.
2013-11-03 06:28:41 +08:00
Yao Wei Tjong 姚伟忠
52ff881c54
Add 'install' option (currently only available for native build).
...
Also enhance FindUrho3D.cmake module to find Urho3D library in the Urho3D SDK installation location.
2013-11-02 16:45:44 +08:00
Yao Wei Tjong 姚伟忠
9e09e958dc
Fixed event handling for Raspberry Pi.
2013-10-29 13:58:47 +08:00
Yao Wei Tjong 姚伟忠
6cf19fa9ce
Fixed Raspberry Pi error (could open Window).
2013-10-28 22:30:01 +08:00
Lasse Öörni
afa6c4ccc3
Initial SDL 2.0.1 merge. Windows tested OK. Android will crash when returning to the application.
2013-10-27 03:11:36 +03:00
Lasse Öörni
9d0eb0ffae
If a rigid body is kinematic, set it to never deactivate itself.
2013-10-12 21:22:47 +03:00
Lasse Öörni
8d5aa5bbd2
Fix UNICODE define in SDL not taking effect properly with new MinGW.
2013-10-12 18:37:58 +03:00
weitjong
598c24a4aa
Corrected usage of message() command for showing CMake status.
2013-10-06 14:01:10 +08:00
Wei Tjong Yao
09ba853aba
Keep CMakeCache.txt in between build script invocation to speed things up. Correct typo error.
2013-09-26 20:56:42 +00:00
Wei Tjong Yao
9b023ae862
Add BCM VideoCore include directories globally for RASPI build.
2013-09-18 10:15:22 +00:00
Wei Tjong Yao
7594f8105a
Applied Raspberry Pi patch sent by Colin Barrett.
2013-09-15 23:35:13 +00:00
Wei Tjong Yao
463ce2a65d
Enabled option to build Urho3D static and shared library (without main entry point) for Android. Fixed debug compiler flags being defined multiple times for Android build. Added post-build command to strip the generated Urho3D shared library if it is built for embedded devices. Enhanced cmake_gcc.sh to automatically fix the generated Eclipse project setting files for Android build.
2013-08-25 08:08:52 +00:00
Wei Tjong Yao
ccd6a926ae
Added Urho3D library build option for IOS.
2013-08-16 08:56:55 +00:00
Lasse Öörni
5bfde24e0b
Updated to stable SDL 2.0.
2013-08-13 13:20:59 +00:00
Lasse Öörni
972124649e
Include only one haptic driver (either windows or dummy) on Windows to fix MinGW build without DX joystick support, and to ensure no duplicate object file names.
2013-08-11 20:47:50 +00:00
Wei Tjong Yao
a01faa3ef2
Fixed static and shared library build using Xcode.
2013-08-09 16:19:58 +00:00
Wei Tjong Yao
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
2013-08-09 10:29:22 +00:00