libjansson: initial import default tip @

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
parent 33
fa3b70c5e686

libjansson: initial import

libjansson.md file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libjansson.md	Thu Apr 08 14:25:10 2021 +0200
@@ -0,0 +1,52 @@
+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