update google scripts to build debug versions
This commit is contained in:
@@ -47,6 +47,13 @@ if [ "${machineArch}" = "Linux" ]; then
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
||||
$libSrcPath && \
|
||||
make install -j)
|
||||
( cd $libBuildPath && \
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
||||
$libSrcPath && \
|
||||
make install -j)
|
||||
elif [ "${machineArch}" = "MacOS" ]; then
|
||||
( cd $libBuildPath && \
|
||||
cmake \
|
||||
@@ -55,6 +62,13 @@ elif [ "${machineArch}" = "MacOS" ]; then
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
||||
$libSrcPath && \
|
||||
make install -j)
|
||||
( cd $libBuildPath && \
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
-DBUILD_SHARED_LIBS:BOOL=TRUE \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
||||
$libSrcPath && \
|
||||
make install -j)
|
||||
elif [ "${machineArch}" = "Windows" ]; then
|
||||
( cd $libBuildPath && \
|
||||
cmake \
|
||||
@@ -67,6 +81,10 @@ elif [ "${machineArch}" = "Windows" ]; then
|
||||
cmake \
|
||||
--build . \
|
||||
--config Release \
|
||||
--target INSTALL && \
|
||||
cmake \
|
||||
--build . \
|
||||
--config Debug \
|
||||
--target INSTALL)
|
||||
else
|
||||
echo "unknown architecture"
|
||||
|
||||
Reference in New Issue
Block a user