Repository navigation
Installation
Dmitry Koplyarov edited this page May 17, 2016
·
6 revisions
Wigwag is a header-only library, so you just have to download it via git or as an archive, put it inside your project directory, and set the include path.
C++11-compatible-enough compiler should be ok.
Here are the minimal compiler versions that have been tested for being able to build wigwag:
- GCC 4.8
- Clang 3.5
- Visual C++ 2013
Add https://github.com/koplyarov/wigwag.git as a submodule
cd $PROJECT_DIR
git submodule add https://github.com/koplyarov/wigwag.git ./thirdparty/wigwag
git submodule update
Add https://github.com/koplyarov/wigwag.git as a subrepository
cd $PROJECT_DIR
echo "thirdparty/wigwag = [git]https://github.com/koplyarov/wigwag.git" >> .hgsub
hg add .hgsub
git clone https://github.com/koplyarov/wigwag.git thirdparty/wigwag
Add https://github.com/koplyarov/wigwag/trunk to the svn:externals property
cd $PROJECT_DIR
svn propget svn:externals . | head -c -1 > svn:externals.prop
echo "thirdparty/wigwag https://github.com/koplyarov/wigwag/trunk" >> svn:externals.prop
svn propset svn:externals -F svn:externals.prop .
rm svn:externals.prop
svn commit
svn up
Download and unzip https://github.com/koplyarov/wigwag/archive/master.zip
cd $PROJECT_DIR
wget https://github.com/koplyarov/wigwag/archive/master.zip
unzip -d thirdparty master.zip
mv thirdparty/wigwag-master thirdparty/wigwag
rm master.zip
You should add the wigwag/include directory to your project include paths. This is how it looks like in CMake:
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/wigwag/include)