Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the build directory? #9

Open
rhyancm opened this issue Mar 8, 2023 · 1 comment
Open

Where is the build directory? #9

rhyancm opened this issue Mar 8, 2023 · 1 comment

Comments

@rhyancm
Copy link

rhyancm commented Mar 8, 2023

Where is the build directory? I am not locating to add in cmake

@Tofunmi1
Copy link

Tofunmi1 commented Mar 11, 2023

  • hey, just do this for linux and mac
touch install.sh
  • then copy this into install.sh
#!/bin/sh -e

mkdir -p build && cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make
  • then to give permission to the bash file
chmod +x install.sh
  • make sure to install SFML for linux and mac
  • for mac
brew install sfml
  • then
./install.sh
  • a binary would be created in the build folder, just run the binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants