Build system and instructions copied from SasLuca/raylib-cpp-cmake-template
You need to install Emscripten Download Here!
- Clone the repository using Git. Execute this in a terminal:
git clone https://github.com/gavinskycastle/WorkingTitle.git
- Cd into WorkingTitle.
cd WorkingTitle
- Install the required build tools (for example on Arch, type
sudo pacman -S cmake make gcc
) - Install the raylib git submodule using
git submodule update --init --recursive --depth=1
- Make a build folder. Your builds will go here.
mkdir build; cd build
- Setup cmake
emcmake cmake -S .. -D CMAKE_BUILD_TYPE=Release
- Run
cmake --build build
to compile the project - Run a local web server and open the WorkingTitle.html
- Clone the repository using
git clone https://github.com/gavinskycastle/WorkingTitle.git
- Move to the WorkingTitle directory
cd WorkingTitle
- Install the raylib git submodule using
git submodule update --init --recursive --depth=1
- Install the required build tools (for example on Arch, type
sudo pacman -S cmake make gcc
) - Make a build folder and cd to it with
mkdir build && cd build
- Setup cmake
cmake .. -DCMAKE_BUILD_TYPE=Release
- Run
make
to compile the project - Make the binary executable
chmod +x WorkingTitle
- Run the binary with
./WorkingTitle
You need to install MinGW. Select make and developer tools in the installer Download MinGW here!
- Clone the repository using Git. Execute this in a terminal:
git clone https://github.com/gavinskycastle/WorkingTitle.git
- Cd into WorkingTitle.
cd WorkingTitle
- Install the raylib git submodule using
git submodule update --init --recursive --depth=1
- Make a build folder. Your builds will go here.
mkdir build; cd build
- Setup CMake. Make sure to define MinGW Makefiles if you are using MinGW!
cmake .. -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles"
- Make sure you have mingw32-make. If you do, just run it in the build directory and it will start compiling everything. It won't take long, and once it's finished, then
- Run WorkingTitle.exe! You have just compiled WorkingTitle for Windows using MinGW.
You need to have Visual Studio 2019 (other versions aren't tested, please tell us if it works for you) with C++ Development selected in the installer.
- Clone the repository using Git. Execute this in a terminal:
git clone https://github.com/gavinskycastle/WorkingTitle.git
- Cd into WorkingTitle.
cd WorkingTitle
- Install the raylib git submodule using
git submodule update --init --recursive --depth=1
- Make a build folder. Your builds will go here.
mkdir build; cd build
- Setup CMake.
cmake .. -DCMAKE_BUILD_TYPE=Release
- Let's build the project! Run
cmake --build .
- Go into Debug, your build of WorkingTitle is there. You have now compiled WorkingTitle for Windows using MSVC.