Skip to content

Commit

Permalink
Merge pull request blinry#14 from cxong/macos
Browse files Browse the repository at this point in the history
Update macOS build and add instructions
  • Loading branch information
bobvanderlinden authored Oct 20, 2022
2 parents ecf395c + 925e93e commit 0ab2e82
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 402 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ freegish
.vs/
.vscode/
CMakeFiles/
CMakeScripts/
Debug/
freegish.dir/
x64/
x86/
.DS_Store
8 changes: 8 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ Before being able to run from Visual Studio, the debug configuration has to be s

Now you just just start debugging like normal by pressing the run button or F5.

# How to compile (macOS)

Install development packages via homebrew:

brew install cmake sdl2 libvorbis openal-soft libpng

Configure the project using CMake, and compile + run with your compiler/IDE of choice.

# How to play

Simply run `./gish` or `gish.exe`. There are some assets included (codenamed the *FreeGish* project), making Gish a completely free game!
Expand Down
5 changes: 0 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ if(WIN32)
list(APPEND GISH_H video/glext.h)
endif(WIN32)

if(APPLE)
list(APPEND GISH_SRCS sdl/SDLMain.m)
list(APPEND GISH_H sdl/SDLMain.h)
endif(APPLE)

if(WIN32)
add_executable(freegish WIN32 ${GISH_SRCS} ${GISH_H})
else()
Expand Down
16 changes: 0 additions & 16 deletions src/sdl/SDLMain.h

This file was deleted.

Loading

0 comments on commit 0ab2e82

Please sign in to comment.