You can build BrabeNetz on 3 different ways, choose one:
Use NuGet (recommended)
- Open your Visual Studio C++ Project
- Navigate to
Tools
>NuGet Package Manager
>Manage NuGet Packages for Solution
- Search for "BrabeNetz"
- Click install
- Go to releases
- Download latest pre-built binaries
.zip
- Extract zip in your Solution
- Go to your Visual Studio Project's Properties
- Add path to
headers
toProperties
>C/C++
>General
>Additional include Directories
(should look like$(SolutionDir)headers;%(AdditionalIncludeDirectories)
) - Add path to
lib
toProperties
>Linker
>General
>Additional library Directories
(should look like$(SolutionDir)lib;%(AdditionalLibraryDirectories)
) - Add
"BrabeNetz.lib"
for Configuration Debug, andBrabeNetz_d.lib
for Release, toProperties
>Linker
>Input
>Additional Dependencies
(should look likeBrabeNetz.lib;%(AdditionalDependencies)
orBrabeNetz_d.lib;%(AdditionalDependencies)
)
- Clone the Project from GitHub:
git clone http://github.com/mrousavy/BrabeNetz
- Open Developer Commandprompt for Visual Studio and navigate to the
BrabeNetz\BrabeNetz
folder - Run
msbuild BrabeNetz.vcxproj /p:Configuration=Release /p:Platform=x64
(Use the configuration and platform you need) - Output files are now in
BrabeNetz\x64
orBrabeNetz\Win32
- Go to your Visual Studio Project's Properties
- Add path to
headers
toProperties
>C/C++
>General
>Additional include Directories
(should look like$(SolutionDir)headers;%(AdditionalIncludeDirectories)
) - Add path to
lib
toProperties
>Linker
>General
>Additional library Directories
(should look like$(SolutionDir)lib;%(AdditionalLibraryDirectories)
) - Add
"BrabeNetz.lib"
for Configuration Debug, andBrabeNetz_d.lib
for Release, toProperties
>Linker
>Input
>Additional Dependencies
(should look likeBrabeNetz.lib;%(AdditionalDependencies)
orBrabeNetz_d.lib;%(AdditionalDependencies)
)
- Run the
make.sh
script (Requirescmake
and a compiler) - Static Library is in cmake output directory:
libBrabeNetz.a