Commit Graph

199 Commits

Author SHA1 Message Date
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00:00
Yao Wei Tjong 姚伟忠
0d4e038827
Major refactoring on the Gradle build system. 2020-10-29 08:22:44 +08:00
Yao Wei Tjong 姚伟忠
223fbd4cba
Refactor to start to use lower case name. 2020-10-29 08:22:43 +08:00
Yao Wei Tjong 姚伟忠
00e38454c5
Reset the CMAKE_INSTALL_PREFIX for Windows 64-bit platform. 2020-10-29 08:22:42 +08:00
Yao Wei Tjong 姚伟忠
3ba62f036e
Fix the STATIC and SHARED build for VS and Xcode.
Cleanup comments.
2020-05-10 23:30:59 +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
Modanung
2650e38855 Reduced minimum required cmake version to 3.10.2 2020-01-22 22:27:07 +08:00
Yao Wei Tjong 姚伟忠
dabfdbd213
Remove unsupported build options for Web platform. 2020-01-12 14:19:44 +08:00
Yao Wei Tjong 姚伟忠
46c6894d78
Bump CMake minimum required version to 3.14.5. 2020-01-12 12:37:22 +08:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Yao Wei Tjong 姚伟忠
7ccdaaf1c4
Leave CPACK_PACKAGING_INSTALL_PREFIX's value as per CMake's default.
Close #2166
2018-12-08 20:34:09 +08:00
Yao Wei Tjong 姚伟忠
b6039016b6
Differentiate artifacts generated from Windows host system.
We now have MinGW DirectX 11 build from both AppVeyor and Travis CI, so use the artifact's extension to differentiate them.
[ci package]
2018-12-01 09:16:12 +08:00
Yao Wei Tjong 姚伟忠
b817c3437d
For CI - temporarily exclude RPM and DEB package generation during CI packaging build.
Close #2368
[ci package]
2018-09-15 00:06:08 +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 姚伟忠
d827f5ebfb
Proper segregation between Gradle modules. 2018-08-06 21:46:00 +08:00
Yao Wei Tjong 姚伟忠
384ed3224f
Move all the shell scripts and batch files into 'script' directory. 2018-08-06 21:46:00 +08:00
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00: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 姚伟忠
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
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 姚伟忠
ff85c9522a Rename the module and toolchain names to follow new naming convention. 2017-03-06 22:12:27 +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 姚伟忠
2f8a80def4 Rewrite from scratch a new Android toolchain file.
The new toolchain file requires Android NDK r12b and above. Default to use 'arm-linux-androideabi-clang' toolchain and LLVM libc++ STL runtime.
Align all the compiler and linker flags according to new ndk-build configuration in Android NDK r12b, i.e. no more '-f[no-]strict-aliasing' and '-f[no-]omit-frame-pointer', but more stringent warnings check.
Improve over the old toolchain file where most of the options are now changeable after the initial configuration. The exceptions are ANDROID_NDK and ANDROID_TOOLCHAIN_NAME due to limitation of CMake.
Close #1441.
Other changes in this commit includes:
- Fix Android sample launcher app to support shared C++ STL runtime library.
- Remove temporary fix in FindUrho3D module as it is not required anymore with our new toolchain file.
- Fix Log::WriteRaw() method to pass the parameters correctly to __android_log_print() function.
- Fix enable_pch() macro to emit -fPIC compiler flags correctly based on target's POSITION_INDEPENDENT_CODE property.
- Fix linker flags for ld.bfd where it needs help to find the location of the rooted shared libraries. The flags are not required for ld.gold but they do no harm for gold linker.
- Enhance the CheckCompilerToolchain module to auto-detect if the NEON SIMD is enabled or not for Android build (based on the chosen ANDROID_ABI).
2017-03-05 08:45:40 +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 姚伟忠
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 姚伟忠
862e350b6f Differentiate build artifacts generated between MinGW and VS.
[cache clear]
2017-02-14 23:11:15 +08:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Yao Wei Tjong 姚伟忠
ac429d1425 Fix package metadata for RPI and ARM platforms.
[ci package]
2016-12-23 00:01:46 +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 姚伟忠
98414a9ad6 Shorten the package name for ARM build due to space constraint.
Fix 32-bit ARM packaging build on 64-bit Travis-CI host system.
[ci package]
2016-08-06 17:32:36 +08:00
Yao Wei Tjong 姚伟忠
362912078b Change the package name for generic ARM platform to use all caps.
[ci package]
2016-08-06 14:10:06 +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
Yao Wei Tjong 姚伟忠
7c90c2c0ec Simplify command to detect predefined macros of the chosen compiler.
Add new CMake module for detecting host capability.
2016-08-03 00:16:23 +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 姚伟忠
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 姚伟忠
e5f758f9fc Install/package 'Autoload' directory.
[ci package]
2016-04-17 22:44:21 +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 姚伟忠
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
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00
Yao Wei Tjong 姚伟忠
17734a1b77 Enable LuaJIT universal binary build on iOS platform. 2016-01-21 10:56:58 +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
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 姚伟忠
f471dd66dd Refactor installation structure for Windows platform.
Attempt to reenable the try_compile logic to verify if the found Urho3D
library is ABI-compatible with the chosen compiler toolchain.
2015-12-16 22:21:24 +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 姚伟忠
c93327bf00 For Travis CI - wrap the 'make package' inside 'setarch' command.
Related to fc14b30e42. [ci package]
2015-04-07 18:08:26 +08:00
Yao Wei Tjong 姚伟忠
fc14b30e42 Override the package arch when building for 32-bit on 64-bit host.
Fix #691. [ci package]
2015-04-07 12:38:39 +08:00