Commit Graph

118 Commits

Author SHA1 Message Date
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 姚伟忠
70073287b4
RPI - initial attempt to support RPI4 64-bit build. 2020-08-31 01:39:05 +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 姚伟忠
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 姚伟忠
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 姚伟忠
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 姚伟忠
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 姚伟忠
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 姚伟忠
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
Yao Wei Tjong 姚伟忠
a513b325c0
Initial multi-module setup for Android build. 2018-08-06 21:46:00 +08:00
Alexey Rassikhin
4dfd230f55 Remove '-ffast-math' option.
Remove GCC 8.x check in Matrix3x4.h
2018-07-05 19:31:09 +08:00
Yao Wei Tjong 姚伟忠
e7a1b4c069
Make the option not available for Release build config.
Due to how CMake works, this prevention only works for single-config generator.
2018-06-03 21:00:25 +08:00
Eugene Kozlov
47aba2aaa2
Merge pull request #2309 from eugeneko/hash-reverse
Add StringHash reverse support.
2018-06-03 15:12:42 +03:00
Eugene Kozlov
e78c1d7ff5
Merge pull request #2310 from eugeneko/move-containers
Make Urho3D.Containers move-friendly
2018-06-03 12:42:44 +03:00
Yao Wei Tjong 姚伟忠
f27c149779
For CI - explicitly set WASM to off when CI testing for asm.js.
When cache is clear then skip the samples build because build all samples from scratch now exceeds our free time limit from Travis.
Switch to upload the WASM variant of the web samples. This means the samples should run faster on dekstop browsers but might not work on mobile browsers at the moment.
2018-06-02 22:51:09 +08:00
Eugene Kozlov
774f62e4c3 Update docs and CMake description for URHO3D_HASH_DEBUG 2018-06-02 16:02:07 +03:00
Yao Wei Tjong 姚伟忠
40281539f0
Add a new build option to control auto addtion of HTML shell-file. 2018-06-02 17:37:28 +08:00
Yao Wei Tjong 姚伟忠
e65cdac59e
Add build support for Emscripten 1.38.x. Emit WASM by default. 2018-06-02 16:57:49 +08:00
Eugene Kozlov
b75e1015bd Add Vector::Emplace. Fix HashMap::Populate signature. Disable MSVC warnings. 2018-05-03 00:56:09 +03:00