Sylvain PILLOT a2693e2f35 | ||
---|---|---|
cmake | ||
include | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
README.md | ||
TODO.txt | ||
giteapc.make |
README.md
Simple DirectMedia Layer SDL 1.2.15 sources for Casio Graph 90+E and Prizm CG10/20
Need to have a fully working gcc toolchain for SH3/SH4 architecture.
You can use the giteapc install Slyvtt/cSDL
command to get an automatic install
Using in a program
With CMake
find_package(cSDL 1.2.15 REQUIRED)
target_link_libraries(<TARGET> PRIVATE cSDL::cSDL)
With make, the following steps are not automatically done, so please proceed with the following manipulations :
- copy the library
libcSDL.a
into your SH3/SH4 compiler lib folder - copy all header files
*.h
in the include folderinclude/SDL
of the SH3/SH4 compiler - link with
-lcSDL
In the C/C++ sources #include <SDL/SDL.h>