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 姚伟忠
a6301ac772
Documentation update for the tvOS build process.
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
Yao Wei Tjong 姚伟忠
3d39061627
Simplify the build option for sharing pak-loader script and data.
2017-05-21 20:21:27 +08:00
Yao Wei Tjong 姚伟忠
94a415b0b8
Minor doc typo correction.
2017-05-03 22:08:54 +08:00
Lasse Öörni
218f48ea98
Add lowdpi command line option to force low DPI on Retina display.
2017-04-22 00:32:55 +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 姚伟忠
6296c18e92
Minor doc update on how to use the define_resource_dirs() macro.
2017-04-05 23:37:20 +08:00
Yao Wei Tjong 姚伟忠
2efbcd570c
Rename "define_resource_files" macro to "define_resource_dirs".
...
Enhance it to take extra arguments for specifiying target-specific resource directories and other extra for Web platform support.
Close #809 .
2017-04-05 18:16:36 +08:00
Yao Wei Tjong 姚伟忠
e62179f133
Integrate IK sub-library with Urho3D's build system.
2017-04-01 21:28:27 +08:00
Yao Wei Tjong 姚伟忠
cd57326098
Minor documentation update on how to use Urho3D libary.
2017-03-26 22:18:35 +08:00
Yao Wei Tjong 姚伟忠
9d84ccffe4
Initial attempt to support MODULE library type for Web platform.
...
Disallow memory growth when using MODULE lib-type.
Move the resource defining and checking logic into their own macros.
2017-03-26 22:18:35 +08:00
Lasse Öörni
90e95ab2e3
Update documentation. Add contributor credit. Minor code comment fixes.
2017-03-20 18:11:12 +02:00
Yao Wei Tjong 姚伟忠
1bfd14e5f4
Minor documentation update to highlight EMSCRIPTEN_WASM build option.
...
[ci only: master] [skip appveyor]
2017-03-11 14:18:10 +08:00
Yao Wei Tjong 姚伟忠
49996b1617
Minor documentation update and typo correction.
2017-03-05 08:46:37 +08:00
Yao Wei Tjong 姚伟忠
6eef852fe2
When targeting WASM, allow memory growth and code gen that could trap.
2017-03-05 08:46:33 +08:00
Yao Wei Tjong 姚伟忠
d7eded9178
Add new build option to enable WASM support.
...
Remove redundant Emscripten build option for pre-generating the system libraries because newer Emscripten version has fixed the cache lock issue.
2017-03-05 08:46:29 +08:00
Yao Wei Tjong 姚伟忠
98bdf13583
Enhance toolchain files to first check on suitable ccache symlink.
...
If a suitable symlink is found in the standard ccache symlink directory then skip creating fallback symlink in the build tree.
2017-03-05 08:45:39 +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 姚伟忠
73c97d9f64
Only add defines at the scope they are actually required.
2017-03-05 08:45:38 +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 姚伟忠
f38487f14e
Add new option to control how to share resources on web platform.
...
Related to #1762 .
2017-02-23 07:46:41 +08:00
Yao Wei Tjong 姚伟忠
38b852a282
Add a new section on how to setup Windows user with MKLINK privilege.
...
[ci only: master]
2017-01-23 00:43:56 +08:00
Lasse Öörni
f3dd4967cf
Typo fix.
2017-01-18 11:14:47 +02:00
MonkeyFirst
a0ec3bb159
fix documentation about ctrl & alt usage
2017-01-17 19:29:48 +07:00
MonkeyFirst
26cef8099b
fix documentation
2017-01-17 18:37:16 +07:00
MonkeyFirst
5ad684ce68
Add documentation for PaintSelection
2017-01-17 18:32:23 +07:00
Yao Wei Tjong 姚伟忠
d42723a45e
Enable high DPI on Apple retina display device by default.
...
High DPI mode can still be programmatically disabled via Engine parameter only.
2017-01-10 23:43:03 +08:00
Yao Wei Tjong 姚伟忠
5568e5bc8b
Minor doc update - use original "ungrouped" build option from SDL.
...
There is a plan to group all the build options from SDL into its own group, however, it has not been implemented yet in the master branch. These paragrahps were cherry-picked from a refactoring branch so the information there were more forward-looking.
2016-12-17 22:49:36 +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 姚伟忠
198adcedec
Merge SDL 2.0.5.
2016-11-09 23:41:08 +08:00
Johnathan Jenkins
d78fc4020f
minor typos
2016-10-28 13:07:14 -07:00
1vanK
61f8fb5205
Draw navigation debug geometry in Editor
2016-09-03 14:05:24 +03:00
Yao Wei Tjong 姚伟忠
252ef3399e
For CI - upgrade to Xcode 7.3.1.
...
Update the documentation on how to enable ccache for Xcode 7 on OSX with SIP/rootless turned on.
2016-08-24 19:37:50 +08:00
Yao Wei Tjong 姚伟忠
5419f37a60
Realign the new generic ARM "platform" name with the 1.6 changelog.
2016-08-05 19:54:06 +08:00
Yao Wei Tjong 姚伟忠
c9ffddf3ca
Add new section for generic ARM build process.
2016-08-05 18:49:35 +08:00
Yao Wei Tjong 姚伟忠
a01ee5ec30
For CI - add new CI jobs for 32-bit generic ARM builds.
2016-08-05 18:33:35 +08:00
Yao Wei Tjong 姚伟忠
f9b23104dd
Fix Mir and Wayland auto-detection to also check on EGL.
2016-08-03 00:16:25 +08:00
Lasse Öörni
b3e492e18c
Scene node and UI element reordering (within the same parent) by Ctrl-dragging. Closes #1088 . Expose Node::SetID() in script, as it was necessary for this, though not recommended to be called.
2016-07-30 00:02:49 +03:00
Yao Wei Tjong 姚伟忠
9fee916c55
For documentation - use https protocol when it is available.
2016-07-24 13:39:14 +08:00
Yao Wei Tjong 姚伟忠
307fac84f5
Minor documentation update about URHO3D_C++11 build option.
2016-07-11 15:30:17 +08:00
Yao Wei Tjong 姚伟忠
157e55ec44
Minor documentation update on optional Linux prerequisite packages.
2016-06-17 15:00:26 +08:00
Yao Wei Tjong 姚伟忠
ff64de61be
Initial support for Linux on generic ARM cross-compiling.
...
Close #1384 .
2016-06-10 19:14:34 +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
Yao Wei Tjong 姚伟忠
9345cff42e
Remove custom memory adjustment as the default is set to 128 MB now.
2016-06-05 13:17:28 +08: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
Yao Wei Tjong 姚伟忠
cfd6233297
Minor doc update on Linux and RPI building prerequisite section.
2016-06-01 17:37:45 +08:00
Lasse Öörni
2ca6d16b28
Mention EventProfiler in the documentation. Simplify code in DebugHud to activate/deactivate event profiler.
2016-05-19 16:32:36 +03:00
Yao Wei Tjong 姚伟忠
31d362f879
Add new engine parameter for enabling/disabling high DPI window mode.
...
Temporary fix for issue #1252 . The high DPI mode is disabled by default.
2016-04-24 17:36:32 +08:00
Yao Wei Tjong 姚伟忠
01b86ba68a
For Travis CI - more granular timeup check to avoid timeout error.
...
[ci only: OSX] [skip appveyor]
2016-04-05 16:36:33 +08:00
Yao Wei Tjong 姚伟忠
e6121551bc
Refactor SIMD support. Related to #1293 .
2016-04-05 06:35:47 +08:00
Yao Wei Tjong 姚伟忠
929d8acbae
Misc. bug fixes and refactoring in configuring SDL library build.
...
- Fix the regex to get the shared library soname correctly.
- Use the GCC_ATOMIC and CLOCK_GETTIME whenever they are available.
- Reorganize the if-else block in the SDL CMakeLists.txt to prevent Unix-like platforms (e.g. Android) from entering the block meant for genuine Unix/Linux.
- and more.
2016-03-30 07:15:20 +08:00
Lasse Öörni
e56682731f
Document URHO3D_C++11 build option. Update default values of URHO3D_LUA & URHO3D_SAMPLES build options in the documentation.
2016-03-29 21:45:17 +03:00
Yao Wei Tjong 姚伟忠
06bcfbeb7b
Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt.
...
Fix SDL library build on Web platform.
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
3e40a5ebeb
Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt.
...
Fix SDL library build on Windows platform.
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
f5fcfc48f1
Set CMake minimum version to 3.2.3 for Windows platform.
...
This is in preparation to use optional components feature of find_package() command for FindDirectX.cmake module (was FindDirect3D).
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
71efb146cb
Refactor the CPU instruction extensions detection mechanism.
...
Fix SDL build on the latest Raspbian Jessie release.
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
14d4e0d378
Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt.
...
Fix SDL library build on Linux, Android, and RPI platforms.
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
ccf6648eb3
Utilize new SDLActivity's get arguments feature.
2016-03-16 01:42:01 +08:00
Yao Wei Tjong 姚伟忠
705e06dd1c
Remove an unprintable \015 character in the cmake_codelite.sh.
...
The character had caused the script not operable.
For Travis CI and AppVeyor - bug fixes and improvement to make the CI builds more stable, hopefully.
2016-01-23 23:39:06 +08:00
Yao Wei Tjong 姚伟忠
44e7322e4e
Enable LuaJIT universal binary build on OSX platform.
...
Enable universal binary executables by default when targeting 64-bit OSX platform.
2016-01-21 10:56:58 +08:00
Lasse Öörni
eea117ef5d
Better SharedPtr ownership examples.
2016-01-08 13:43:38 +02:00
Yao Wei Tjong 姚伟忠
21b01fcd5b
Refactor how the EXE and SHARED linker flags are being setup.
2016-01-06 16:38:59 +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 姚伟忠
891bde9325
Fix try_run() logic on WIN32 platform with both Release and Debug libs.
2015-12-28 17:01:35 +08:00
Yao Wei Tjong 姚伟忠
1cd242273e
Verify found Urho3D library has matching ABI with the chosen compiler.
...
Check the CMake minimum version before setting project name as recommended by CMake.
Minor documentation update on how to setup downstream projects using Urho3D library as external library.
For AppVeyor - attempt to add scaffolding test using Urho3D SDK.
2015-12-14 22:43:00 +08:00
Yao Wei Tjong 姚伟忠
72f954dad0
Enhance Urho3D-CMake-common module to auto find Urho3D library.
2015-12-13 17:13:07 +08:00
Yao Wei Tjong 姚伟忠
32b0b9de1c
Fix OSX build for shared library type.
...
Documentation clean up. Do not need to remind on the URHO3D_STATIC_DEFINE anymore for downstream projects as it is now baked into the export header.
2015-12-12 00:27:16 +08:00
Yao Wei Tjong 姚伟忠
13e4cc332e
For downstream - auto detect Urho3D lib type from build artifact.
2015-12-11 22:54:30 +08:00
Yao Wei Tjong 姚伟忠
761ae83c99
For Travis CI - install PulseAudio devel package for Linux CI builds.
...
Remove ALSA devel package for non-Linux CI builds as the new host tool building mechanism does not rely on it anymore.
2015-11-26 19:58:18 +08:00
Yao Wei Tjong 姚伟忠
3ff517743b
For Travis CI - set URHO3D_DEPLOYMENT_TARGET build option to 'generic'.
2015-11-22 09:48:43 +08:00
Lasse Öörni
d59c31aa92
Add note to conventions regarding how refcounted object assignment implies ownership through SharedPtr, and how to end the assignment & free the object.
2015-11-21 12:54:39 +02:00
Yao Wei Tjong 姚伟忠
36a93d0680
Refactor URHO3D_64BIT build option handling for MSVC.
...
For AppVeyor - setup both 32-bit and 64-bit builds.
2015-11-05 00:13:37 +08:00
Yao Wei Tjong 姚伟忠
22bd3de807
Refactor resource prefix path parameter to accept a list of paths.
...
Close #1000 .
2015-11-03 17:46:56 +08:00
Yao Wei Tjong 姚伟忠
a98e1d0356
Add migration note for using Urho3D as external library.
...
[ci only: master]
Close #747 .
2015-10-30 23:28:13 +08:00
Yao Wei Tjong 姚伟忠
6ca3bdbb1c
Rectify the 64-bit detection logic for MinGW compiler toolchain.
...
Only use stackrealign flag on MinGW SSE 32-bit build.
For Travis CI - fix documentation build on all Windows builds. Fix #951 .
2015-10-23 23:07:26 +08:00
Yao Wei Tjong 姚伟忠
d3bf75aafc
Minor documentation update on desktop deployment target build option.
...
[ci only: master]
2015-10-18 12:16:57 +08:00
Yao Wei Tjong 姚伟忠
8a447c7eda
Enable BT_USE_SSE on Linux platform & BT_USE_NEON on Android platform.
...
Add new build option URHO3D_NEON to enable/disable NEON code branch.
Fix a bug where previously URHO3D_SSE was also erroneously being used to switch off BT_USE_NEON on iOS.
Add new build option URHO3D_DEPLOYMENT_TARGET to set the GCC/Clang target arch (-march compiler flag). Default value is 'native'. Setting this to any cpu type higher than Pentium 4 may influence the effective SSE level being used in the build. The BulletPhysics library may switch to use higher level SSE as the result, for instance.
2015-10-16 16:32:28 +08:00
Yao Wei Tjong 姚伟忠
0e4ba63687
Only initialize the URHO3D_DEFAULT_SSE variable only once.
2015-10-13 09:30:52 +08:00
Lasse Öörni
d09a94aa8f
Minor doc edit related to SSE.
2015-10-12 11:50:58 +03:00
Lasse Öörni
52805e2709
Merge remote-tracking branch 'juj/sse_matrix_math'
2015-10-12 11:49:14 +03:00
Jukka Jylänki
00be823f71
Update URHO3D_SSE to denote SSE2.
2015-10-11 00:12:13 +03:00
Lasse Öörni
af7ed744f0
URHO3D_THREADING build option. Closes #939 .
2015-10-10 23:17:03 +03:00
Yao Wei Tjong 姚伟忠
ace1f1155b
Avoid hardcoding the conditional list for URHO3D_SSE build option.
...
Android on Intel Atom will now have this option and defaulted to true.
2015-10-10 19:16:14 +08:00
Yao Wei Tjong 姚伟忠
03fc1f13c5
Clean up the script and documentation for doc build.
2015-10-03 10:57:31 +08:00
Yao Wei Tjong 姚伟忠
9de78c0a3d
Refactor dependency setup for 'doc' target. Close #879 .
...
The doc target now only really does its build action when it detects its documentation is out of date, similar to how other targets behaves.
2015-09-30 10:04:30 +08:00
Yao Wei Tjong 姚伟忠
ba837af5a4
Add skeleton project for AutoBinder tool.
...
[ci only: Annotate]
2015-09-24 19:57:18 +08:00
Yao Wei Tjong 姚伟忠
448f3ebf44
Fix the Rewriter not saving to filesystem issue.
...
It turns out that RefactoringTool and RefactoringCallback classes are not made for each other.
For Travis CI - attempt to push the annotated source files into a new branch. DO NOT check out from this branch, instead just use GitHub GUI to browse through the changes.
[ci only: Annotate]
2015-09-20 15:57:37 +08:00
Yao Wei Tjong 姚伟忠
4355e99c36
Restructure to run the extract and annotate in a single tool.
...
The AST matcher is currently only able to extract the exposed class names.
[ci only: Annotate]
2015-09-18 00:11:46 +08:00
Yao Wei Tjong 姚伟忠
b3e01a1424
Add another skeleton project for for script binding extractor tool.
...
[ci only: Annotate]
2015-09-16 00:12:46 +08:00
Yao Wei Tjong 姚伟忠
f2289b10e1
Avoid hardcoding to improve the chance of using it on Windows host.
...
[ci annotate]
2015-09-15 14:57:06 +08:00
Yao Wei Tjong 姚伟忠
c68f957dc4
Add a new section on how to start the Clang-tools development.
...
[ci annotate]
2015-09-14 22:44:20 +08:00
Yao Wei Tjong 姚伟忠
d8fcc094b9
Minor documentation page update. [ci only: master]
2015-09-03 17:56:26 +08:00
Yao Wei Tjong 姚伟忠
86194164b5
Avoid name clash with EMSCRIPTEN environment variable. Close #871 .
...
[ci only: Emscripten]
2015-09-03 13:41:31 +08:00
Yao Wei Tjong 姚伟忠
4ff826ddf8
Support spaces in source and/or build tree path for Windows build.
...
Close #779 .
2015-08-31 16:15:46 +08:00
Lasse Öörni
b6e997812f
Added note of spaces in path causing build to fail on Windows / VS builds.
2015-08-29 20:18:46 +03:00
Lasse Öörni
70b871ebfa
Code convention edits. Removed unused variable. Make debug icons use Basic shader for no fog. Do not render debug icons to camera preview viewport. Fixed Basic shader with VERTEXCOLOR define on D3D11.
2015-08-14 23:09:53 +03:00