Debian Codegraph @

doc/PLATFORMS.md

raw symbols SCIP
1
2 # Platforms
3
4 _This is currently unfinished._
5
6 Use a cross-compiler, enable specific platform code with option:
7
8 ## Embedded Linux systems
9
10 * Pandora: `-DPANDORA=ON`
11 * GP2X Canoo: `-DCAANOO=ON`
12 * GP2X Wiz: `-DWIZ=ON`
13 * GP2X: `-DGP2X=ON`
14 * Dingoo: `-DDINGOO=ON`
15 * GameShell: `-DGAMESHELL=ON`
16
17 ## RISC OS
18
19 `-DRISCOS=ON`
20
21 ## Homebrew toolchains
22
23 Use the provided CMake Toolchain file or wrapper script:
24
25 ### Wii
26
27 `cmake -DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/Wii.cmake`
28
29 ### 3DS
30
31 `cmake -DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake`
32
33 ### Switch
34
35 `cmake -DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/Switch.cmake`
36
37 #### Additional options for 3DS and Switch:
38
39 * Embed a directory in the executable: `-DROMFS=ON`
40
41 ### PSP
42
43 Use `psp-cmake`.
44
45 ## Haiku
46
47 Works natively.
48
49 ## Windows
50
51 Works natively.
52
53 ## Web
54
55 Works with emscripten.
56
57 `emcmake cmake`