libjansson.md

Thu, 08 Apr 2021 14:25:10 +0200

author
David Demelier <markand@malikania.fr>
date
Thu, 08 Apr 2021 14:25:10 +0200
changeset 34
8d6e7b578d3f
permissions
-rw-r--r--

libjansson: initial import

Build libjansson
=================

Version:    2.14.1
Date:       20210408

Download
--------

- https://digip.org/jansson/releases/jansson-2.13.1.tar.gz

Dependencies
------------

- [CMake](https://cmake.org).

Configure
---------

### Visual Studio (debug)

    mkdir build
    cd build
    cmake ..
        -DCMAKE_BUILD_TYPE=Debug
        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
        -DJANSSON_BUILD_SHARED_LIBS=True
        -DJANSSON_EXAMPLES=Off
        -DJANSSON_BUILD_DOCS=Off
        -DJANSSON_WITHOUT_TESTS=On
        -G"NMake Makefiles"

### Visual Studio (release)

    mkdir build
    cd build
    cmake ..
        -DCMAKE_BUILD_TYPE=Release
        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
        -DJANSSON_BUILD_SHARED_LIBS=True
        -DJANSSON_EXAMPLES=Off
        -DJANSSON_BUILD_DOCS=Off
        -DJANSSON_WITHOUT_TESTS=On
        -G"NMake Makefiles"

Build
-----

### Visual Studio

    nmake
    nmake install

mercurial