mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 10:41:03 +08:00
makefile for simple testing
This is hard to use within Travis-ci.com because that uses build variants.
This commit is contained in:
parent
b7894977e7
commit
d2fa664a12
14
dev.makefile
Normal file
14
dev.makefile
Normal file
@ -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=OFF -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
|
Loading…
x
Reference in New Issue
Block a user