Commit Graph

318 Commits

Author SHA1 Message Date
smilediver ddeb14c160
Fix shaders not copying to final build on macOS for non Xcode builds (2) (#1908)
* Fix shaders not copying to final build on macOS for non Xcode builds

* Fix macOS build after adding minimum CMake 3.20 requirement

* Refactor "Fix macOS build after adding minimum CMake 3.20 requirement"
2024-05-22 01:51:09 +08:00
halx99 0580a4415a Fix templates 2024-05-05 00:22:53 +08:00
smilediver 354f3abed9
Add ability to create console apps (#1859)
* Print cmake build command when running `axmol build`

* Add option to `ax_setup_app_config()` for building console applications

* Fix console app entrypoint

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-29 00:24:06 +08:00
kingy71 7bbcb86ec4
Remove Info.plist from mac Resources (#1849)
Set elsewhere and fails upload to MacAppStore with shared bundle path
2024-04-26 02:04:59 +08:00
halx99 940db1e351 Change android default screenOrientation to sensorLandscape 2024-04-17 22:59:25 +08:00
halx99 197f2adfcd Add create isolated project support (#1801)
axmol new HelloCpp -i
2024-04-10 22:11:42 +08:00
halx99 68a5c250cd Fix build android with axmol cmdline arch not working 2024-04-09 01:37:04 +08:00
halx99 320124487e Update gradlew scripts 2024-04-08 23:29:45 +08:00
halx99 60c4f6c340 Fix win32 link error
attention linux: the libaxmol.a must first link library, otherwise will cause
link error.
2024-04-08 21:52:50 +08:00
halx99 0ef8d484ce Fix xcode15 warning: ignore link duplicated lib 2024-04-07 22:51:50 +08:00
halx99 ded0bfeed0 Fix template gradlew permission [skip ci] 2024-04-07 09:10:41 +08:00
halx99 bc1bab5a98 Update AGP 8.2.2
- gradle: 8.5 ==> 8.7
- gradle-wapper.jar: NA ==> 8.7
- cmdlinetools: 10406996 ==> 11076708
2024-04-07 02:08:00 +08:00
halx99 e8b070c84c Remove unnecessary cmake option AX_VS_DEPLOYMENT_TARGET since we require cmake >= 3.28 2024-04-03 03:57:59 +08:00
halx99 d1ec623bb5 Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
Deal 931ca91c71
Logging colorful support (#1735)
* Add logging colorful support

* Enable full log fmt style in cpp-tests
2024-03-08 01:15:26 +08:00
Deal 3ba9737204
Make cpp template more simple 2024-02-29 23:19:52 +08:00
halx99 c3052d7e24 Improve axmol console command `new`
Copy .clang-foramt, .editorconfig to new projects
2024-02-22 20:06:19 +08:00
Deal c222d2e442
Improve project templates (#1713)
* Improve project templates

* Update template cfg [skip ci][skip appveyor]

* Update template cfg [skip ci][skip appveyor]

* Leaving base permission for android[skip ci][skip appveyor]

* Improve code [skip ci][skip appveyor]
2024-02-22 00:41:07 +08:00
Deal adbffdf4a2
Fix #1704, control android cmake options by engine axutils.gradle (#1705) 2024-02-20 00:58:47 +08:00
RH b4877b40b6
Add missing return statement (#1657) 2024-02-06 19:08:12 +08:00
RH 7dd7dc4ada
LUA build fix for Android, iOS and Windows (#1650)
* Update paths to lua bindings

* Update target include directories due to new extension dir structure

* Add missing libraries and paths for prebuilt option

* Current FairyGUI requires paths to parent and source directory

* Add required thirdparty search path to LUA library
2024-02-04 22:09:36 +08:00
halx99 c06bed508b Rename cocos_android_app_init to axmol_android_app_init and othre code cleanup 2024-01-29 08:51:35 +08:00
Deal 7b48175f84
Fix #1628 2024-01-24 22:07:47 +08:00
Deal 9ec7c54c57
release 2.1.0 finally (#1621) [release 2.1.0]
* Delete deprecated prop `buildconfig` from gradle.properties

* Delete unnecessary props since it's value same with defaults

* Don't need config debug keystore, will auto signed by default debug.keystore

* Update funding [skip ci]

* Fix axmol cmdline tool command 'new'

* Refix c99 for winsdk < 10.0.22000.0

* Fix powershell 3 condition statement: 'xxx = if(c) { v1 } else { v2 }' will lost switch parameter semantic

* Improve code style

* Improve code style

* Fixup
2024-01-20 16:16:53 +08:00
arman hossiny 4c3c9bd2ae
Enable default aidl file to project especially for In-app purchases (#1620) 2024-01-19 19:08:13 +08:00
halx99 fe4ef94b4e Unify cmake minimal requirement 2024-01-18 21:12:45 +08:00
halx99 bef10d0dea Allow generated debug signed apk, and rename keystore props:
- RELEASE_STORE_FILE ==> KEY_STORE_FILE
- KEY_STORE_PASSWORD ==> KEY_STORE_PASSWORD
- RELEASE_KEY_ALIAS ==> KEY_ALIAS
- RELEASE_KEY_PASSWORD ==> KEY_PASSWORD
2024-01-17 03:50:13 +08:00
halx99 32ef79a9f5 Avoid define multi depends of gradle task copyContentToAssets
refer: dd7c9deaf9
2024-01-17 03:45:13 +08:00
halx99 d3e680bc52 Update Android devtools
- AGP 8.2.1
- Android Studio 2023.1.1+
- Android SDK Tools 34.0.0
- Android SDK Platform 34
- Gradle 8.5
2024-01-17 02:59:40 +08:00
halx99 dd7c9deaf9 Improve android build gradle script
- Merge tasks copyDebugContentToAssets, copyReleaseContentToAssets to copyContentAssets
- Simplify tasks dependent definations
- Fix tests content not pack into apk
2024-01-16 00:47:19 +08:00
Lich 0a117050e3
Include hpp and c files in CMakeLists.txt (#1585) 2024-01-06 09:26:50 +08:00
Lich 4d1dff9f63
Include hpp and c files in CMakeLists.txt (#1583) 2024-01-05 19:29:29 +08:00
RH dad845abe9
Remove comments for non-existent parameters (#1554)
Add override specifier on destructor.
2023-12-29 19:19:41 +08:00
Deal 159f49d832 Fix #1498 (#1500) 2023-12-12 00:44:59 +08:00
aismann 62e6542f28
Improve the default templates (at least the cpp template) (#1494) 2023-12-11 12:30:29 +08:00
Paulo Coutinho 7f309b7570
fix plist data and version (#1488) 2023-12-10 15:45:53 +08:00
halx99 affcf05b69 Prepare 2.1.0 release
* Update copyright notice
* Remove prebuilt libs from SCM
* Remove optional thirdparty sources/repo from SCM
* Remove tests resources  folder 'Content' from SCM
2023-12-08 01:04:43 +08:00
Paulo Coutinho 0aab228acc Rename glview to correct representative name (#1467) 2023-12-01 09:04:51 +08:00
CHP 13ec866867 Update android API to 34 (#1469)
* Update gradle.properties

* Update android api to from 33 to 34
2023-12-01 08:08:37 +08:00
Paulo Coutinho 516e4fd10c new tvos splash and splash organization, removed unused code, fix tvos plist (#1459) 2023-11-28 18:45:54 +08:00
Paulo Coutinho 2c5d22c193 update android build.gradle (#1457) 2023-11-28 11:15:44 +08:00
Paulo Coutinho 97b0c318b6 new portrait splash, cmake bundle id replace, support for ipad, better info.plist, plist orientation fix (#1456) 2023-11-28 10:24:33 +08:00
halx99 ec507ec874 Update mac icons 2023-11-27 20:18:10 +08:00
halx99 8d1f801b54 Fix typo [skip ci][skip appveyor]
refer #1453
2023-11-26 23:56:38 +08:00
RH a503004418 [Android] Restrict temporary and generated files to build folder (#1368)
* [Android] Restrict temporary and generated files to build folder

* Fix temporary axslc folder path
2023-10-02 09:47:11 +08:00
halx99 678ed7ce51 Don't disable multi-touch in templates [skip ci][skip appveyor] 2023-09-27 20:12:07 +08:00
RH ef635f0649 Fix for missing scripts and resources in lua tests project (#1357)
* [MacOS] Several linker flags removed to fix executable

* Fix both Apple and Windows missing resources and scripts folders.

* Fix for lua project with prebuilt engine

* Remove usage of _AX_TOP_LEVEL for lua-tests project
2023-09-26 20:07:13 +08:00
Deal b892461a2b UWP: Migrating from C++/CX to C++/WinRT (#1355) 2023-09-26 00:11:33 +08:00
Deal 4f4f07ddc4 Add enable global TTF SDF rendering support (#1333) 2023-09-18 07:18:57 +08:00
halx99 f2470b99aa Android: Update AGP to 8.1.1
- jdk-17.x+ required
- gradle-bin 8.3
- Build-Tools 33.0.1
-  Delete package name from AndroidManifest.xml
- Add namespace "org.axmol.xxx" in 'app/build.gradle'
- Rename compileSdkVersion ==> compileSdk in 'app/build.gradle'
- Use rootProject.layout.buildDirectory instead rootProject.buildDir
- Android Studio 2022.3.1+
2023-09-12 01:13:06 +08:00