Skip to content

Latest commit

 

History

History
135 lines (106 loc) · 2.83 KB

BUILDING.md

File metadata and controls

135 lines (106 loc) · 2.83 KB

Installation

Windows

  1. Clone the repository:

    git clone --recursive https://github.com/ggjorven/Pulse.git
    cd Pulse
  2. Navigate to the scripts folder:

    cd scripts/windows
  3. Choose what you want it build to:

    • Visual Studio 17 2022:
      ./gen-vs2022.bat
    • MinGW make files:
      ./gen-make.bat

Linux

  1. Clone the repository:

    git clone --recursive https://github.com/ggjorven/Pulse.git
    cd Pulse
  2. Navigate to the scripts folder:

    cd scripts/linux
  3. (Optional) If you haven't already installed the premake5 build system you can install it like this:

    chmod +x install-premake5.sh
    ./install-premake5.sh
  4. Generate make files:

    chmod +x gen-make.sh
    ./gen-make.sh

MacOS

  1. Clone the repository:

    git clone --recursive https://github.com/ggjorven/Pulse.git
    cd Pulse
  2. Navigate to the scripts folder:

    cd scripts/macos
  3. (Optional) If you haven't already installed the premake5 build system you can install it like this:

    chmod +x install-premake5.sh
    ./install-premake5.sh
  4. Generate make files:

    chmod +x gen-xcode.sh
    ./gen-xcode.sh

Building

Windows

  • Visual Studio 17 2022:

    1. Navigate to the root of the directory

    2. Open the Pulse.sln file

    3. Start building in your desired configuration

    4. Build files can be in the bin/%Config%-windows/ folder.

    5. (Optional) Open a terminal and run the Sandbox project:

      ./Sandbox.exe
  • MinGW Make:

    1. Navigate to the root of the directory

    2. Open a terminal.

    3. Call make with desired configuration (debug, release or dist):

      make config=release
    4. Build files can be in the bin/%Config%-linux/ folder.

    5. (Optional) Open a terminal and run the Sandbox project:

      ./Sandbox.exe

Linux

  1. Navigate to the root of the directory

  2. Open a terminal

  3. Call make with desired configuration (debug, release or dist):

    make config=release
  4. Build files can be in the bin/%Config%-linux/ folder.

  5. (Optional) Open a terminal and run the Sandbox project:

    chmod +x Sandbox
    ./Sandbox

MacOS

  1. Navigate to the root of the directory

  2. Open the Pulse.xcworkspace file

  3. Start building in your desired configuration

  4. Build files can be in the bin/%Config%-macosx/ folder.

  5. (Optional) Open a terminal and run the Sandbox project:

    chmod +x Sandbox
    ./Sandbox