Yao Wei Tjong 姚伟忠
a30c075189
Use stronger hint for 64bit Debian-based distro for finding 32bit lib.
2016-01-27 14:21: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 姚伟忠
2d9502496b
Adapt the ODBC_LIBRARIES for Windows platform based on nanodbc.
2016-01-25 16:13:02 +08:00
Yao Wei Tjong 姚伟忠
90c97b95c4
Fix try_run logic in FindUrho3D module to support MSVC static runtime.
...
Close #1140 .
2016-01-22 19:13:51 +08:00
Yao Wei Tjong 姚伟忠
d267c5ee3c
Fix build system to find 32-bit readline package correctly on Debian.
2016-01-22 13:41:29 +08:00
Yao Wei Tjong 姚伟忠
1066c52fb6
Fix build system to find 32-bit packages correctly on Linux.
2016-01-22 12:01:23 +08:00
Yao Wei Tjong 姚伟忠
105aa2699e
Use Readline library when it is found for Lua and isql.
2016-01-22 02:05:30 +08:00
Yao Wei Tjong 姚伟忠
295c4c6a05
For Travis CI - new commit msg pattern to trigger 64-bit only build.
2016-01-22 00:15:45 +08:00
Yao Wei Tjong 姚伟忠
cff5fe2d3d
For Travis CI - enable URHO3D_LUAJIT build option on iOS CI builds.
...
Upgrade to CMake 3.4.1 for OSX CI build jobs.
Close #1146
2016-01-21 19:28:02 +08: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 姚伟忠
da3a82979b
Bake URHO3D_TESTING to ensure downstreams get consistent struct size.
2016-01-21 00:01:28 +08:00
Yao Wei Tjong 姚伟忠
e61cf6fc40
Upgrade to LuaJIT v2.1 (unstable) branch.
2016-01-13 01:22:01 +08:00
Yao Wei Tjong 姚伟忠
5a97c68a49
Fix a regression issue caused by external project target renaming.
...
Close #1137 .
2016-01-09 19:25:44 +08:00
Yao Wei Tjong 姚伟忠
df2e152a6c
Fix 64-bit ABI detection on iOS platform again.
...
Older Xcode/lipo tool may not recognize 64-bit ARM arch as 'arm64' yet, so use 'x86_64' as the grep keyword instead.
[skip appveyor] [ci only: OSX]
2016-01-07 16:16:12 +08:00
Yao Wei Tjong 姚伟忠
e9570d33b4
Enable color diagnostics for GCC 4.9.1+.
2016-01-06 16:38:59 +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 姚伟忠
bc64b053a3
Bake URHO3D_LUAJIT as downstream project needs extra linker flags.
...
Without these extra linker flags the executable would most likely get a runtime error, especially when targeting 64-bit OSX platform.
2016-01-06 16:38:59 +08:00
Yao Wei Tjong 姚伟忠
3c7b37c972
For Travis CI & AppVeyor - simplify SDK installation process.
...
The wait_for_block() was originally needed for iOS platform as it used to install very slowly (exceeds 10 minutes) due to configuration mistake. It should install just in a few minutes now.
2016-01-06 16:38:58 +08:00
Yao Wei Tjong 姚伟忠
f2e7eec61a
Fix compiler ABI detection for iOS platform.
2016-01-06 16:38:58 +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 姚伟忠
bf50a58a0a
Fix clang-tools build.
...
[skip appveyor] [ci only: Annotate]
2015-12-27 15:51:28 +08:00
Yao Wei Tjong 姚伟忠
108705d0e2
Bake compiler defines used by the database subsystem.
...
The auto-discovered variables are removed as build options from cmake-gui when it is invoked by Urho3D downstream projects.
Still, ensure the auto-discovered variables prevail over conflicting values potentially specified by user manually or via CLI.
2015-12-26 19:38:17 +08:00
Lasse Öörni
afd95f09d3
Do not copy shader compiler DLL in OpenGL build.
2015-12-25 16:17:14 +02:00
Lasse Öörni
564647df8a
Fix SDL compilation missing DX includes when using OpenGL and DirectX SDK.
2015-12-25 16:17:13 +02:00
Yao Wei Tjong 姚伟忠
1c640da5d4
Document all the possible output variables.
...
[ci skip]
2015-12-25 22:22:40 +08:00
Yao Wei Tjong 姚伟忠
5af983234f
Check the compiler defines at the time when the lib is built instead.
2015-12-25 17:55:17 +08:00
Yao Wei Tjong 姚伟忠
68e2813298
Attempt to use try_run logic to auto-discover build options.
...
For AppVeyor - let URHO3D_D3D11 be auto-discovered when scaffolding.
Close #1066 .
2015-12-25 10:37:56 +08:00
Yao Wei Tjong 姚伟忠
a2122c3063
For downstream - fix try_compile logic on iOS build.
...
[skip appveyor] [ci only: OSX]
2015-12-22 22:15:14 +08:00
Yao Wei Tjong 姚伟忠
a3f24a38cb
For downstream - fix try_compile logic on Android build.
...
[skip appveyor] [ci only: Android, Emscripten]
2015-12-20 23:23:59 +08:00
Yao Wei Tjong 姚伟忠
a66ad9b384
Cache the GCC c++11 standard test result. Remove redundant linker flag.
2015-12-20 13:00:22 +08:00
Yao Wei Tjong 姚伟忠
ed28d2b24f
Attempt to fix Android build with PCH enabled targeting API >= 16.
...
Fix #1100 .
[skip appveyor] [ci only: Android, OSX, Emscripten]
2015-12-19 17:37:07 +08:00
Yao Wei Tjong 姚伟忠
ff1278051f
Fix the problem of enabling C++11 standard for MinGW on Windows host.
2015-12-18 15:12:12 +08:00
Yao Wei Tjong 姚伟忠
ad170b5893
For downstream - show try_compile output in case of compilation error.
...
[ci skip]
2015-12-18 00:00:51 +08:00
Yao Wei Tjong 姚伟忠
6e50708301
Modify the try_compile syntax to the one that CMake 2.8.7 supports.
...
Temporarily still exclude iOS and Android.
2015-12-17 22:27:03 +08:00
Yao Wei Tjong 姚伟忠
df18e41ee6
Fix try_compile execution for MinGW STATIC build and 32-bit build.
...
[ccache clear]
2015-12-16 23:37:57 +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 姚伟忠
4014a8c074
Temporarily disable try_compile as it does not work on older CMake.
2015-12-15 00:38:04 +08:00
Yao Wei Tjong 姚伟忠
20ed4836cd
Use try_compile construct that is recognized by older CMake version.
...
Temporarily exclude the ABI check for MSVC as well. Sorry.
2015-12-15 00:12:40 +08:00
Yao Wei Tjong 姚伟忠
1b9b928de0
Temporarily exclude try_compile check for iOS build.
2015-12-14 23:47:55 +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 姚伟忠
94469e689e
Fix RPI static build.
2015-12-13 22:36:57 +08:00
Yao Wei Tjong 姚伟忠
55286eb820
Fix host-tool building.
...
[skip appveyor]
2015-12-13 17:43:54 +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 姚伟忠
b90c3ba444
For downstream - fix macro redefinition warning on VS static build.
...
[ci only: AppVeyor]
2015-12-11 23:04:52 +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 姚伟忠
b7e777d707
Enhance FindUrho3D module to auto-reconfigure when URHO3D_HOME changes.
2015-12-09 16:01:56 +08:00
Yao Wei Tjong 姚伟忠
3229bcbfe1
Fix bug in FindUrho3D module to prevent issue when being invoked twice.
...
Fix evaluation of compiler support for gnu++11/gnu++0x standard.
Fix space-in-path support for URHO3D_HOME environment variable.
2015-12-08 22:38:42 +08:00