The instructions for using cmake to build a project do not seem to work with the Hello World example:
$ cd /tmp
$ cp -r $PLAYDATE_SDK_PATH/C_API/Examples/Hello\ World .
$ cd Hello\ World
$ mkdir build
$ cd build
$ cmake ..
Produces the error
-- The C compiler identification is GNU 11.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- SDK Path: /store/sheldon/opt/PlaydateSDK
-- Configuring done
CMake Error at CMakeLists.txt:36 (add_library):
Cannot find source file:
src/main.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:36 (add_library):
No SOURCES given to target: hello_world
CMake Generate step failed. Build files cannot be regenerated correctly.