fix gbenchmark on windows

This commit is contained in:
Bassem Girgis
2019-08-15 02:39:35 -05:00
parent e3956fe726
commit 0ccca05a50

View File

@@ -80,14 +80,22 @@ elif [ "${machineArch}" = "Windows" ]; then
cmake \ cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \ -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \ -DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/release \
-G "Visual Studio 16 2019" \ -G "Visual Studio 16 2019" \
-A x64 \ -A x64 \
$libSrcPath && \ $libSrcPath && \
cmake \ cmake \
--build . \ --build . \
--config Release \ --config Release \
--target INSTALL && \ --target INSTALL)
( cd $libBuildPath && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/debug \
-G "Visual Studio 16 2019" \
-A x64 \
$libSrcPath && \
cmake \ cmake \
--build . \ --build . \
--config Debug \ --config Debug \