Skip to content

christiannicola/scratch

 
 

Repository files navigation

scratch

Windows Instructions:

Visual Studio 2022:

  • git clone https://github.com/britown88/scratch.git
  • cd scratch
  • git submodule update --init
  • Open scratch.sln in Visual Studio 2022
  • Click The Green Local Windows Debugger button top center
  • Start coding in scratch/main.cpp

Microsoft C++ Build Tools:

  • Install Microsoft C++ Build Tools
  • Run the Visual Studio Tools Command Prompt of your choice
  • git clone https://github.com/britown88/scratch.git
  • cd scratch
  • git submodule update --init
  • msbuild /m /t:Clean,Build /p:Configuration=Release /p:Platform=x64 scratch.sln

Notes:

  • Platform can be Win32 or x64
  • Configuration can be Debug or Release
  • The scratch.exe binary will end up in the %Platform%\%Configuration% directory

Msys2:

  • Install Msys2
  • Run your preferred MSYS2 MinGW environment
  • Install prerequisites: pacman -S git make ${MINGW_PACKAGE_PREFIX}-gcc ${MINGW_PACKAGE_PREFIX}-SDL2
  • git clone https://github.com/britown88/scratch.git
  • cd scratch
  • git submodule update --init
  • make -j$(nproc)
  • The scratch.exe binary will end up in the bin/ directory

Ubuntu/Debian Linux Instructions:

  • Install prerequisites: sudo apt-get install git build-essential libsdl2-dev
  • git clone https://github.com/britown88/scratch.git
  • cd scratch
  • git submodule update --init
  • make -j$(nproc)
  • The scratch binary will end up in the bin/ directory

macOS Instructions:

  • Install prerequisites: brew install git make gcc sdl2 coreutils
  • git clone https://github.com/britown88/scratch.git
  • cd scratch
  • git submodule update --init
  • make -j$(nproc)
  • The scratch binary will end up in the bin/ directory

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 65.8%
  • C 30.2%
  • Makefile 4.0%