BUILD_TYPE and LIB_TYPE were switched. Make choices clearer

Ben Auffarth 2018-01-09 15:55:49 +00:00
parent 04c7242e10
commit ff0539eb7e

@ -6,10 +6,10 @@ First, install both meson (which requires Python3) and ninja.
Then, Then,
cd jsoncpp/ cd jsoncpp/
BUILD_TYPE=shared BUILD_TYPE=release
#BUILD_TYPE=static #plain, debug, debugoptimized, release, minsize
LIB_TYPE=debug LIB_TYPE=shared
#LIB_TYPE=release #LIB_TYPE=static
meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE} meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE}
ninja -v -C build-${LIB_TYPE} test ninja -v -C build-${LIB_TYPE} test