10 lines
400 B
Bash
10 lines
400 B
Bash
|
|
# TODO: port this to nimscript
|
|
# TODO: modify the CMake file instead of copying to clipboard
|
|
|
|
# Build for android like this:
|
|
# nim c -c --os:android --cpu:arm64 src/main.nim
|
|
# and then run this script to update the files in CMakeLists.txt
|
|
# (the result will be copied to clipboard)
|
|
OUT_NAME=game
|
|
cat tmp/android/${OUT_NAME}.json|grep '\.\(c\|cpp\)",' | sed -e 's/,$//' -e 's/@/\\@/g' | xsel -b
|