make
doxygen
graphviz
- Terminal access
- Typical GNU compatible development tools (e.g.
clang
,g++
,c++
,ar
etc) with C++11 support
make
(default) - Compile library & self-test programmake lib
- Compile librarymake test_program
- Compile self-test programmake clean
- Remove all object files, compiled programsmake docs
- Generate documentationmake clean_docs
- Remove all documentation
- Visual Studio Community 2015 or 2017 or 2019
- Doxygen
- Graphviz (make sure to download the GUI)
- Add the location of the Graphviz
bin
directory to$(PATH)
or create a separate enviroment variable$(DOT_PATH)
for it.
- Add the location of the Graphviz
- Open
build/visualstudio/libtoolchain.sln
in Visual Studio - Select Target (e.g
Debug
|Release
&x86
|x64
) - Navigate to
Build
->Build Solution
- Clone
libtoolchain
as a submodule into your project - Navigate to the
Solution Explorer
window - Right-click on the Solution Item and select
Add
->Existing Project...
- In the filesystem popup window open
<libtoolchain location>/build/visualstudio/libtoolchain/libtoolchain.vcxproj
- Update each dependant project's
References
to include libtoolchain - Update each dependant project's
Property Pages
so that forAll Configurations
andAll Platforms
theAddition Include Directories
has the relative path to<libtoolchain location>/include
- Update the
Project Build Order
so libtoolchain is built before any of its dependants - Update the
Project Dependencies
so that each dependant has the box checked for libtoolchain
- Open
Doxywizard
- Under
Step 1
specify the directory of libtoolchain as the working directory - This should open the Doxyfile and pre-fill all the configuration
- Under
Step 2
navigate toRun
and pressRun doxygen