halx99
430030a6c3
Improve VS Ninja build again
...
a. Auto copy webview2 dll for targets
b. Fix cpp-tests compile error
2022-04-27 19:39:12 +08:00
Shatyuka
d71c620fc1
Compatible with Ninja
2022-04-26 15:16:02 +08:00
一线灵
ff2258be7c
Try fix empty/missing DT_HASH in "libOpenSLES.so"
2022-04-04 17:47:45 +08:00
halx99
67c6bcec4f
[cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA
2022-02-17 21:31:39 +08:00
halx99
67fad92cbf
Update plainlua to 5.4.4, pugixml to 1.12.1
2022-02-17 18:06:19 +08:00
halx99
818e563e51
Finish #578
2022-02-17 17:11:17 +08:00
deal
421001bdd7
Update ios.mini.cmake
2022-01-20 18:10:16 +08:00
deal
b5b176183c
Don't needs copy plainlua.dll when use luajit
2022-01-17 23:50:05 +08:00
halx99
0f4b92c1e4
Always enable string pooling for msvc
2021-12-04 13:45:25 +08:00
halx99
2ca99fce0f
Improve codebase to c++17
2021-11-26 18:06:14 +08:00
halx99
846231e2f1
Fix #522
2021-10-12 13:16:27 +08:00
halx99
bbd3a78ae4
Improve lua workflow on windows
...
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
halx99
23b6c1d549
Fix mac build [skip ci]
2021-09-20 18:18:52 +08:00
halx99
e070ec111e
Add win64 angle dlls
2021-09-01 10:28:37 +08:00
halx99
6b25a52445
Update CocosConfigDefine.cmake
2021-08-27 01:08:14 +08:00
halx99
395a5afdd7
[Draft] Tidy windows prebuilt folder for win64 support
2021-08-26 23:25:17 +08:00
halx99
b66993f908
Update curl to 7.78.0 and use prebuilt lib for speedup cmake generation time
2021-08-23 20:38:52 +08:00
halx99
55f1947429
Explicit disable codesign for macOS
2021-08-13 10:19:24 +08:00
halx99
39eb09daad
Fix xcode ci
2021-08-12 11:25:01 +08:00
halx99
6ee687302b
Xcode Embed Frameworks support
...
refer to: https://gitlab.kitware.com/cmake/cmake/-/issues/22412#note_997156
2021-08-10 11:43:16 +08:00
halx99
f70ad053c0
Rename everything to adxe
2021-07-09 10:42:36 +08:00
halx99
be1d5c5a7b
Sync CMakeLists.txt and README files [skip ci]
2021-07-08 22:55:33 +08:00
halx99
61af6d75f9
Update readme guide and fixup [ci build]
2021-06-08 21:53:18 +08:00
halx99
5effccdb3c
Update name
2021-06-01 20:31:48 +08:00
RH
df126856ba
Fix for incorrect COCOS_COMMAND path ( #357 )
2021-05-24 23:15:06 +08:00
halx99
adce3298de
Fix lua build [ci build]
2021-05-24 19:18:15 +08:00
HALX99
a42f9ac25c
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
HALX99
529895baff
Update ios.mini.cmake
2021-05-14 08:22:46 +08:00
halx99
36965d2e49
Fix #352 [ci build]
2021-05-12 11:18:31 +08:00
halx99
6aea443282
Fix cmake issue [ci build]
...
Avoid cause check_include_file return unexpected result.
2021-05-11 23:48:15 +08:00
HALX99
2c7830246a
Merge pull request #350 from rh101/fix-cmake-set-property
...
Fix for CMake error when set_property is called with aliased target
2021-05-05 19:49:30 +08:00
rh101
3a7bb58045
Extract real target from ALIAS if it exists in order to set property successfully
...
Remove duplicate entries in dependencies lists
2021-05-05 16:04:06 +10:00
halx99
617f7a5f15
Building glfw,freetype,openal,curl from sources [ci build]
2021-04-28 12:43:51 +08:00
halx99
3f1f872ba0
Disable luajit compile for release build
2021-02-05 21:59:50 +08:00
HALX99
abc87f8cd5
Update README.md
2020-12-29 21:48:02 +08:00
HALX99
959c3fb19f
Update README.md
2020-12-29 20:55:12 +08:00
halx99
5056eb9ef2
fix link error on macOS Big Sur 11.01
...
Follow lib removed by Apple
1. /usr/lib/libz.dylib
2. /usr/lib/libiconv.dylib
2020-12-02 21:59:57 -08:00
halx99
108399ede3
Unify CC_COMPAT_GL to control renderer backend
...
win32: google angle
mac: NSGL
ios: GLES
2020-12-02 03:03:05 -08:00
halx99
35ac7f43ce
Since we don't support ios x86 simulator yet, set ios default min deployment target to 9.0 is ok
2020-11-15 21:46:24 -08:00
HALX99
025a91996a
Update ios.mini.cmake
2020-11-13 11:01:48 +08:00
HALX99
381e385f36
Update ios.mini.cmake
2020-11-13 01:08:26 +08:00
HALX99
6409f3550f
Unify ios min deployment target to 10.0
2020-11-13 01:07:41 +08:00
halx99
f7006b2034
Remove print
2020-11-11 22:33:48 -08:00
halx99
58ff3a5f4b
fix ci for ios [ci build]
2020-11-11 15:07:21 +08:00
halx99
b68c8601d8
fix nasm detect variable CMAKE_ASM_NASM_COMPILER_LOADED not correct [ci build]
2020-11-11 13:51:34 +08:00
halx99
465831759e
Make nasm compiler optional [ci build]
2020-11-11 13:27:52 +08:00
halx99
649f1c7a62
Try enable nasm compiler for libjpeg-turbo boost
2020-11-11 10:31:41 +08:00
halx99
8bf0039751
Add compiler flags -mfloat-abi=softfp for android armv7?
2020-11-10 14:36:55 +08:00
halx99
975ef2ff61
Lock name
2020-10-24 21:57:36 +08:00
halx99
cdd0c527d9
Update cmake build guide [skip appveyor][skip travis]
2020-10-22 17:58:21 +08:00
halx99
8a69a3a5cc
Set CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET at toolchain file ios.mini.cmake
2020-10-22 17:50:25 +08:00
halx99
b8834bc086
Finsih rename
2020-10-22 10:58:10 +08:00
HALX99
90ecc475f0
Refactor modules ( #238 )
2020-10-17 16:32:16 +08:00
HALX99
d907a1a7a5
Build mac with alsoft support ( #226 )
...
* Build mac with alsoft support
* Add missing dep for mac
* Update CocosConfigDepend.cmake
2020-10-06 20:55:38 +08:00
halx99
1735517112
Improve win dll support
2020-10-06 16:46:38 +08:00
HALX99
235f09f635
Refactor pixel format manipulate ( #217 )
...
* PixelFormat use table
* Correct PixelFormat name to match 'GL_LUMINANCE'
* Up
* fix cube update texture enum
* linux build
* Refine ci
* fix linux build
* Remove unused function, match mtl framebuffer pixel format
* readPixels always RGBA format
* fix ci for linux
* fix linux build
* Remove unused functions
* fix travis
* fix android ci
* Update config.json
* linux glad
* Update CCGLViewImpl-desktop.cpp
* fix linux build
* Fix linux build
* Link issue [skip appveyor][skip travis]
* Update CMakeLists.txt
* Refine GL enums use
* Update test case name [skip appveyor][skip travis]
* fix linux link issue
* for mtl
* fix ci
* Tidy pixelformat enums
* fix ci
* fix rgba8 to abgr4 error
* fix ci
* fix ci for GLES
* Fix linux build, require glibc-2.27+
* Use properly dist for travis [skip appveyor]
* fix linux build [skip appveyor]
* Update install-deps-linux.sh
* Remove unused members for pixel block info, update external to v73
* Sync from compile linux warnings
* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format
* metal doesn't support rgb8 (#3 )
* Update CCTexture2D.cpp
* Refine code
* Pixel Format Descriptor Table
* fix ci
* BGR5A1
* Simplfy texture format convert function name
* Update
* rgba4 match mtl render format
* Add note about RGBA4
* Remove unused function
* fix osx
* Already converted at texture2d
* Clearly comment
* fixup
2020-09-25 11:07:56 +08:00
halx99
2d2d0e7ee6
Take care PBO use on android
2020-09-15 16:01:44 +08:00
halx99
e9de615d36
Don't config c standard on windows
2020-08-30 13:48:12 +08:00
halx99
06cf13d962
Remove cmake message print
2020-08-29 01:40:55 +08:00
halx99
2bc966efb6
fix #183
2020-08-29 01:39:27 +08:00
halx99
1975ad1f94
Add CMake -DCC_FORCE_USE_GLES to control whether force use gles on win32,iOS
2020-08-28 12:57:00 +08:00
HALX99
75a210d696
Delete ios.toolchain.cmake
...
Unused
2020-08-27 14:12:11 +08:00
halx99
7cd25f5a66
Improve ios CMake scripts
2020-08-24 01:26:12 -07:00
halx99
395fb890ce
Enable strict try compile by default
...
Since we solve try_compile failed with code sign for ios device
2020-08-22 14:15:22 +08:00
halx99
4ff14cbf3a
Add CXX_STD for cmake to specific c++ standard, c++14,17 should be compile
2020-08-18 11:41:42 +08:00
halx99
77fb065481
Update CMake scripts
2020-08-17 19:18:18 +08:00
halx99
acca2eff1b
Add ios framework required by SDL2, check whether SDL2 support strip it later
2020-08-15 17:47:40 +08:00
halx99
b179975add
Adapte zlib licensed AL library: mojoal
2020-08-14 18:58:44 +08:00
halx99
0f1dcc86dc
Disable double use in chipmunk_types.h instead CMakeLists.txt more stable for ENGX
2020-08-09 22:41:06 +08:00
halx99
528187a0fc
python3 also works for CMake build system
2020-08-05 18:31:24 +08:00
halx99
6eb58f58bd
Optimize CMake scripts
2020-08-04 14:05:00 +08:00
halx99
b142167560
Huge changes, move spine,dragonbones,cocostudio to extensions folder, future make all extensions pluginable
2020-08-03 17:51:40 +08:00
halx99
b2f2f28cf0
fix cmake warnings & cover chipmunk float precision use on apple
2020-07-31 11:56:52 +08:00
halx99
005ec45f0a
fix option order
2020-07-31 11:22:42 +08:00
halx99
594767290d
Add CMAKE option CC_USE_ALSOFT_ON_APPLE to use kcat openal-soft on apple platform, by default currently OFF
2020-07-31 00:06:59 +08:00
halx99
03a7dbadbb
fix chipmunk float precision mismatch on cmake script
2020-07-29 18:19:23 +08:00
halx99
ab4137aacc
Try cpp14
2020-07-23 00:10:50 +08:00
halx99
c67bc05127
Update cmake toolchain
2020-07-21 23:06:54 +08:00
halx99
a70b43af1e
Remove a submodules.
2020-07-20 18:41:45 +08:00
halx99
1f9f27d63f
Use modern gl/gles loader 'glad' to instead 'glew'
2020-02-15 23:51:23 +08:00
halx99
e0070f910a
Add ios.toolchain.cmake
2020-02-07 18:59:44 +08:00
HALX99
d3b9f15e16
Delete FindTinyXML2.cmake
2019-12-02 05:55:34 +08:00
Arnold
3b4748009f
use copy instead of linkis ( #20356 )
2019-11-21 15:12:37 +08:00
Arnold
e3c636c23c
Sync resource automatically on Windows and Linux ( #20319 )
2019-11-15 10:24:38 +08:00
CHP
ac305862f4
Support multiple build configurations ( #20314 )
...
* MINSIZEREL_RELWITHDEBINFO_Support
* Remove DEBUG_MODE
2019-11-11 10:09:50 +08:00
minggo
5acc952a17
fix iOS build issue ( #20292 )
2019-11-05 15:23:54 +08:00
Andy Duplain
1a04787287
Rework CMake Xcode support. ( #20205 )
...
- Build using C++17 by default.
- Simplified customization of Xcode project via cmake.
- Add documentation to demonstrate how to use the customization.
- NOTE: I believe we could compile with bitcode enabled if the box2d
library was compiled using bitcode.
2019-10-22 13:42:56 +08:00
minggo
774a90792c
fix link error on iOS simulator ( #20172 )
2019-09-26 16:09:59 +08:00
Arnold
f3caa09fd6
code review update: cmake ios simulator limitation MacOS 10.15 ( #20120 )
2019-09-16 15:09:01 +08:00
Arnold
860b537b3e
update readme ( #20109 )
2019-09-06 18:51:12 +08:00
minggo
9df47ef6fd
use WKWebview instead ( #20103 )
...
UIWebView is removed in iOS 13.
2019-09-06 09:57:38 +08:00
minggo
d1abfd8aa2
use AVPlayerController instead ( #20099 )
2019-09-04 20:45:51 +08:00
CHP
b9df8ad823
remove_ios.toolchain.cmake ( #20058 )
...
* remove_ios.toolchain.cmake
* simplify osx configuration
* Remove ios.toolchain.cmake
2019-08-26 10:01:16 +08:00
rh101
a61a06fb14
Add support for interface-only libraries. ( #19994 )
...
* Add support for interface-only libraries.
* Fixed code formatting.
2019-07-30 15:51:58 +08:00
minggo
c5c6bd685b
sync 19873: Speed up post build step by disabling unnecessary cmake command ( #19948 )
2019-07-22 09:37:34 +08:00
Arnold
cf83c91480
[cmake] Update plist template for iOS projects ( #19828 )
...
* update cmake template
* fix tabs
* use function instead of macros
* rename local variables & cocos_fake_set
* use g++ 7 in travis ci
* use clang
* use g++6
2019-06-17 18:37:56 -07:00
minggo
23a21ef298
Remove jsb related ( #19729 )
...
* remove jsb related codes
* update 3rd party
2019-05-24 00:00:51 -07:00
coulsonwang
833ab9bb81
need specify font path when use as system font ( #19692 )
...
* need specify font path when use as system font
* set custom fonts
2019-05-13 18:31:46 -07:00
Arnold
fe497933f8
3d support: some test cases works
...
* hack to make sprite3d test work
* support cull face
* support setting front face winding
* convert depth compare function type
* clean codes
* remove usage of glprogramstate
* pass needed information to Material::draw()
* add 3d textures
* enable animation
* 3D: compile on windows (#179 )
* exclude source files from extensions/
* enable assets and 3D
* run on windows
* update comments
* use std::vector instead of raw pointer void *
* compile on mac
* revert cmake
* fix bufferdata
* add todos
* remove dirty flag from uniform buffer
* argument type const &
* enable more tests
* update shader
* save: failed to compile
* pass compilation
* fix type convert
* save stage
* save stage 2
* remove VertexData & IndexBuffer & VertexBuffer
* comment out _meshCommand
* comment bindPredefinedVertexAttribs()
* fix xcode project file
* simple refactor
* remove unused files
* revert sprite3d testcase position
* revert change
* remove ProgramGL::bindPredefinedVertexAttribs()
* add header <string>
* fix uniform size
2019-01-30 09:35:17 +08:00
leda
4f0ef25c6f
sync cmake changes into metal-support ( #19335 )
...
* sync #19327
* sync #19329
2019-01-23 09:55:55 +08:00