Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 2.4 KB

BUILD.md

File metadata and controls

35 lines (28 loc) · 2.4 KB

BrabeNetz - Build Instructions

You can build BrabeNetz on 3 different ways, choose one:

Use NuGet (recommended)

  1. Open your Visual Studio C++ Project
  2. Navigate to Tools>NuGet Package Manager>Manage NuGet Packages for Solution
  3. Search for "BrabeNetz"
  4. Click install

Download pre-built

  1. Go to releases
  2. Download latest pre-built binaries .zip
  3. Extract zip in your Solution
  4. Go to your Visual Studio Project's Properties
  5. Add path to headers to Properties>C/C++>General>Additional include Directories (should look like $(SolutionDir)headers;%(AdditionalIncludeDirectories))
  6. Add path to lib to Properties>Linker>General>Additional library Directories (should look like $(SolutionDir)lib;%(AdditionalLibraryDirectories))
  7. Add "BrabeNetz.lib" for Configuration Debug, and BrabeNetz_d.lib for Release, to Properties>Linker>Input>Additional Dependencies (should look like BrabeNetz.lib;%(AdditionalDependencies) or BrabeNetz_d.lib;%(AdditionalDependencies))

Manually

  1. Clone the Project from GitHub: git clone http://github.com/mrousavy/BrabeNetz

Windows (MSVC)

  1. Open Developer Commandprompt for Visual Studio and navigate to the BrabeNetz\BrabeNetz folder
  2. Run msbuild BrabeNetz.vcxproj /p:Configuration=Release /p:Platform=x64 (Use the configuration and platform you need)
  3. Output files are now in BrabeNetz\x64 or BrabeNetz\Win32
  4. Go to your Visual Studio Project's Properties
  5. Add path to headers to Properties>C/C++>General>Additional include Directories (should look like $(SolutionDir)headers;%(AdditionalIncludeDirectories))
  6. Add path to lib to Properties>Linker>General>Additional library Directories (should look like $(SolutionDir)lib;%(AdditionalLibraryDirectories))
  7. Add "BrabeNetz.lib" for Configuration Debug, and BrabeNetz_d.lib for Release, to Properties>Linker>Input>Additional Dependencies (should look like BrabeNetz.lib;%(AdditionalDependencies) or BrabeNetz_d.lib;%(AdditionalDependencies))

Linux, Unix, Darwin (CMake)

  1. Run the make.sh script (Requires cmake and a compiler)
  2. Static Library is in cmake output directory: libBrabeNetz.a