summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/jsoncpp/dev.makefile
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/jsoncpp/dev.makefile')
-rw-r--r--3rdparty/jsoncpp/dev.makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/3rdparty/jsoncpp/dev.makefile b/3rdparty/jsoncpp/dev.makefile
new file mode 100644
index 00000000000..dd16bdd6ef9
--- /dev/null
+++ b/3rdparty/jsoncpp/dev.makefile
@@ -0,0 +1,14 @@
+all: build test-amalgamate
+
+build:
+ mkdir -p build/debug
+ cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G "Unix Makefiles" ../..
+ make -C build/debug
+
+# Currently, this depends on include/json/version.h generated
+# by cmake.
+test-amalgamate: build
+ python2.7 amalgamate.py
+ python3.4 amalgamate.py
+
+.PHONY: build