This project uses CMake for build management. Below are instructions for compiling and running on Linux and Windows.
- CMake (>= 3.10)
- Compiler:
- Linux →
gcc
org++
- Windows →
MinGW
orMSVC
- Linux →
- Git (optional, if you want to clone the project directly)
# Clone the project (if you haven't already)
git clone https://github.com/luisgomes2002/Chess-OpenGL.git
cd projeto
# Create build folder
mkdir build && cd build
# Generate build files
cmake ..
# Compile
cmake --build .
# Run the program
./chess.exe
# Clone the project
git clone https://github.com/luisgomes2002/Chess-OpenGL.git
cd projeto
# Create build folder
mkdir build
cd build
# Generate build files
cmake .. -G "MinGW Makefiles"
# Compile
cmake --build .
# Run the program
./chess.exe