fix gbenchmark on windows
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user