Skip to content

Saggre/just-some-graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just some graphics

Build Status

Building a new release with GitHub Actions

  • git tag <tag>
  • git push origin <tag>

Building manually

Supports building for Linux and Windows, but binaries can only be built on Linux.

Build requirements

sudo apt-get update
sudo apt-get -y install cmake python
sudo apt-get -y install build-essential libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev libsdl2-image-dev

Additional requirements for Windows:

sudo apt-get -y install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64

Building for Linux

With a build script

cd <root-dir> # Run in project root dir
./scripts/build.sh --linux --dependencies -v
cd <root-dir>/build/bin # Binary will be located here

Flag --dependencies builds all dependencies. Subsequent builds can omit this flag to speed up the build process significantly.

Building for Windows

With a build script

cd <root-dir> # Run in project root dir
./scripts/build.sh --windows --dependencies -v
cd <root-dir>/build/bin # Binary will be located here

Flag --dependencies builds all dependencies. Subsequent builds can omit this flag to speed up the build process significantly.

Development

IntelliJ example build configuration for Linux development

JetBrains build configuration!