Commit Graph

504 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
7c38ee0c37
Apple - update plist to support retina display.
Close #2139
2020-08-31 01:39:08 +08:00
Yao Wei Tjong 姚伟忠
43d7a38a9c
Apple - Exclude CoreMotion when targeting tvOS.
Reconfigure Apple build to not using the 'no_weak_imports' linker flags.
This means the new build artifacts may not run correctly on old macOS/iOS/tvOS.
It is up to the devs to handle the weak symbols during runtime in their own apps if they needs to be run on old systems.
2020-08-31 01:39:08 +08:00
Yao Wei Tjong 姚伟忠
d47e4e7533
MSVC - fix PCH generation for VS. 2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
01dfc7dfa2
Android - fix PCH generation for Android build. 2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
92cf44551f
Fix PCH generation and visibility warning on STATIC build.
Close #2652
2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
6d6cd58e34
Fix PCH generation for GCC and Clang.
Add a new compiler flag to warn against invalid PCH generation in the future.
Remove temporary PCH workaround for all Clang compilers.
2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
4a2a132ee0
RPI & ARM - only add rpath-link for the linker when necessary. 2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
47af104d17
Enforce the C++11 standard as minimal requirement. 2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
53186464c2
Use modern CMake way to set the default C++ standard. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
29015cc8c1
RPI - initialize the default ABI correctly for 64-bit build. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
0b9c49cab8
Refactor to avoid hard-coding the library arch for Debian distro.
Instead, assume the GCC (cross-)compiler toolchain will have the "--enable-multiarch" enabled and the toolchain has a triplet matching the CMAKE_LIBRARY_ARCHITECTURE_REGEX which is set to "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*" as of this writing. If so, CMake will automatically initialize the CMAKE_LIBRARY_ARCHITECTURE with a right value and CMake will use it when searching for libraries, not requiring the build script to spell out the extra path suffixes manually.
2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
cbc72fa30b
RPI - Fix 64-bit SHARED lib type build config. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
63986a1fd6
RPI - Use vanila GLES2 library for RPI4. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
45089a1322
Fix build script in finding the DRM, GBM and others.
RPI 4 may require KMS/DRM to replace DISPMAN.
2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
70073287b4
RPI - initial attempt to support RPI4 64-bit build. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
2980809aed
Adapt to EMSDK changes. [ci only: Web] 2020-08-31 01:39:04 +08:00
Yao Wei Tjong 姚伟忠
0e4d095cfa
Shed off old construct since our CMake minimum required is 3.10.2 now. 2020-05-10 15:53:52 +08:00
Arnis Lielturks
889367738b
HTTPS support - civetweb update (#2415)
* initial update

* CMake updated for civetweb, https working

* unused file cleanup

* CMake updates to civetweb

* minor update, mingw not yet working

* CMakeLists updated

* fixed for unix builds

* cmake updates, console output updated

* docs updates

* HTTP sample now uses http and https links

* civetweb version 1.11

* additional changes

* mingw fix

* openssl fix

* additional ssl configuration

* osx workaround

* openssl is no longer optional

* openssl is optional

* civetweb cmakelists updates, URHO3D_SSL=1 set for travis

* debug messages removed from SSL/TLS initialization

* link libraries with civetweb

* code style fixes

* cmake updates

* DBE_TAG=latest removed
2020-05-03 12:22:31 +03:00
Yao Wei Tjong 姚伟忠
fca8684a6a
Remove old build logic that is no longer works with new Emscripten.
[ci skip]
2020-04-10 20:05:17 +08:00
Arnis Lielturks
72e2342343
Emscripten shell (#2608)
* emscripten shell added, wip

* include dirs

* namespace

* more namespace fixes

* cmake tweak

* tweak

* emscripten shell added in different cmake file

* shell setup fixed

* application.html renamed to shell.html, engine tweaks

* shell.html location updated

* reworked canvas size detection and applying, highdpi disabled for web builds

* typo

* background tab loading fix

* web handlers moved to graphics subsystem

* removed a bit too much

* fix

* ready event resize

* svg fullscreen icon

* id used for fullscreen icon

* emscripten request pointer used instead

* pointer lock tweaks

* yet another tweak

* ui cursor fixed to take into account ui scale, emscripten mouse state reset when changing resolution

* code style updates

* ui scale calculated differently

* fix

* pointer position calculation properly fixed

* cursor position retrieval updated

* Fix code style. Simplify UI scale handling.

* cmake updates

Co-authored-by: Eugene Kozlov <nekoeuge@gmail.com>
2020-04-07 19:38:21 +03:00
Yao Wei Tjong 姚伟忠
6ce2dc1b38
For VS/Xcode, group generated files. 2020-02-16 16:33:20 +08:00
Yao Wei Tjong 姚伟忠
c2b8d25962
For VS/Xcode, group Urho3D files based on physical directory structure. 2020-02-16 13:57:22 +08:00
r-a-sattarov@github.com
2229894107 E2K: added initial support for MCST Elbrus 2000
- added initial support in CMake configuration
- added initial support to AngelScript (ver. 2.33.0)
2020-02-02 07:45:54 +08:00
Yao Wei Tjong 姚伟忠
af3c98b324
Fix the EMSCRIPTEN_ROOT_PATH auto-detection. 2020-01-24 00:20:26 +08:00
Yao Wei Tjong 姚伟忠
f6ecfe9c2f
Minor clean up. 2020-01-12 23:31:44 +08:00
Yao Wei Tjong 姚伟忠
5efdc768f1
Fix runtime error when using EMCC 1.39.5. 2020-01-12 14:19:44 +08:00
Yao Wei Tjong 姚伟忠
dabfdbd213
Remove unsupported build options for Web platform. 2020-01-12 14:19:44 +08:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
Yao Wei Tjong 姚伟忠
3ad625a459
Simplify the version parsing logic.
current HEAD                -> 1.8-ALPHA.11
tag 1.8-ALPHA               -> 1.8-ALPHA.0
one commit before 1.8-ALPHA -> 1.7.759
tag 1.7                     -> 1.7.0
one commit before 1.7       -> 1.6.1152
2019-10-19 14:57:28 +08:00
Yao Wei Tjong 姚伟忠
3e771a2849
Revise the Urho3D version parsing logic to cater for pre-release id. 2019-10-19 13:52:36 +08:00
Yao Wei Tjong 姚伟忠
2bcb0f1b2f
Remove the self-executable HTML shell-file hack.
Related to commit 9fd287bde6e4f6f6a5c39393603afc56c6b030cc.
Revert db908c2be5.
2019-09-14 16:33:58 +08:00
Yao Wei Tjong 姚伟忠
7af427f31c
Fix build using AppleClang 11.0.0.
Related to commit 026f01fa10.
2019-09-14 16:33:29 +08:00
Yao Wei Tjong 姚伟忠
bcd8715e22
Add framework library to support HIDAPI. 2019-09-14 16:28:42 +08:00
Yao Wei Tjong 姚伟忠
b772b553f4
Drop XAudio2 support. SDL uses WASAPI now. 2019-09-14 16:22:52 +08:00
Yao Wei Tjong 姚伟忠
4d2aefcb4a
Drop MIR support. SDL only supports X11 and Wayland now. 2019-09-14 16:22:51 +08:00
Yao Wei Tjong 姚伟忠
9b1d683556
Initial integration with SDL 2.0.10 (WIP) for Web platform.
Additional credit to Bantukul Olarn for pointing out the offending bits.
2019-09-14 16:21:42 +08:00
Yao Wei Tjong 姚伟忠
012c606284
Exclude Bullet's Clang workaround on all Apple platforms. 2019-04-25 22:40:06 +08:00
Yao Wei Tjong 姚伟忠
132ddf4582
Tighten the Clang version checking.
[skip appveyor] [ci only: Android]
2019-03-29 23:34:30 +08:00
Yao Wei Tjong 姚伟忠
026f01fa10
Fix Clang 7.0.1 build. 2019-03-29 00:55:21 +08:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Yao Wei Tjong 姚伟忠
ae62ce03c1
Minor documentation update on 'URHO3D_LUAJIT_AMALG' build option. 2018-11-17 14:18:54 +08:00
Yao Wei Tjong 姚伟忠
acb0fecb40
Default to use LuaJIT amalgamated build when LuaJIT is enabled. 2018-10-31 22:46:21 +08:00
Yao Wei Tjong 姚伟忠
614766a91c
Fix find OSS CMake module. 2018-10-31 22:46:21 +08:00
Yao Wei Tjong 姚伟忠
0fad6e3494
Use relative symlinks.
As such, the symlinks generated from both direct build enviornment and dockerized build environment are identical.
2018-10-22 09:12:14 +08:00
Yao Wei Tjong 姚伟忠
20617e17b6
Allow Gradle build with Lua/LuaJIT enabled without global ninja-build. 2018-09-08 21:21:00 +08:00
Yao Wei Tjong 姚伟忠
87d887718c
Fix MinGW build. 2018-08-11 20:40:33 +08:00
Yao Wei Tjong 姚伟忠
0fc21934f5
Cleanup CMake build scripts and documentation update.
Close #743.
2018-08-09 23:08:45 +08:00
Yao Wei Tjong 姚伟忠
d3508fc246
Fix initial gradle sync. 2018-08-06 21:46:00 +08:00
Yao Wei Tjong 姚伟忠
a1b0eee8c9
Fix gradle sync on Windows host system. 2018-08-06 21:46:00 +08:00
Yao Wei Tjong 姚伟忠
d827f5ebfb
Proper segregation between Gradle modules. 2018-08-06 21:46:00 +08:00