mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-12 18:10:27 +01:00
Try the way I build locally
This commit is contained in:
parent
473afca1e3
commit
c59db80002
@ -45,8 +45,10 @@ Then,
|
|||||||
LIB_TYPE=shared
|
LIB_TYPE=shared
|
||||||
#LIB_TYPE=static
|
#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 # This stopped working on my Mac.
|
||||||
|
ninja -v -C build-${LIB_TYPE}
|
||||||
cd build-${LIB_TYPE}
|
cd build-${LIB_TYPE}
|
||||||
|
meson test --no-rebuild --print-errorlogs
|
||||||
sudo ninja install
|
sudo ninja install
|
||||||
|
|
||||||
### Building and testing with other build systems
|
### Building and testing with other build systems
|
||||||
|
@ -21,5 +21,8 @@ meson --version
|
|||||||
ninja --version
|
ninja --version
|
||||||
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}
|
ninja -v -C build-${LIB_TYPE}
|
||||||
ninja -v -C build-${LIB_TYPE} test
|
#ninja -v -C build-${LIB_TYPE} test
|
||||||
|
cd build-${LIB_TYPE}
|
||||||
|
meson test --no-rebuild --print-errorlogs
|
||||||
|
cd -
|
||||||
rm -r build-${LIB_TYPE}
|
rm -r build-${LIB_TYPE}
|
||||||
|
Loading…
Reference in New Issue
Block a user