tanzh
2024-09-27 0179a5c4855513427205007d983ec47eba6a13f6
1
2
3
4
5
6
7
8
9
10
11
12
13
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