fix gbenchmark on windows
This commit is contained in:
@@ -80,14 +80,22 @@ elif [ "${machineArch}" = "Windows" ]; then
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$libInstallPath/release \
|
||||
-G "Visual Studio 16 2019" \
|
||||
-A x64 \
|
||||
$libSrcPath && \
|
||||
cmake \
|
||||
--build . \
|
||||
--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 \
|
||||
--build . \
|
||||
--config Debug \
|
||||
|
||||
Reference in New Issue
Block a user