INSTALL.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. To compile and install SDL:
  2. 1. Windows with Visual Studio:
  3. * Read ./docs/README-visualc.md
  4. Windows building with mingw-w64 for x86:
  5. * Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install build
  6. Windows building with mingw-w64 for x64:
  7. * Run: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-x86_64.cmake && cmake --build build && cmake --install build
  8. macOS with Xcode:
  9. * Read docs/README-macos.md
  10. macOS from the command line:
  11. * Run: cmake -S . -B build && cmake --build build && cmake --install build
  12. Linux and other UNIX systems:
  13. * Run: cmake -S . -B build && cmake --build build && cmake --install build
  14. Android:
  15. * Read docs/README-android.md
  16. iOS:
  17. * Read docs/README-ios.md
  18. Using Cmake:
  19. * Read docs/README-cmake.md
  20. 2. Look at the example programs in ./test, and check out the online
  21. documentation at https://wiki.libsdl.org/
  22. 3. Join the SDL developer discussions, sign up on
  23. https://discourse.libsdl.org/
  24. and go to the development forum
  25. https://discourse.libsdl.org/c/sdl-development/6
  26. 4. Sign up for the announcement list through the web interface:
  27. https://www.libsdl.org/mailing-list.php
  28. That's it!
  29. Sam Lantinga <slouken@libsdl.org>