Commit Graph

523 Commits

Author SHA1 Message Date
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
Yao Wei Tjong 姚伟忠
560ef3bb37 Add Database subsystem. Add new build option to enable it.
Initial C++ sample database demo using execute immediate mode.
2015-08-10 01:51:25 +08:00
Lasse Öörni
c14d6ba4b7 Editor code convention edits. Use Alt+W for color wheel in both hotkey modes. 2015-07-31 22:00:48 +03:00
Lasse Öörni
b74c2360f8 Restored original controls in standard hotkeys mode. The MMB pan option (standard hotkeys mode only) now changes the behavior of shift in relation to pan & orbit only. Editor code cleanup & code convention edits. 2015-07-27 17:35:10 +03:00
MonkeyFirst
8fc2ae9436 some fixes for smart duplicate 2015-07-25 22:47:02 +06:00
MonkeyFirst
85e34c5b20 add B. mode rotation when no selection & dox controls2 fix 2015-07-23 15:40:32 +06:00
MonkeyFirst
483d2ad7cd Add documentation changes 2015-07-21 22:30:51 +06:00
Lasse Öörni
0fc4cdf12c Tabs to spaces. Moved MMB pan setting from Preferences dialog to Settings dialog to match the rest of the camera options. Added contributor credit. 2015-07-17 18:08:57 +03:00
julyfortoday
2880466e74 Updated editor documentation 2015-07-17 08:20:47 -04:00
Yao Wei Tjong 姚伟忠
f0d107d3db Add new build option to support non-PCH build.
In order to achieve this, the Precompiled.h is now included back in all the Urho3D implementation source file. So, when the Precompiled.h is not being force-included in the PCH build, then the compiler is still able to find all the required symbol declarations. By doing so, it should also fix the indexer in some IDEs to index all the Urho3D declared symbols correctly whether it is a PCH build or not.
2015-07-07 23:43:56 +08:00
David Feltell
414e92dad2 Tidied/updated Lua raw script loader CMake definition and documentation.
* Tidied CMake definition and defaulted to disabled for
multi-configuration build types.
* Added CMake variable to table in "Building Urho3D" docs page.
* Added a section on "Debugging script files" to the "Lua scripting"
docs page.
2015-06-15 23:59:38 +01:00
Lasse Öörni
d3e28ce1e9 Minor edits to the build instructions. 2015-06-04 11:41:38 +03:00
Lasse Öörni
7219560320 Improve Emscripten Windows instructions. Thanks to Ali Kämäräinen for mentioning possible issues & solutions. 2015-05-14 21:05:58 +03:00
Yao Wei Tjong 姚伟忠
cc64e9bb7b Minor documentation update on ccache section for Xcode 6 users. 2015-05-14 16:26:21 +08:00
Lasse Öörni
5e68b57921 Added note of Xcode command line tools. 2015-05-13 10:48:50 +03:00
Yao Wei Tjong 姚伟忠
00388288f2 Update 'Using ccache' section for xcodebuild users. 2015-05-10 23:07:52 +08:00
Yao Wei Tjong 姚伟忠
f2b21ee816 Enable ccache support for Emscripten (incoming) without the caveat.
The upstream issue https://github.com/kripken/emscripten/issues/3365 has been fixed now in Emscripten's incoming branch.
2015-04-22 10:14:22 +08:00
Yao Wei Tjong 姚伟忠
9a5dea71e1 Update documentation on ccache to explain its usage is optional.
Add simple diagnostic message to help user to rectify ccache configuration error.
2015-04-19 14:20:38 +08:00
Yao Wei Tjong 姚伟忠
2dd22c82ef Attempt to enable ccache support for Emscripten compiler toolchain.
Minor documentation update again on ccache usage.
2015-04-17 17:33:33 +08:00
Yao Wei Tjong 姚伟忠
44e50b0ebe Minor documentation update on ccache usage. [ci skip] 2015-04-16 14:43:14 +08:00
Yao Wei Tjong 姚伟忠
b7f0a1807f Minor documentation update on the build options section.
Add a simple usage instruction on build scripts error.
Related to issues #697 and #698.
2015-04-09 22:27:51 +08:00
Lasse Öörni
4628a44a5a Removed table of contents from "simple" pages like Examples & Overall Structure. Added contributor credit. Closes #694. 2015-04-07 18:52:09 +03:00
Jon Slenk
7b548b5543 add table of contents to some doc pages. 2015-04-06 22:37:08 -07:00
Yao Wei Tjong 姚伟忠
b468eac53e Only supply the CCACHE environment variable when user hasn't done it. 2015-04-02 16:17:35 +08:00
Yao Wei Tjong 姚伟忠
8ab5ffac52 Add a small chapter on how to setup ccache to work correctly. 2015-04-02 00:06:44 +08:00
Yao Wei Tjong 姚伟忠
601dfc4603 Enhance the 'rake make' task to utilise all the logical cpu cores.
[ci package]
2015-03-31 17:08:21 +08:00
Yao Wei Tjong 姚伟忠
377fd30e9a Minor code cleanup on handling of URHO3D_D3D11 and URHO3D_OPENGL. 2015-03-30 20:22:26 +08:00
Lasse Öörni
d06ffe1445 Merge pull request #680 from urho3d/render-refactor
Render refactor
2015-03-24 23:34:39 +02:00
Lasse Öörni
234c57a598 Minor documentation update. [ci rebase] 2015-03-24 18:21:49 +02:00
Chris Friesen
909860635a Fix usage of word 2015-03-22 20:30:05 -05:00
Chris Friesen
8e2b9475a8 Fix spelling 2015-03-22 20:21:53 -05:00
Lasse Öörni
a363fa2b0e Update documentation related to DirectX SDK and shader compiling. 2015-03-21 13:31:01 +02:00
Lasse Öörni
006c17f78e Added command line & engine startup option to disable OpenGL 3. 2015-03-17 20:44:49 +02:00
Yao Wei Tjong 姚伟忠
d2ea0ca934 Finetune the default test timeout value for Emscripten platform.
We have a time constraint on Travis CI side for all our CI builds and tests. Default value of 10 for Emscripten and 5 for native platform is also inline with Emscripten's claim that asm.js is about 50% slower than native speed.
2015-03-14 12:46:15 +08:00
Yao Wei Tjong 姚伟忠
8a77399bd0 Fix integration tests execution for Emscripten platform.
A test case is considered passed when the html exits as the result of emscripten_force_exit() function being called, which happens when the engine's elapsed time reaches URHO3D_TEST_TIMEOUT seconds. When something goes wrong, the engine's elapsed time does not progress as per normal, in this case the emrun's timeout would kick in and terminate the test case with failed exit status. The EMRUN'S timeout is set to be 2 times URHO3D_TEST_TIMEOUT auotmatically.
Add new build option EMSCRIPTEN_EMRUN_BROWSER to select which browser to use for testing. Default is 'firefox'. Refer to https://github.com/kripken/emscripten/issues/3234 to apply the recommended Firefox preference setting for emrun.
2015-03-12 18:04:16 +08:00
Lasse Öörni
988f1fdc33 Merge branch 'master' into render-refactor 2015-03-07 17:59:37 +02:00
Yao Wei Tjong 姚伟忠
0fe597223f Add initial support for integration tests on Emscripten platform.
At the moment the 'make test' cannot be run non-interactively yet on Linux host and Mac OS X host systems due to what-could-be a bug in 'emrun' script. The issue with 'emrun' has been reported to upstream (https://github.com/kripken/emscripten/issues/3234).
2015-03-07 12:00:47 +08:00
Yao Wei Tjong 姚伟忠
4d34d0a626 Add new Emscripten build option for creating shared data file. 2015-03-03 23:32:27 +08:00
Yao Wei Tjong 姚伟忠
02572a9ec5 Add generic support for embedding and loading files for Emscripten.
Via the following source file property "EMCC_OPTION". The supported property values are: js-library, pre-js, post-js, embed-file, preload-file, shell-file. The files are added as link dependency so a relink will automatically occur when they are modified (have newer timestamp than target).
2015-03-03 01:16:40 +08:00
Yao Wei Tjong 姚伟忠
536b0a5429 Add new build option for better targeting Raspberry Pi platform. 2015-02-27 22:19:44 +08:00
Lasse Öörni
9f129ecd51 Merge branch 'master' into render-refactor 2015-02-23 01:43:02 +02:00
Lasse Öörni
281809121c Skeleton of D3D11 graphics classes. Does not render anything visible yet and many functions lack implementation. 2015-02-22 22:44:12 +02:00
Lasse Öörni
88080dad31 Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function. 2015-02-21 20:53:12 +02:00
Yao Wei Tjong 姚伟忠
10e477bbc8 Add flag to consider 'unresolved symbol' as an error. 2015-02-16 14:51:28 +08:00
Yao Wei Tjong 姚伟忠
d3f90cbe08 Make the URHO3D_LUA build option available for Emscripten build. 2015-02-16 07:23:10 +08:00
Lasse Öörni
b6ea033ce3 Enable CharacterDemo & VehicleDemo also without networking. Update documentation. 2015-02-14 22:16:39 +02:00
Yao Wei Tjong 姚伟忠
598030140d Some how the strike through markdown does not work, so use hard delete.
Audio and mouse locking are working now in Emscripten build, credits to Chris and hd_, respectively.
[ci skip]
2015-02-14 21:41:10 +08:00
Yao Wei Tjong 姚伟忠
9bf0d95b33 Use full URL so that SF.net can display our logo correctly there.
Mark Emscripten build support as experimental.
2015-02-14 20:24:30 +08:00
Yao Wei Tjong 姚伟忠
8471dcf3e4 Add option to package resource dirs and treat those dirs as build deps.
Fix static library building using emar instead of ar (from host compiler toolchain).
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 姚伟忠
564b77c39f Fix Ninja build by adding directory containing PCH to its search path.
Officially add Ninja build support. Close #653.
2015-02-06 13:49:32 +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 姚伟忠
fd84488a73 Add new build option to setup main executable as console application.
The new build option is only applicable for Windows platform only.
2015-01-21 16:50:09 +08:00
Lasse Öörni
6e5d0db379 If Urho3DPlayer command line is empty, attempt to read Data/CommandLine.txt on all platforms. Closes #615. 2015-01-20 12:42:53 +02:00
Chris Friesen
262bb942e4 Editor deselect all 2015-01-19 23:18:43 -06:00
Yao Wei Tjong 姚伟忠
05dd995b85 Refactor all the codes and scripts to use the renamed 'bin' subdir. 2015-01-18 21:40:54 +08:00
Yao Wei Tjong 姚伟忠
b86c4927aa Enhance setup_main_executable() to support MACOSX_BUNDLE individually.
When the URHO3D_MACOSX_BUNDLE build option is not set, passing the MACOSX_BUNDLE explicitly when setting up a main executable target will make the corresponding target to be built as a bundle.
2015-01-18 15:59:11 +08:00
Yao Wei Tjong 姚伟忠
1b2dcac1d2 Add new URHO3D_MACOSX_BUNDLE build option to build bundled apps on OSX. 2015-01-17 18:34:22 +08:00
Yao Wei Tjong 姚伟忠
f865522e1d Make the xcpretty filter optional for the 'rake make' task.
Minor documentation update.
2015-01-15 23:32:15 +08:00
Yao Wei Tjong 姚伟忠
bffa727e2e Attempt to suppress Xcode multi-group resource reference warnings. 2015-01-14 13:32:11 +08:00
Yao Wei Tjong 姚伟忠
02a5945b83 For Travis CI - Display where the SDK is being installed to in the log.
Minor document update on new Rake tasks.
2015-01-12 14:17:33 +08:00
Lasse Öörni
b6caeb02a5 Document depth rendering. Disable depth write when sampling a HW depth texture. Disable stencil optimizations when using a custom depth texture, as in that case stencil channel availability can't be guaranteed. Changed -renderpath command line option to use the full resource name instead of defaulting to the RenderPaths directory. Removed test code from ForwardHWDepth renderpath. Closes #597. 2015-01-10 15:54:00 +02:00
Yao Wei Tjong 姚伟忠
32212b1a12 Minor document update. 2015-01-10 21:23:12 +08:00
Yao Wei Tjong 姚伟忠
9d15448830 Keep the basic project structure simple and stupid. 2015-01-08 11:42:12 +08:00
Yao Wei Tjong 姚伟忠
cffcd1e07f Revise the log message when the resource prefix path is not set.
Hopefully in doing so, this will not become FAQ in the support forum.
2015-01-07 21:09:44 +08:00
Yao Wei Tjong 姚伟忠
0a871ace9a Minor document formatting update. 2015-01-06 13:05:31 +08:00
Yao Wei Tjong 姚伟忠
3494bd020d Minor documentation update. 2015-01-05 22:31:32 +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 姚伟忠
b654478715 For Travis CI - also use DESTDIR=~ when installing on OSX host. 2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
a4a4cde236 Refactor all CMake toolchains to reset CMAKE_INSTALL_PREFIX variable.
Add new build options for specifying tool-prefix and target-sysroot in cross-compiling build.
Add new IOS_SYSROOT variable to store the path to iOS sysroot and use it to set CMAKE_FIND_ROOT_PATH variable.
Now also generate pkg-config Urho3D.pc for iOS platform.
For Travis CI - simplify SDK installation logic. Use DESTDIR=~ to avoid sudo.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠
1b465fb704 Clean up FindUrho3D.cmake module.
Add new build options to override 64-bit Linux package setup for Debian and Redhad -based host systems.
For Travis CI - fix 64-bit RPM package generation to install library in /usr/lib64, also fix external project build test using Urho3D library from SDK.
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 姚伟忠
325a4f7365 Refactor to use the newly renamed Source/Urho3D directory. 2015-01-04 22:32:40 +08:00
Yao Wei Tjong 姚伟忠
67e415acc8 Fine tune LuaJIT target arch detection logic. 2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
4db162eb62 Lua/LuaJIT host tool building while cross-compiling in one go.
For Travis CI - reenable CI build with Lua/LuaJIT build option turned on.
2015-01-04 22:32:39 +08:00
Yao Wei Tjong 姚伟忠
f9cb911cec Fix AngelScript binding which broke MinGW and OSX CI build.
Unify CMake module path setting command between Windows and non-Windows hosts for using library from SDK installation.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
d75c592bd2 Add new engine parameter to set the location of resource prefix path.
Remove temporary measure instead use the new URHO3D_PREFIX_PATH environment variable to set the resource prefix path for testing the executables.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
20e21050e9 Rename everything 'RASPI' to 'RPI'. [ci rebase] 2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
d8a3b8b4f4 Make repo root is also CMake source tree for the Urho3D project.
Build tree location is now fully user defined. The build tree location could also be the same as source tree, although it is not recommended.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
514847fb99 Adjust batch files and shell scripts to take build tree as user input.
Refactor to use a single generic batch file/shell script that does the actual work.
2015-01-04 22:32:38 +08:00
Yao Wei Tjong 姚伟忠
4f60123516 Move CMake modules and toolchains to the new source tree. 2015-01-04 22:32:38 +08:00
Lasse Öörni
50e2493b97 Added example of loading scene & UI content. Closes #583. 2014-12-29 22:33:15 +02:00
hdunderscore
34dc78169e - Added support for duplication in the editor (Ctrl+D / menu / context).
- Changed pasting default behavior to paste into the selected node, rather than the scene root (UI pasting was doing this already).
2014-12-08 20:14:51 +11:00
Lasse Öörni
a7fef9291c Added note of required shared Urho3D library build if creating an application consisting of multiple modules. 2014-12-02 14:56:51 +02:00
Yao Wei Tjong 姚伟忠
60eeb45222 For Travis CI - skip APK test run when packaging.
General build script cleanup:
- Constrain build option values in cmake-gui.
- Constrain build configuration for both multi-configuration and single-configuration generators.
- Mark cached variables as advanced or internal as appropriate.
2014-11-22 00:39:48 +08:00
Yao Wei Tjong 姚伟忠
0fb99af9e4 Misc. fixes and enhancement for Android platform.
- Add initial support for ndk-gdb. Enable via new 'URHO3D_NDK_GDB' build option.
- Enhance rake android task: more effective loop to wait for Android device, ability to pick library to run from SampleLauncher from the adb shell.
- Fix "buildvm" tool name for Android to derive from the correct NDK ABI CMake's variable.
- Fix Android toolchain to copy shared STL library to the correct Android library output directory.
2014-11-19 21:50:37 +08:00
Yao Wei Tjong 姚伟忠
e0e3b11757 Refactor build scripts to auto detect ANDROID and RASPI build options. 2014-11-19 21:48:25 +08:00
Yao Wei Tjong 姚伟忠
eda52984ac Add initial support for 64-bit Android ABIs. 2014-11-19 21:48:25 +08:00
Lasse Öörni
b325ba5195 Support excluding 2D functionality from the build (CMake option URHO3D_URHO2D=0). Removed empty scene creation from the UIDrag example. Make compiling Civetweb conditional of URHO3D_NETWORK. Exclude samples depending on the Controls structure when URHO3D_NETWORK is disabled. 2014-11-17 21:00:02 +02:00
Yao Wei Tjong 姚伟忠
125adf1228 Enhance Urho3D.pc file generation to support MSVC and MinGW better.
Simplify the pkg-config invocation example for MinGW cross-compiler since the Urho3D library name is already corrected. No need to sed anymore.
2014-11-09 18:08:58 +08:00
Yao Wei Tjong 姚伟忠
1f6215cf58 Initial support of rake scaffolding task on Windows platform.
The task requires privilege to create symlink via mklink command.
2014-11-09 00:38:35 +08:00
Yao Wei Tjong 姚伟忠
1edc6bfe64 Append '_d' to the output executable file name in the example.
Related to commit 78436eecd4.
2014-11-08 15:01:54 +08:00
Yao Wei Tjong 姚伟忠
78436eecd4 Add another pkg-config usage example for MinGW cross compiling. 2014-11-08 14:59:02 +08:00
Lasse Öörni
d21dea2cde Copy/paste fix. 2014-10-07 19:49:42 +03:00
Lasse Öörni
807bd28a9d Add URHO3D_NETWORK CMake parameter to control whether networking support is built. 2014-10-07 19:33:33 +03:00
Yao Wei Tjong 姚伟忠
e06762db76 On non-MSVC compiler, default to 64-bit when host compiler is.
The default can be overriden using URHO3D_64BIT build option as before.
2014-09-29 18:28:08 +08:00
Yao Wei Tjong 姚伟忠
70e7cb2d25 Give more verbose message when SOURCE_FILES variable is found not set.
Minor documentation update to stress that most of the build options supported by Urho3D project can also be pased to build script for configuring external project.
Add initial documentation on 'scaffolding' rake task.
2014-09-23 21:25:06 +08:00
Yao Wei Tjong 姚伟忠
bb573887ae Shorten anchor so that the line does not wrap around in Readme.txt. 2014-09-22 22:53:32 +08:00
Yao Wei Tjong 姚伟忠
47fb292a3a Add documentation for the OS X and iOS deployment target build options. 2014-09-15 14:51:18 +08:00
Yao Wei Tjong 姚伟忠
5a79a7c552 Add the new build options to documentation page.
Closes #446. [ci skip]
2014-09-13 14:55:08 +08:00