Commit Graph

285 Commits

Author SHA1 Message Date
Crypto City
fb29a34cdc PackageTool: add an exclude option
One may set a number of glob patterns to exclude from the output
2020-10-19 19:19:03 +00:00
Crypto City
2713da6256 PackageTool: fix empty string check in extension check 2020-10-19 19:18:51 +00: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 姚伟忠
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
error408
fb866a87fd
Update SpritePacker.cpp
to guarantee best results, either: "stbrp_init_target", the forth parameter need either:
     1. make sure 'num_nodes' >= 'width'
or  2. call stbrp_allow_out_of_mem() defined below with 'allow_out_of_mem = 1'
2019-09-19 16:15:41 +08:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Yao Wei Tjong 姚伟忠
20617e17b6
Allow Gradle build with Lua/LuaJIT enabled without global ninja-build. 2018-09-08 21:21: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
Rokas Kupstys
6ed3e46646 FlagSet<> update:
* Use URHO3D_FLAGSET() macro for enabling flagsets on enums.
* Use EnumFlags alias instead of FlagSet<Enum>.
* Naming changes.
2018-06-18 20:20:17 +03:00
Rokas Kupstys
966590d8e7 Use FlagSet<> for storing masks.
Author of FlagSet.h is Eugene Kozlov (https://github.com/eugeneko/).
2018-06-18 18:26:46 +03:00
Eugene Kozlov
4862785ab7 Fix PackageTool build. 2018-06-04 18:05:16 +03:00
Yao Wei Tjong 姚伟忠
93460b3d12
Clang-Tidy - hicpp-member-init. 2018-04-01 10:48:48 +08:00
Yao Wei Tjong 姚伟忠
a83104bda2
Clang-Tidy - hicpp-no-malloc. 2018-04-01 10:48:47 +08:00
Yao Wei Tjong 姚伟忠
d43bf1b3d6
Clang-Tidy - hicpp-signed-bitwise.
However, this check is disabled because we could not cleanly modify the code everywhere to make them pass.
2018-04-01 10:48:47 +08:00
Yao Wei Tjong 姚伟忠
291a4d3d3a
Update build script to add the search path for the generated header. 2018-03-15 23:32:06 +08:00
Yao Wei Tjong 姚伟忠
6d08bcd8c0
Clang-Tidy - hicpp-member-init. 2018-02-25 23:32:38 +08:00
Yao Wei Tjong 姚伟忠
c277e7fd01 Rinse and repeat using Clang-Tidy 4.0 and Clion. 2018-01-26 06:55:09 +08:00
Yao Wei Tjong 姚伟忠
f1c1f5aa42 For CI - setup the lint stage on the primary CI. 2018-01-24 02:06:23 +08:00
Yao Wei Tjong 姚伟忠
29fed24492 Rinse and repeat by invoking clang-tidy (v3.9) from CLI directly.
It appears that Clion's modified version of the clang-tidy does not detect and fix all the issues.
2018-01-22 23:34:16 +08:00
Yao Wei Tjong 姚伟忠
628d321d05 Clang-Tidy - readability-inconsistent-declaration-parameter-name. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
49e0e2122d Clang-Tidy - readability-non-const-parameter. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
f15712ba24 Clang-Tidy - performance-unnecessary-value-param. 2018-01-20 23:52:03 +08:00
Yao Wei Tjong 姚伟忠
1156ebfcec Clang-Tidy - cert-flp30-c. 2018-01-20 23:52:03 +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 姚伟忠
d6eb307e34 Clang-Tidy - google-explicit-constructor. 2017-12-31 13:48:28 +08:00
Yao Wei Tjong 姚伟忠
c99c5fbf64 Clang-Tidy - modernize-use-equals-default. 2017-12-31 13:48:26 +08:00
Yao Wei Tjong 姚伟忠
d8a438b169 Clang-Tidy - modernize-return-braced-init-list. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
617b2d8cf7 Minor refactor to manually rename the range-based-for-loop index. 2017-12-31 13:48:25 +08:00
Yao Wei Tjong 姚伟忠
446247fa8c Clang-Tidy - modernize-loop-convert. 2017-12-31 13:48:08 +08:00
Yao Wei Tjong 姚伟忠
ca97fd9b9b Clang-Tidy - modernize-use-auto. 2017-12-31 12:46:26 +08:00
Yao Wei Tjong 姚伟忠
5e89e566e6 Clang-Tidy - modernize-use-override. 2017-12-31 12:11:09 +08:00
Eugene Kozlov
59391f9523 Source/Tools and Source/Samples automatic upgrade: override, typedef to using, 0 to nullptr. 2017-08-29 11:40:46 +03: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
Lasse Öörni
c8ecd9f55c Typo fix in AssetImporter. 2017-07-13 14:03:43 +03:00
Yao Wei Tjong 姚伟忠
7fc9aa816a Make clean for MinGW/Android/Web platforms.
The rest of the platforms are already taken care of by this commit, however, only tested explicitly on Linux native, RPI, and ARM.
2017-07-09 21:58:33 +08:00
Yao Wei Tjong 姚伟忠
3a6f3e5543 Avoid hard-coding of shell script / batch file names.
Fix #1974.
2017-06-06 22:42:43 +08:00
Yao Wei Tjong 姚伟忠
75b8420a31 Initial work for porting Urho3D to AppleTV platform. 2017-06-05 23:04:09 +08:00
Lasse Öörni
364521c1ee Do not transform root bone with model's root node in AssetImporter, only with nodes in between (if any). Possible fix to #1944. 2017-05-20 15:39:23 +03:00
Yao Wei Tjong
108530ff45 Merge pull request #1921 from cosmy1/libs-update
Libs update
2017-04-28 09:36:14 +08:00
cosmy
7902fba3b9 Replace deprecated LZ4 functions in Urho3D. 2017-04-26 20:15:04 +02:00
Svyatoslav
128230d462 PackageTool.cpp: PVS-Studio: fixed conditional expression of the loop.
Signed-off-by: Svyatoslav <razmyslov@viva64.com>
2017-04-25 18:25:02 +03:00
Lasse Öörni
218f48ea98 Add lowdpi command line option to force low DPI on Retina display. 2017-04-22 00:32:55 +03:00
Lasse Öörni
90e95ab2e3 Update documentation. Add contributor credit. Minor code comment fixes. 2017-03-20 18:11:12 +02: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 姚伟忠
3b02eeb5eb For CI - suppress all the 3rd-party libraries' warnings.
Somehow after bumping up the CMake minimum version, CMake configures Xcode to work "better" with xcpretty that now the warnings are piping through the xcpretty's filter. Unfortunately when performing CI build, this is undesirable because not only now the log size is swelling, the build is slower too.
2017-03-05 08:45:38 +08:00
Yao Wei Tjong 姚伟忠
73c97d9f64 Only add defines at the scope they are actually required. 2017-03-05 08:45:38 +08:00