Skip to content

Commit

Permalink
build windows debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Mar 27, 2024
1 parent c4d7409 commit b33de5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ cmake \
-G "Visual Studio 17 2022" -A x64 \
-DPYTHON_VERSION=${PYTHON_FULL_VER} \
-DPORTABLE_PYTHON_BUILD=ON \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_BUILD_TYPE:STRING=Debug \
-DCMAKE_INSTALL_PREFIX:PATH=${BUILDDIR}/python-install \
-DBUILD_EXTENSIONS_AS_BUILTIN=OFF \
-DBUILD_LIBPYTHON_SHARED=ON \
Expand All @@ -161,8 +161,8 @@ cmake \
-DLibFFI_INCLUDE_DIR:PATH=${DEPSDIR}/libffi/include \
-DLibFFI_LIBRARY:FILEPATH=${DEPSDIR}/libffi/lib/ffi_static.lib \
../portable-python-cmake-buildsystem
cmake --build . --config Release -- /property:Configuration=Release
cmake --build . --target INSTALL -- /property:Configuration=Release
cmake --build . --config Debug -- /property:Configuration=Debug
cmake --build . --target INSTALL -- /property:Configuration=Debug
cp -r ${LICENSEDIR} ${BUILDDIR}/python-install
cd ${BUILDDIR}

Expand Down

0 comments on commit b33de5a

Please sign in to comment.