Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.04 KB

SETUP_WINDOWS.md

File metadata and controls

37 lines (29 loc) · 2.04 KB

Setting up Rubeus on Windows

Created by SDSLabs with ❤️

Setting up the build environment

  1. Install Microsoft Visual Studio 2017 or above
  2. Rubeus uses Visual Leak Detector v2.5.1 for catching memory leaks. Find it here. However, if you wish to not use this tool, just remove add_definitions(-DVLD) from /RubeusCore/CMakeLists.txt.
  3. Install CMake (preferably a version above or same as 3.11).
  4. Clone this repository:
$ git clone [email protected]:sdslabs/Rubeus.git

Initialising CMake

First build the Project Manager

  1. Navigate to Rubeus' cloned repository

In case you want to build both Rubeus Engine and Project Manager in one go without the GUI Run cmake -D_DEV=1 ./ Ignore warnings related to unused variables Note: The engine would be built with the previous project it was built or in case of the first run, with the ping pong example game

  1. Use the ProjectManager.exe GUI as shown in this tutorial

Setting up Rubeus source in Visual Studio 2017

  1. Open the newly generated RubeusCore.sln in the repository root folder inside Visual Studio. Right click on RubeusCore in Solution Explorer and select Set as StartUp project. Screenshot
  2. All .h files will be present in /RubeusCore/Include and all of their implementations(if any) will be present in /RubeusCore/Source as .cpp files. No need to edit CMakeLists.txt anywhere unless there are any linking errors popping up.

Building Rubeus in Visual Studio 2017

  1. Open RubeusCore.sln.
  2. Press F5. (Verify the build configuration to be either Debug or Release)

We are done! All libraries are relatively linked thus your project is ready to boot up in Visual Studio. Remember to go through the contribution guidelines for further guidance.