Skip to content

Commit

Permalink
Drop Window XP (rime#710)
Browse files Browse the repository at this point in the history
* drop windows xp

* fix mingw artifact ref name

---------

Co-authored-by: wxyzhen <wxyzhen@gmail.com>
  • Loading branch information
2 people authored and graphemecluster committed Sep 8, 2023
1 parent 687dc80 commit fb48cf9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ jobs:
mingw-w64-x86_64-marisa \
mingw-w64-x86_64-opencc
- name: Configure build environment
run: |
echo git_ref_name="$(git describe --always)" >> $GITHUB_ENV
- name: Install Rime plugins
run: ./action-install-plugins-macos.sh

Expand Down
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,7 @@ if(MSVC)
# https://stackoverflow.com/a/31264946
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
if(MSVC10)
# stdint.h is missing from VS2010
include_directories(${PROJECT_SOURCE_DIR}/include/msvc)
endif()
# Force Boost.Uuid to use wincrypt as random provider instead of bcrypt for Windows XP compatibility
add_definitions("/wd4244 /wd4996 /DBOOST_UUID_RANDOM_PROVIDER_FORCE_WINCRYPT")
add_definitions("/wd4244 /wd4996")
endif()

if(UNIX)
Expand Down
3 changes: 0 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ if not exist env.bat copy env.bat.template env.bat

if exist env.bat call .\env.bat

rem for Windows XP compatibility (Visual Studio 2015+)
set CL=/Zc:threadSafeInit-

set OLD_PATH=%PATH%
if defined DEVTOOLS_PATH set PATH=%OLD_PATH%;%DEVTOOLS_PATH%
path
Expand Down
15 changes: 0 additions & 15 deletions env.vs2017_xp.bat

This file was deleted.

0 comments on commit fb48cf9

Please sign in to comment.