Commit Graph

613 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
860922136b Fix iOS build to support 11.x deployment target.
Close #2190.
2017-12-15 23:32:34 +08:00
Eugene Kozlov
26ff4fce30 Fix AssImp compilation with VS 2017. Remove cmake_vs2013.bat. Closes #2191. 2017-11-25 09:04:41 +03:00
Yao Wei Tjong 姚伟忠
aaa4fd8eb8 Include one of assimp's cmake module for enabling Open3DGC for Linux.
Fix header search path for the compiling Open3DGC build option.
2017-10-24 21:52:19 +08:00
Yao Wei Tjong 姚伟忠
9b22e16324 Fix the intermittent Android-CI build failure
Related to commit 6b63f20065.
2017-10-14 14:30:22 +08:00
Yao Wei Tjong 姚伟忠
0af84653df Minor patch for the assimp's CMakeLists to fix MinGW build. 2017-10-14 08:37:02 +08:00
Yao Wei Tjong 姚伟忠
0c96975249 Merge commit '661527824a9364865142e46c2a46b2e57f64c8ce' as 'Source/ThirdParty/Assimp' 2017-10-12 22:58:00 +08:00
Yao Wei Tjong 姚伟忠
b096792dcc Replace Source/ThirdParty/Assimp subdirectory with subtree. 2017-10-12 22:57:57 +08:00
Yao Wei Tjong 姚伟忠
6b63f20065 Fix the intermittent Android-CI build failure.
A few of the docker-containers for Android build environment in Travis may have been wrongly configured recently (have different CPU type than the rest) that the 'native' host tool built from the Android build environment caused illegal instruction (core dumped) when the tool was run on the container host. We are using "ccache" to cache the object files. For this to work, we expect to have a uniform build environments. Setting the deployment target to 'generic' for now in order to workaround the problem.
2017-10-11 17:12:59 +08:00
Yao Wei Tjong 姚伟忠
c38299ae1b Merge commit '6f9bcea2833beb3a0b5a4428d7228d2206a58f5e' as 'Source/ThirdParty/AngelScript' 2017-10-01 17:00:22 +08:00
Yao Wei Tjong 姚伟忠
65ec0deca6 Replace Source/ThirdParty/AngelScript subdirectory with subtree. 2017-10-01 16:58:11 +08:00
Yao Wei Tjong 姚伟忠
b53cda9d6f Remove the nanodbc internal build options.
To revisit when our code base and/or build system has catched up with them.
2017-09-24 12:07:23 +08:00
Yao Wei Tjong 姚伟忠
27d00d19c6 Merge commit 'c5706e2c884636104906ea75dbf444ad82abf0f4' into master. 2017-09-23 20:58:06 +08:00
Henrik Heino
a149a71c78 Fix too strict assert in kNet. 2017-09-14 09:55:41 +03:00
Yao Wei Tjong
a8893bafca Merge pull request #2122 from rainerdeyke/master
Hot-fix to AngelScript: fixed compile with address sanitizer.
2017-09-10 16:35:05 +08:00
Yao Wei Tjong 姚伟忠
e29e743c2a Fix Android debug build caused by ik library. 2017-09-07 21:57:19 +08:00
Rainer Deyke
19acb12713 Hot-fix to AngelScript: fixed compile with address sanitizer. 2017-09-05 11:43:30 +02:00
cosmy
a6456e7308 Update sqlite to 3.20.1. 2017-08-24 21:15:24 +02:00
Lasse Öörni
3a85655248 Prevent use of system call also on iOS. Closes #2083. 2017-08-20 21:43:45 +03:00
Lasse Öörni
50dd3fd3c9 Fix memory backtrace option (Linux-only) getting enabled on non-Unix platform in debug build. 2017-08-19 20:38:45 +03:00
Lasse Öörni
12c394232c Disable verbose debug output (z_verbose & z_error) from FreeType's zlib, to make sure it doesn't clash with Assimp's zlib in a debug build. 2017-08-19 19:56:06 +03:00
TheComet
c43b269845 Updating script APIs, making sure sample compiles, see thread on the forum for more info 2017-08-06 17:08:14 +02:00
TheComet
1f679d6756 fixes #2058 - It probably still has some bugs that need fixing, and the script bindings need updating 2017-08-03 23:22:32 +02:00
TheComet
0e72531fe3 Gotta stop here, will continue tomorrow 2017-08-03 00:02:17 +02:00
TheComet
15f837d880 (Sorry) giving RebuildData() a more sensible name 2017-08-02 23:10:28 +02:00
TheComet
ea593632a5 Setting IK_RESTRICT properly this time. Also refactoring export.h.in 2017-07-29 21:53:40 +02:00
TheComet
cc8b06c8f9 Using #cmakedefine and making the for loop more efficient 2017-07-29 16:36:03 +02:00
Alex Murray
a7b20de253 config.h.in fail 2017-07-29 01:12:13 +02:00
TheComet
eaebb5e82b Fixing IK_HAVE_STDINT_H 2017-07-29 00:31:15 +02:00
TheComet
4f96c7c29f Refactoring the 'feature' setters and getters into a single method. Renaming a few things to be more consistent. Adding Documentation 2017-07-28 18:36:57 +02:00
TheComet
4a6d86804e Fixing bugs, updating script bindings and sample code 2017-07-28 03:42:16 +02:00
TheComet
bbaeccb11b Fixing compilation errors 2017-07-26 01:40:06 +02:00
TheComet
183cea3ef5 Merging updated IK library source files 2017-07-26 01:40:06 +02:00
Lasse Öörni
5fb53f9bd8 Better check for Android NEON support in WebP. 2017-07-22 13:18:48 +03:00
Lasse Öörni
93fc311b30 Disable NEON from WebP library on Android for now, as it results in compile error from the include files if the NEON instruction set is not in use. 2017-07-21 22:38:49 +03:00
Lasse Öörni
157130c612 Add WebP license and mention to library list. 2017-07-20 22:13:49 +03:00
carnalis
3339e5012b Initial commit of WebP image support 2017-07-20 00:43:15 -04:00
Yao Wei Tjong 姚伟忠
ec84cfdfd1 Remove the usage of add_compiler_export_flags() deprecated function.
Fix #1945.
2017-07-13 23:17:09 +08:00
Yao Wei Tjong 姚伟忠
7fc9aa816a Make clean for MinGW/Android/Web platforms.
The rest of the platforms are already taken care of by this commit, however, only tested explicitly on Linux native, RPI, and ARM.
2017-07-09 21:58:33 +08:00
Lasse Öörni
650f380623 Add base64 license, apply Urho code convention to base64 code since it's inside StringUtils.cpp. 2017-07-05 13:55:22 +03:00
Lasse Öörni
0b8af7cf04 Remove the FreeType docs/reference folder, as it has been Urho3D tradition to not include it. 2017-06-17 00:06:00 +03:00
Iain Merrick
4e851dbd4d Update FreeType to 2.8. 2017-06-15 13:07:34 -05:00
Lasse Öörni
86ba5e5bdd Update Bullet to 2.86.1. Thanks to slapin for the initial work. 2017-06-10 21:30:19 +03:00
Yao Wei Tjong 姚伟忠
c7a0149dc9 Another sweep for tvOS conditional code branch. 2017-06-05 23:04:09 +08:00
Yao Wei Tjong 姚伟忠
75b8420a31 Initial work for porting Urho3D to AppleTV platform. 2017-06-05 23:04:09 +08:00
1vanK
e1e6016eeb Update rapidjson lib 2017-05-04 17:28:02 +03:00
Lasse Öörni
d57e7bc5c4 Fix JSONValue::End() and typo. Closes #1925. 2017-05-02 20:46:46 +03:00
cosmy
aa6c87f18d Update LZ4 license year. 2017-04-26 20:39:09 +02:00
cosmy
0d91c33e22 Update LZ4 to 1.7.5. 2017-04-26 20:14:28 +02:00
cosmy1
3c360b9627 Update SQLite to 3.18.0. 2017-04-25 13:26:25 +02:00
cosmy1
0a66603da7 Update boost preprocessor to 1.64.0. 2017-04-25 13:14:15 +02:00
Yao Wei Tjong 姚伟忠
d53928310c Workaround struct redefinition on some newer MinGW header files.
Fix #1899.
2017-04-15 00:55:49 +08:00
Yao Wei Tjong 姚伟忠
0e4060b61a Use no_weak_imports linker flag to ignore weak symbol during detection. 2017-04-13 19:35:23 +08:00
orefkov
e4c5001bfb Copy changes from AngelScript's sources, revision r2382.
Fixed problem with calling function expecting @&in where the argument was itself a & argument.
https://www.gamedev.net/topic/686912-array-with-objects-handles/
2017-04-08 20:50:44 +03:00
Yao Wei Tjong 姚伟忠
9daf887f10 Phasing out universal binary build for macOS platform.
Close #1895.
2017-04-09 00:04:41 +08:00
Yao Wei Tjong 姚伟忠
240e4d1c54 Fix unnecessary exposure of ik's generated header files. 2017-04-04 13:47:06 +08:00
Yao Wei Tjong 姚伟忠
b3f4b1d9a0 Include memory backtrace source code only when the option is enabled.
Prevent Web platform to enable the memory backtracing build option.
2017-04-01 23:32:14 +08:00
Yao Wei Tjong 姚伟忠
e62179f133 Integrate IK sub-library with Urho3D's build system. 2017-04-01 21:28:27 +08:00
Alex Murray
68f8d23411 Fixing issues raised by Mike3D (incorrect offset in sample, exposing auto solve) 2017-03-22 14:23:14 +01:00
TheComet
327965a40c Fixing build on windows, fixing segfault in release builds 2017-03-22 02:15:32 +01:00
TheComet
d2911ad455 Adding ik library to Urho3D thirdparty libs 2017-03-21 15:56:47 +01:00
Yao Wei Tjong
106bfcb919 Merge pull request #1849 from iSLC/master
Remove duplicate macro in SDL windows joystick implementation.
2017-03-08 21:42:11 +08:00
Lasse Öörni
48a1f3dcdd Take fix from AngelScript WIP version to fix temp variable corruption. Remove now unnecessary fix from Editor script code. Closes #1850. 2017-03-08 14:26:52 +02:00
Sandu Liviu Catalin
d94a10f488 Remove duplicate macro in SDL windows joystick implementation. 2017-03-07 21:38:50 +02:00
Yao Wei Tjong 姚伟忠
0c88c99112 Allow possibility of building Urho3D without C++ exceptions feature.
Disallow Android build to turn off C++ RTTI feature.
2017-03-05 08:46:22 +08:00
Yao Wei Tjong 姚伟忠
f32cbb72b0 Rename Urho3D-CMake-common.cmake module to UrhoCommon.cmake.
To be consistent with the other modules. Drop the '3D' simply because it sticks out in 'Urho3DCommon'.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
ffd24cafa1 Take advantage of CMAKE_SYSROOT available in the newer CMake.
Use CMAKE_SYSROOT to manage the sysroot automatically when cross-compiling instead of adding the '--sysroot' flag manually everywhere. We only need to add it manually in places where CMake does not, like in our custom GCC/Clang response file for PCH.
Differentiate between setting up header search path for system headers and for application headers so that GCC/Clang may suppress compilation warnings from the former, if any.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
3b02eeb5eb For CI - suppress all the 3rd-party libraries' warnings.
Somehow after bumping up the CMake minimum version, CMake configures Xcode to work "better" with xcpretty that now the warnings are piping through the xcpretty's filter. Unfortunately when performing CI build, this is undesirable because not only now the log size is swelling, the build is slower too.
2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
73c97d9f64 Only add defines at the scope they are actually required. 2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
3d9eb3f694 Bake CC and CXX env-vars in case they are short lived in init process. 2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
bbbbdb0108 Check native compiler toolchain is available before proceeding.
Some cross-compiling build tree configuration needs native compiler toolchain for host tool building via ExternalProject_Add(). This additional check ensures the native compiler toolchain is available up front before the build tree is even generated. Close #1300.
2017-03-05 08:45:21 +08:00
Yao Wei Tjong 姚伟忠
9f19d51c08 Remove older constructs that have been earmarked previously. 2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
3475afba54 Bump the CMake minimum version in the CMakeLists.txt files. 2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
cdbb694c2a Bake 'SDL_USE_IME' compiler define into SDL config header. 2017-02-19 12:34:55 +08:00
Yao Wei Tjong 姚伟忠
45b1d173cf Realign SDL's CMakeLists.txt with the cherry-picked SDL commits.
Those commits are mainly for fixing the keyboard input handling on RPI platform.
2017-02-18 01:21:57 +08:00
Yao Wei Tjong 姚伟忠
4a738662ee Merge commit 'c109e4b51d143493be185f0e74ba7ba2a1411d6e' into cherry-picked-SDL-keyboard-fix 2017-02-18 00:54:58 +08:00
Lasse Öörni
011a8f9ad6 Merge remote-tracking branch 'Florastamine/master' into update-assimp 2017-02-17 11:11:18 +02:00
Lasse Öörni
472d0dc549 Merge remote-tracking branch '1vanK/master' 2017-02-16 12:16:38 +02:00
1vanK
c5014a8399 Update Box2D lib, add RigidBody2D::ApplyLinearImpulseToCenter()
Avoid requirement C++11 by Box2D lib
2017-02-15 14:50:27 +03:00
Lasse Öörni
6a490f05f2 Update LibCpuId to 0.4.0. Closes #1819. 2017-02-13 22:20:48 +02:00
Florastamine
74e234a63d Updated Assimp to v3.2 2017-02-12 14:10:43 +07:00
cosmy1
bf64ce42f2 Update SQLite to 3.16.2. 2017-02-05 21:22:12 +01:00
Lasse Öörni
b8ee493454 Restore FreeType gzip debug build fix. 2017-01-31 14:29:12 +02:00
Lasse Öörni
23c5dd19e8 Merge pull request #1777 from urho3d/update-freetype
Update FreeType to 2.7.1.
2017-01-27 12:16:03 +02:00
Lasse Öörni
2ebbbd477b Update FreeType to 2.7.1. 2017-01-21 13:21:43 +02:00
Lasse Öörni
da8a39cf5a Unconditionally disable the x86 syscall prologs / epilogs on GCC, since the assembler error related to cfi instructions could also happen on newer versions. 2017-01-18 19:57:16 +02:00
Lasse Öörni
459923949c Old GCC version check in as_callfunc_x86.cpp for CI. 2017-01-17 17:29:34 +02:00
Lasse Öörni
883b5105cb Merge branch 'master' into update-angelscript 2017-01-07 16:40:55 +02:00
Lasse Öörni
e22de44be5 Restore Urho3D tweaks to as_config.h and earlier ifdef check for C++11 features. 2017-01-06 15:54:42 +02:00
Lasse Öörni
080bf36f9f Restore earlier ifdef for AS type traits due to some Android CI builds failing. 2017-01-06 11:12:55 +02:00
Lasse Öörni
a6a99c1faf Clang internal error workaround to as_callfunc_x86.cpp 2017-01-02 01:32:43 +02:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Lasse Öörni
6b03450f46 Compiler incompatibility fix for UINT64_MAX. 2016-12-30 19:13:32 +02:00
Lasse Öörni
dae1c615a9 Initial work to update to AngelScript 2.31.2. 2016-12-29 19:51:46 +02:00
Yao Wei Tjong 姚伟忠
d4e74a35c0 Set the default for SDL's VIDEO_MIR build option to FALSE.
Related to issue #1714.
2016-12-16 22:24:21 +08:00
Yao Wei Tjong 姚伟忠
e045b29c59 Split 3rd-party licenses into its own file. 2016-12-05 23:28:39 +08:00
Yao Wei Tjong 姚伟忠
f1d1b757b8 Change all CMakeLists.txt to use LF for consistency sake. 2016-12-05 22:33:59 +08:00
Yao Wei Tjong 姚伟忠
e071b20967 Another attempt to auto-detect clock_gettime() on Apple platforms.
It is strange that Apple does not honour the deployment target and only based on base SDK when defining __CLOCK_AVAILABILITY internally.
[ci only: OSX]
2016-11-30 01:55:16 +08:00
Yao Wei Tjong 姚伟忠
9290ebf6e0 Use auto-detection for clock_gettime() function on Apple platforms.
Fix #1692 [ci only: OSX]
2016-11-29 22:50:08 +08:00
Yao Wei Tjong 姚伟忠
1efb0d9085 Enable IME for Linux platform. Only tested using ibus. 2016-11-23 01:59:55 +08:00
Yao Wei Tjong 姚伟忠
2fb158d089 Add support for FCITX (an alternative IME to ibus). 2016-11-20 13:50:24 +08:00
Yao Wei Tjong 姚伟忠
05690e0a36 Fix #1681 for good. The ibus devel pacakge is optional once more. 2016-11-20 01:25:59 +08:00
Yao Wei Tjong 姚伟忠
b2af56a14b Minor bug fixes. 2016-11-20 01:24:10 +08:00
Yao Wei Tjong 姚伟忠
98d1eba903 Fix Android build error due to declaration after statement (using GCC).
Close #1690 [ci only: Android]
2016-11-19 13:07:54 +08:00
Yao Wei Tjong 姚伟忠
628e4b2795 Quick fix for #1681 on Linux build, requires ibus-dev(el) package. 2016-11-17 01:20:47 +08:00
Yao Wei Tjong 姚伟忠
ad97bfacd0 Fix Android build. 2016-11-09 23:10:02 +08:00
Yao Wei Tjong 姚伟忠
805932a498 Merge commit '8eb652a0d09b97901540c9721f5afb37b903a286' into upstream.master 2016-11-09 23:08:19 +08:00
Yao Wei Tjong 姚伟忠
82f7fd56d0 Remove CMake workaround for Bullet library building.
The workaround is not needed anymore as the offending code has been patched.
[ci only: master] [skip appveyor]
2016-10-11 22:33:25 +08:00
Lasse Öörni
00f414416e Explicitly cast infinity to float in btVector3 code to prevent narrowing errors on TDM-GCC. Closes #1637. 2016-10-11 10:16:15 +03:00
Lasse Öörni
bf4591b158 Define WINVER in SDL_windowsjoystick.c if not defined. Related to #1629. 2016-10-04 16:28:20 +03:00
Lasse Öörni
eb62fd941b Next attempt to fix civetweb for XCode 8. 2016-09-18 00:27:25 +03:00
Lasse Öörni
c1ad7ea5b7 Modified Civetweb patch from Josh Engebretson. Related to #1588. 2016-09-16 23:11:32 +03:00
1vanK
6323aed69a Add NavigationPushiness::NAVIGATIONPUSHINESS_NONE 2016-09-11 15:38:57 +03:00
Yao Wei Tjong 姚伟忠
11f319c2cd Fix the version check so the MinGW workaround is applied for >= 6.1.0.
Close #1552.
2016-08-31 14:52:35 +08:00
Yao Wei Tjong 姚伟忠
02e1aec083 Add "-Wno-narrowing" compiler flag to MinGW 6.1.0 for all build config. 2016-08-25 18:21:58 +08:00
Yao Wei Tjong 姚伟忠
4b964a6989 Workaround MinGW build issue when using version 6.1.0 and above.
Fix internal compilation error by reducing the optimization level from -O3 to -O2. Suppress compilation error caused by narrowing conversions.
2016-08-25 08:49:44 +08:00
Yao Wei Tjong 姚伟忠
b21ff1895e Fix overlinking of EGL library in FindVideoCore.cmake module.
Remove hardcoding of indirect dependency libraries list in the FindUrho3D.cmake module. Instead we now rely on the linker to find those indirect dependencies automatically with our hint via "-runpath-link" linker flag, especially when cross-compiling.
Also setup GLESv2 (and GLESv1_CM) for Raspberry-Pi in the same manner as generic ARM and Android platforms.
2016-08-07 18:22:46 +08:00
Yao Wei Tjong 姚伟忠
87bee872e8 Add extra linker flags to make 64-bit ARM cross-compiling possible.
When cross-compiling we have already defined '--sysroot' to find the direct library dependencies. However when a shared library has its own dependencies (DT_NEEDED) then we need to supply extra linker flags to help the linker to find those indirect library dependecies in the sysroot.
Actually we also had this problem for 32-bit ARM cross-compiling, but we cheated in the earlier CI build jobs by using Linaro/Raspbian compiler toolchain. Somehow the Raspbian's linker simply "ignores" those indirect library dependencies or it uses other mean to locate them (but I doubt that), and so it does not have linker issues with libreadline.so (depends on tinfo), libGLESv2.so (depends on glapi), etc. The other ARM compiler toolchains from Linaro seem to be more strict in this regard. Most likely the raspbian's linker is a gold linker.
This commit could also potentially fix a known issue in our FindUrho3D.cmake module where we have to hardcode the library dependencies that libUrho3D.so in turn depends on (to be investigated later).
2016-08-05 18:41:52 +08:00
Lasse Öörni
97d1e7d44e Prevent dependency of Civetweb from pthread library on recent MinGW versions. 2016-08-02 23:37:00 +03:00
Yao Wei Tjong 姚伟忠
f9b23104dd Fix Mir and Wayland auto-detection to also check on EGL. 2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
576b6ea7cf Better multiarch support in auto-detection.
This should also solve the problem with cross-compiling other target triplets as there is no more hardcoding.
2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
fb881c3360 Use CMake to auto-detect and define _TIMESPEC_DEFINED as necessary. 2016-06-30 21:01:41 +08:00
TheComet
7031ae8799 fixes #1444 2016-06-29 19:18:14 +02:00
Yao Wei Tjong 姚伟忠
35a616448a Merge commit 'a1a9ce7817286783347acfbcce94bfd659915b66' into master. 2016-06-23 22:05:25 +08:00
Yao Wei Tjong 姚伟忠
993e82f9ec Fix cross-compiling builds using X11 shared libraries. 2016-06-23 20:08:34 +08:00
Yao Wei Tjong 姚伟忠
2f4ed29be8 For CI - attempt to fix broken multiarch support in older CMake.
This should be a non-issue when we have migrated to CMake 3.2.3 (now under development in refactor-buildsystem branch).
2016-06-23 00:23:12 +08:00
Yao Wei Tjong 姚伟忠
fff8b782b1 Fix cross-compiling builds using readline shared library. 2016-06-22 18:06:21 +08:00
Yao Wei Tjong 姚伟忠
a5b4512966 Reduce direct exposure to SDL headers as much as possible. 2016-06-11 21:58:22 +08:00
Yao Wei Tjong 姚伟忠
d0bcac5fe0 Ensure iPhoneOS and iPhoneSimulator use the same code path.
This commit should also fix the issue reported in issue #1369.
2016-06-11 13:11:38 +08:00
Loic Blot
ef949533c6 Update to SQLite 3.13.0 2016-06-10 22:04:35 +03:00
Yao Wei Tjong 姚伟忠
3ab69da3af Use __ANDROID__ compiler define consistently. 2016-06-10 20:28:07 +08:00
Yao Wei Tjong 姚伟忠
991b0c5986 Undefine first before redefine to suppress the compilation warnings. 2016-06-10 19:53:17 +08:00
Yao Wei Tjong 姚伟忠
5bdd519ce7 Another attempt to reenable AS wrapper for 64-bit ARM platform.
For CI - switch all the Android CI jobs to use Clang compiler toolchian instead of GCC compiler toolchain. The old GCC 4.9 is not able to handle C++11 standard for AS wrapper. Besides, the latest change log in Android NDK has marked GCC as deprecated and recommended developers to migrate to Clang.
2016-06-10 17:17:21 +08:00
Yao Wei Tjong 姚伟忠
64d975ba1a Add initial build support for generic ARM platform.
Add a new build option "ARM_ABI_FLAGS" for supplying additional ABI compiler flags when targeting generic arm.
Fix Linux build from using OpenGLES instead of GLEW, fix RPI build from using wrong OpenGLES library, fix iOS build from using arm-specific compiler flags directly which would cause problem in universal binary build containing iphonesimulator archs as well.
And other minor refactoring.
2016-06-10 17:17:21 +08:00
proller
0dc85f14a9 compile on arm arch with opengles2 2016-06-10 17:17:20 +08:00
Yao Wei Tjong 姚伟忠
e260a3354c Revert back to temporarily disable AS wrapper for 64-bit ARM platform.
The earlier commit lacks the inclusion of logic to enable C++11 standard and boost preprocessor library. However, after locally tested it, it appears that Android NDK 4.9 is not able to able handle it. Need more time to experiment with it in another branch first.
[ci only: Android, OSX] [skip appveyor]
2016-06-05 23:55:55 +08:00
Yao Wei Tjong 姚伟忠
ccd9dac3c7 Also enable AS wrapper when targeting 64-bit ARM platform. 2016-06-05 22:42:01 +08:00
Lasse Öörni
cc5761d09d Clean up the code to check for AS_MAX_PORTABILITY define so that it could also come from AS' own config. Minor typo fix. 2016-06-04 17:34:33 +03:00
Lasse Öörni
96451d891e Use the proper form of EMSCRIPTEN define throughout. 2016-06-04 12:33:02 +03:00
Lasse Öörni
98dfaf3c75 Add Boost Preprocessor library to Source/ThirdParty. Force C++11 for AngelScript / Emscripten combo. Default to CharacterDemo instead of NinjaSnowWar in Urho3DPlayer on Emscripten due to missing Network subsystem. 2016-06-02 20:55:52 +03:00
Lasse Öörni
0803320a9a Remove mention of AngelScript not being supported on Emscripten. Leave the generic call convention autohandle fix on at all times, since it doesn't hurt. Clarify CommandLine.txt not being able to be read on Emscripten. 2016-06-02 19:27:15 +03:00
nathan
30f9d91bdd Formatted stuff in a format more appropriate for Urho. See previous commit message for build instructions.
Note that I quadrupled the default emscripten memory size as I found the 32 MB was all but always too small.
2016-05-31 00:26:39 +02:00
nathan
d7b0604d93 Made Angelscript work on the Emscripten build. Not thoroughly tested!!!
-Has been tested by running Urho3DPlayer with the 12_PhysicsStressTest script
 (the file copied in place of NinjaSnowWar.as requested)
-built with "-std=gnu++14 -I/usr/include/boost" for the CMAKE_CXX_FLAGS
 and "-I/usr/include/boost" for the CMAKE_C_FLAGS.
  ** /usr/include/boost contains a simlink pointing to itself so that boost/
     preprocessor____ can be found
-Networking still doesn't work, so NinjaSnowWar shouldn't work
-Debug builds did not work for me: see http://urho3d.prophpbb.com/topic2151.html
-Defining FORCE_AS_PORTABLE can be used to force it to use the generic build
 with, for example, a gcc build (which should allow more apples-to-apples
 testing of the efficiency of the bindings)
-Discussion of this work originally at http://urho3d.prophpbb.com/topic2044.html
2016-05-30 22:32:48 +02:00
cosmy
e0e43635a4 Update LZ4 compression library. 2016-05-24 16:53:28 +02:00
Yao Wei Tjong 姚伟忠
30f793c747 Merge commit 'a7b0474d11d1bd88efa371581d1a30f7e231b1cd' into master. 2016-05-24 19:47:12 +08:00
cosmy
26d1b6cf54 Fix VS15 compilation error. 2016-05-20 13:06:34 +02:00
cosmy
ff745005ed Update Civetweb code. 2016-05-20 12:40:32 +02:00
cosmy
9a55d403be Update Civetweb documentation files. 2016-05-20 12:39:04 +02:00
Lasse Öörni
d09f67f249 Clean up Image::SavePNG() to use just Image::Save(). Fix jo & stbi_image_write to use wchar paths on Windows. 2016-05-19 17:59:28 +03:00
Lasse Öörni
387f1346e2 Merge remote-tracking branch 'cosmy1/glew-update' 2016-05-19 15:47:05 +03:00
cosmy
94fabf7287 Update GLEW to 1.13. 2016-05-18 23:41:17 +02:00