mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
Fixed swiched parameters in install
This commit is contained in:
parent
2de18021fc
commit
e8378d1e74
10
README.md
10
README.md
@ -38,12 +38,14 @@ First, install both meson (which requires Python3) and ninja.
|
|||||||
Then,
|
Then,
|
||||||
|
|
||||||
cd jsoncpp/
|
cd jsoncpp/
|
||||||
BUILD_TYPE=shared
|
BUILD_TYPE=debug
|
||||||
#BUILD_TYPE=static
|
#BUILD_TYPE=release
|
||||||
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
|
||||||
|
cd build-${LIB_TYPE}
|
||||||
|
sudo ninja install
|
||||||
|
|
||||||
### Building and testing with other build systems
|
### Building and testing with other build systems
|
||||||
See https://github.com/open-source-parsers/jsoncpp/wiki/Building
|
See https://github.com/open-source-parsers/jsoncpp/wiki/Building
|
||||||
|
Loading…
x
Reference in New Issue
Block a user