This project requires the following:
- C++ >= 17
- CMake >= 3.24
- Boost >= 1.72
- GoogleTest
-
Clone the repository.
git clone https://csil-git1.cs.sfu.ca/373-23-3-gobstopper/social-gaming.git
-
Create a new directory for the build (outside of the source code).
mkdir social-gaming-build
-
Switch into the build directory.
cd social-gaming-build
-
Run CMake with the path to the project.
cmake ../social-gaming/
-
Run make inside the build directory to build the project.
make
After running make, the target executables will be built and placed in ./bin.
From within the build directory, after running make, run the main
executable
./bin/main
Run all tests.
./bin/runAllTests
From within the build directory, after running make, run the server
executable
./bin/server 8000
To add clients to join, run the client
executable
./bin/client localhost 8000