Adding Playdate compile instructions to the project

This commit is contained in:
Rezmason
2022-09-05 02:35:22 -07:00
parent 33edffc99c
commit f66f8232d9

15
playdate/INSTRUCTIONS.md Normal file
View File

@@ -0,0 +1,15 @@
C project
To run in the simulator:
cd ./build
rm -R ../ThePlaytrix.pdx ./*
cmake ..
make
To run on the device:
cd ./build-device
rm -R ../ThePlaytrix.pdx ./*
cmake -DCMAKE_TOOLCHAIN_FILE=${PLAYDATE_SDK_PATH}/C_API/buildsupport/arm.cmake -DCMAKE_BUILD_TYPE=Release ..
make
Lua project
pdc -s Source ThePlaytrixLua.pdx