Kokoro: Split linux cmake cfgs into static/shared

Allows for testing of generation of both static libraries and shared objects.

The old configs are staying in place until I'm confident everything is working correctly.

Issues: #1421, #1484, #2283
This commit is contained in:
Ben Clayton
2020-06-24 14:16:17 +01:00
parent fbb9dc2cf1
commit 40e1ae11f4
12 changed files with 324 additions and 2 deletions

View File

@@ -46,5 +46,5 @@ using ninja-1.10.0
echo "Building..."
mkdir /build && cd /build
cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install"
cmake "$ROOT_DIR" -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS
ninja install