1kiss icon indicating copy to clipboard operation
1kiss copied to clipboard

Building opensources for multi-platforms with github actions.

1kiss (1k)

A cross-platform one-click build tool written in PowerShell thats support auto setup general dependent tools(cmake,google gn,ndk,android-sdk,emsdk,ninja,llvm,msvc,xcodebuild,emsdk,...)
The cross-platform build become so easy if you're using 1k!

Best practice:Axmol

for example, if you use git to clone axmol(~80MB) and run it's setup.ps1, then goto root directory of your cmake based project and run:

axmol -p android -a arm64 can build android on any host OS(macOS, Linux, Windows)

Used by

Release build dist Downloads

OSS

  • zlib
  • openssl
  • jpeg-turbo
  • curl
  • luajit
  • angle - Windows Only
  • c-ares
  • dawn - The google WebGPU c++ implementation, test on Windows only, not built on Github Actions
  • llvm - Not built yet

Notes

  • Since v81, use xcframework for apple platforms

Build Targets:

  • osx:
    • arm64 (M1+)
    • x86_64
  • linux: x86_64
  • ios:
    • arm64
    • arm64 simulator
    • x86_64 simulator
  • tvos:
    • arm64
    • arm64 simulator
    • x86_64 simulator
  • android
    • armv7
    • arm64
    • x86 (DEPRECATED)
    • x86_64
  • win32 (Windows Desktop Apps)
    • x86 (DEPRECATED)
    • x86_64
  • winrt/winuwp (Windows Universal Apps)
    • x86_64
    • arm64

refers

  • cppwinrt: Since axmol-2.1-LTS: migrate from C++/CX to cppwinrt for breaking c++ standard limition, benefits to use c++20 on all target platforms.
  • chrome releases: https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=1