diff --git a/CMake/build_win.bat b/CMake/build_win.bat index b7e0e7001..4e9676c9a 100644 --- a/CMake/build_win.bat +++ b/CMake/build_win.bat @@ -1,3 +1,4 @@ +@echo on REM setup compiler call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" @@ -29,11 +30,13 @@ cmake --build . --target INSTALL --config RelWithDebInfo cmake --build . --target deploy --config RelWithDebInfo if %DEPLOY_GITHUB%==1 ( + echo "Deploying to github enabled" cmake --build . --target sdist --config RelWithDebInfo "%PYTHON_EXECUTABLE%" -c "import os;import glob;filename=glob.glob('install/dist/*.zip')[0];os.rename(filename,filename.replace('.zip','.win_amd64.zip'))" ) if %DEPLOY_PYPI%==1 ( + echo "Deploying to pypi enabled" cmake --build . --target bdist_wheel --config RelWithDebInfo cmake --build . --target pypi --config RelWithDebInfo ) \ No newline at end of file