Skip to content

Commit b7fdc53

Browse files
fixed type in GTEST_INCLUDE
1 parent e654c1f commit b7fdc53

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/build_for_develop.bat

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,21 @@ for /f "delims=" %%a in ('%CONDA_PREFIX%\python.exe -c "import distutils.sysconf
2424

2525
cmake -G Ninja ^
2626
-DCMAKE_BUILD_TYPE=Debug ^
27+
"-DCMAKE_CXX_FLAGS=-Wno-unused-function" ^
2728
"-DCMAKE_INSTALL_PREFIX=%INSTALL_PREFIX%" ^
2829
"-DCMAKE_PREFIX_PATH=%INSTALL_PREFIX%" ^
2930
"-DDPCPP_ROOT=%DPCPP_ROOT%" ^
3031
"-DPYTHON_INCLUDE_DIR=%PYTHON_INC%" ^
31-
"-DGTEST_INCLUDE_DIR=%CONDA_PREFIX\Library\include" ^
32+
"-DGTEST_INCLUDE_DIR=%CONDA_PREFIX%\Library\include" ^
3233
"-DGTEST_LIB_DIR=%CONDA_PREFIX%\Library\lib" ^
3334
"-DNUMPY_INCLUDE_DIR=%NUMPY_DIR%" ^
3435
"%cd%\..\backends"
3536
IF %ERRORLEVEL% NEQ 0 exit /b 1
3637

37-
ninja -n
38+
ninja -n
39+
IF %ERRORLEVEL% NEQ 0 exit /b 1
40+
ninja check
41+
IF %ERRORLEVEL% NEQ 0 exit /b 1
3842
ninja install
3943
IF %ERRORLEVEL% NEQ 0 exit /b 1
4044

0 commit comments

Comments
 (0)