diff --git a/README-windows.md b/README-windows.md index 99186a8f8..4a6f2d930 100644 --- a/README-windows.md +++ b/README-windows.md @@ -7,10 +7,12 @@ librime is tested to work on Windows with the following build tools and librarie - Visual Studio 2015 - [Boost](http://www.boost.org/)>=1.60 - [cmake](http://www.cmake.org/)>=2.8 + +[Python](https://python.org)>=2.7 is needed to build opencc dictionaries. You may need to update Boost when using a higher version of VS. -You can also build third-party libraries manually without them, by following instructions in the build script. +You can also build third-party libraries manually, by following instructions in the build script. Get the code --- @@ -21,11 +23,12 @@ or [download from GitHub](https://github.com/rime/librime). Setup a build environment --- -Copy `env.bat` from `env.bat.template` and edit the script according to your setup. -Specifically, make sure `BOOST_ROOT` is set to the path where you extracted Boost source; -modify `*_INSTALL_PATH` if you've installed build tools in a custom location. +Copy `env.bat.template` to `env.bat` and edit the script according to your setup. +Specifically, make sure `BOOST_ROOT` is set to the path to Boost source directory; +modify `CMAKE_GENERATOR` and `PLATFORM_TOOLSET` if using a different version of Visual Studio; +set `DEVTOOLS_PATH` for build tools installed to a custom location. -When finished, run `shell.bat` to complete the following steps in a prepared command prompt. +When prepared, run the following commands in a Developer Command Prompt window. Build Boost --- diff --git a/appveyor.yml b/appveyor.yml index b04f7d482..9beb42b74 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,7 +21,6 @@ cache: init: - git --version - cmake --version - - msbuild /version - git config --global core.autocrlf true install: diff --git a/build.bat b/build.bat index bb3712336..0407e849b 100644 --- a/build.bat +++ b/build.bat @@ -1,14 +1,17 @@ @echo off rem Rime build script for msvc toolchain. -rem 2014-12-30 Chen Gong +rem Maintainer: Chen Gong setlocal set BACK=%CD% 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 DEV_PATH set PATH=%OLD_PATH%;%DEV_PATH% +if defined DEVTOOLS_PATH set PATH=%OLD_PATH%;%DEVTOOLS_PATH% path echo. @@ -16,16 +19,34 @@ if not defined RIME_ROOT set RIME_ROOT=%CD% echo RIME_ROOT=%RIME_ROOT% echo. +if defined BOOST_ROOT ( + if exist "%BOOST_ROOT%\boost" goto boost_found +) +echo Error: Boost not found! Please set BOOST_ROOT in env.bat. +exit /b 1 +:boost_found echo BOOST_ROOT=%BOOST_ROOT% echo. -if defined CMAKE_INSTALL_PATH set PATH=%PATH%;%CMAKE_INSTALL_PATH% +if not defined BJAM_TOOLSET ( + rem the number actually means platform toolset, not %VisualStudioVersion% + set BJAM_TOOLSET=msvc-14.0 +) + +if not defined CMAKE_GENERATOR ( + set CMAKE_GENERATOR="Visual Studio 14 2015" +) + +if not defined PLATFORM_TOOLSET ( + set PLATFORM_TOOLSET=v140_xp +) -set CMAKE_GENERATOR="Visual Studio 14 2015" -set CMAKE_TOOLSET="v140_xp" +rem used when building marisa +set VS_LATEST=vs2015 set build=build set build_boost=0 +set build_boost_x64=0 set build_thirdparty=0 set build_librime=0 set build_shared=ON @@ -37,6 +58,7 @@ if "%1" == "" set build_librime=1 :parse_cmdline_options if "%1" == "" goto end_parsing_cmdline_options if "%1" == "boost" set build_boost=1 +if "%1" == "boost_x64" set build_boost_x64=1 if "%1" == "thirdparty" set build_thirdparty=1 if "%1" == "librime" set build_librime=1 if "%1" == "static" ( @@ -66,14 +88,41 @@ set THIRDPARTY="%RIME_ROOT%"\thirdparty rem set CURL=%THIRDPARTY%\bin\curl.exe rem set DOWNLOAD="%CURL%" --remote-name-all +set BOOST_COMPILED_LIBS=--with-date_time^ + --with-filesystem^ + --with-locale^ + --with-regex^ + --with-signals^ + --with-system^ + --with-thread + +set BJAM_OPTIONS_COMMON=toolset=%BJAM_TOOLSET%^ + variant=release^ + link=static^ + threading=multi^ + runtime-link=static^ + cxxflags="/Zc:threadSafeInit- " + +set BJAM_OPTIONS_X86=%BJAM_OPTIONS_COMMON%^ + define=BOOST_USE_WINAPI_VERSION=0x0501 + +set BJAM_OPTIONS_X64=%BJAM_OPTIONS_COMMON%^ + define=BOOST_USE_WINAPI_VERSION=0x0502^ + address-model=64^ + --stagedir=stage_x64 + if %build_boost% == 1 ( cd /d %BOOST_ROOT% if not exist bjam.exe call bootstrap.bat if %ERRORLEVEL% NEQ 0 goto ERROR - bjam toolset=msvc-14.0 variant=release link=static threading=multi runtime-link=static stage --with-date_time --with-filesystem --with-locale --with-regex --with-signals --with-system --with-thread + + bjam %BJAM_OPTIONS_X86% stage %BOOST_COMPILED_LIBS% if %ERRORLEVEL% NEQ 0 goto ERROR - rem bjam toolset=msvc-14.0 variant=release link=static threading=multi runtime-link=static address-model=64 --stagedir=stage_x64 stage --with-date_time --with-filesystem --with-locale --with-regex --with-signals --with-system --with-thread - rem if %ERRORLEVEL% NEQ 0 goto ERROR + + if %build_boost_x64% == 1 ( + bjam %BJAM_OPTIONS_X64% stage %BOOST_COMPILED_LIBS% + if %ERRORLEVEL% NEQ 0 goto ERROR + ) ) if %build_thirdparty% == 1 ( @@ -81,7 +130,7 @@ if %build_thirdparty% == 1 ( echo building glog. cd %THIRDPARTY%\src\glog - cmake . -Bbuild -G%CMAKE_GENERATOR% -T%CMAKE_TOOLSET% -DWITH_GFLAGS=OFF -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" + cmake . -Bbuild -G%CMAKE_GENERATOR% -T%PLATFORM_TOOLSET% -DWITH_GFLAGS=OFF -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" if %ERRORLEVEL% NEQ 0 goto ERROR cmake --build build --config Release --target glog if %ERRORLEVEL% NEQ 0 goto ERROR @@ -104,7 +153,7 @@ if %build_thirdparty% == 1 ( echo building yaml-cpp. cd %THIRDPARTY%\src\yaml-cpp - cmake . -Bbuild -G%CMAKE_GENERATOR% -T%CMAKE_TOOLSET% -DMSVC_SHARED_RT=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" + cmake . -Bbuild -G%CMAKE_GENERATOR% -T%PLATFORM_TOOLSET% -DMSVC_SHARED_RT=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" if %ERRORLEVEL% NEQ 0 goto ERROR cmake --build build --config Release --target yaml-cpp if %ERRORLEVEL% NEQ 0 goto ERROR @@ -116,7 +165,7 @@ if %build_thirdparty% == 1 ( echo building gtest. cd %THIRDPARTY%\src\gtest - cmake . -Bbuild -G%CMAKE_GENERATOR% -T%CMAKE_TOOLSET% -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" + cmake . -Bbuild -G%CMAKE_GENERATOR% -T%PLATFORM_TOOLSET% -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" if %ERRORLEVEL% NEQ 0 goto ERROR cmake --build build --config Release if %ERRORLEVEL% NEQ 0 goto ERROR @@ -127,8 +176,8 @@ if %build_thirdparty% == 1 ( if %ERRORLEVEL% NEQ 0 goto ERROR echo building marisa. - cd %THIRDPARTY%\src\marisa-trie\vs2015 - msbuild.exe vs2015.sln /p:Configuration=Release /p:Platform=Win32 + cd %THIRDPARTY%\src\marisa-trie\%VS_LATEST% + msbuild.exe %VS_LATEST%.sln /p:Configuration=Release /p:Platform=Win32 if %ERRORLEVEL% NEQ 0 goto ERROR echo built. copying artifacts. xcopy /S /I /Y ..\lib\marisa %THIRDPARTY%\include\marisa\ @@ -141,7 +190,7 @@ if %build_thirdparty% == 1 ( echo building opencc. cd %THIRDPARTY%\src\opencc - cmake . -Bbuild -G%CMAKE_GENERATOR% -T%CMAKE_TOOLSET% -DCMAKE_INSTALL_PREFIX="" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" + cmake . -Bbuild -G%CMAKE_GENERATOR% -T%PLATFORM_TOOLSET% -DCMAKE_INSTALL_PREFIX="" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" if %ERRORLEVEL% NEQ 0 goto ERROR cmake --build build --config Release --target libopencc if %ERRORLEVEL% NEQ 0 goto ERROR @@ -168,11 +217,16 @@ if %build_thirdparty% == 1 ( if %build_librime% == 0 goto EXIT -set RIME_CMAKE_FLAGS=-DBUILD_STATIC=ON -DBUILD_SHARED_LIBS=%build_shared% -DBUILD_TEST=%build_test% -DENABLE_LOGGING=%enable_logging% -DBOOST_USE_CXX11=ON -DCMAKE_CONFIGURATION_TYPES="Release" +set RIME_CMAKE_FLAGS=-DBUILD_STATIC=ON^ + -DBUILD_SHARED_LIBS=%build_shared%^ + -DBUILD_TEST=%build_test%^ + -DENABLE_LOGGING=%enable_logging%^ + -DBOOST_USE_CXX11=ON^ + -DCMAKE_CONFIGURATION_TYPES="Release" cd /d %RIME_ROOT% -echo cmake %RIME_ROOT% -B%build% -G%CMAKE_GENERATOR% -T%CMAKE_TOOLSET% %RIME_CMAKE_FLAGS% -call cmake %RIME_ROOT% -B%build% -G%CMAKE_GENERATOR% -T%CMAKE_TOOLSET% %RIME_CMAKE_FLAGS% +echo cmake %RIME_ROOT% -B%build% -G%CMAKE_GENERATOR% -T%PLATFORM_TOOLSET% %RIME_CMAKE_FLAGS% +call cmake %RIME_ROOT% -B%build% -G%CMAKE_GENERATOR% -T%PLATFORM_TOOLSET% %RIME_CMAKE_FLAGS% if %ERRORLEVEL% NEQ 0 goto ERROR echo. diff --git a/env.bat.template b/env.bat.template index 6bd984dde..2a9397721 100644 --- a/env.bat.template +++ b/env.bat.template @@ -1,6 +1,14 @@ -rem environment settings +rem Customize your build environment and save the modified copy to env.bat + set RIME_ROOT=%CD% -set BOOST_ROOT=\code\boost_1_60_0 -set CMAKE_INSTALL_PATH=C:\Program Files (x86)\CMake -set GIT_INSTALL_PATH=C:\Program Files (x86)\Git -set VS_INSTALL_PATH=%VS140COMNTOOLS%\..\.. + +rem REQUIRED: path to Boost source directory +set BOOST_ROOT=%USERPROFILE%\source\vendor\boost_1_60_0 + +rem OPTIONAL: Visual Studio version and platform toolset +rem set BJAM_TOOLSET=msvc-14.0 +rem set CMAKE_GENERATOR="Visual Studio 14 2015" +rem set PLATFORM_TOOLSET=v140_xp + +rem OPTIONAL: path to additional build tools +rem set DEVTOOLS_PATH=%ProgramFiles%\Git\cmd;%ProgramFiles%\CMake\bin;C:\Python27; diff --git a/shell.bat b/shell.bat deleted file mode 100644 index 34a8a0f06..000000000 --- a/shell.bat +++ /dev/null @@ -1,71 +0,0 @@ -@echo off -setlocal -if exist env.bat call env.bat - -if defined BOOST_ROOT ( - if exist "%BOOST_ROOT%\boost" goto boost_found -) -echo Boost not found! please set BOOST_ROOT in env.bat. -exit /b 1 -:boost_found - -if defined CMAKE_INSTALL_PATH ( - if exist "%CMAKE_INSTALL_PATH%\bin" goto cmake_found -) -echo Detecting CMake install path. -set CMAKE_INSTALL_PATH=%ProgramFiles(x86)%\CMake -if exist "%CMAKE_INSTALL_PATH%\bin" goto cmake_found -set CMAKE_INSTALL_PATH=%ProgramFiles%\CMake -if exist "%CMAKE_INSTALL_PATH%\bin" goto cmake_found -set CMAKE_INSTALL_PATH= -echo CMake not found! please set CMAKE_INSTALL_PATH in env.bat. -exit /b 1 -:cmake_found - -if defined GIT_INSTALL_PATH ( - if exist "%GIT_INSTALL_PATH%\bin" goto git_found -) -echo Detecting Git install path. -set GIT_INSTALL_PATH=%ProgramFiles(x86)%\Git -if exist "%GIT_INSTALL_PATH%\bin" goto git_found -set GIT_INSTALL_PATH=%ProgramFiles%\Git -if exist "%GIT_INSTALL_PATH%\bin" goto git_found -set GIT_INSTALL_PATH= -echo Git not found! please set GIT_INSTALL_PATH in env.bat. -exit /b 1 -:git_found - -if defined VS_INSTALL_PATH ( - if exist "%VS_INSTALL_PATH%\VC" goto vs_found -) -echo Detecting Visual Studio install path. -set VS_INSTALL_PATH=%ProgramFiles(x86)%\Microsoft Visual Studio 12.0 -if exist "%VS_INSTALL_PATH%\VC" goto vs_found -set VS_INSTALL_PATH=%ProgramFiles%\Microsoft Visual Studio 12.0 -if exist "%VS_INSTALL_PATH%\VC" goto vs_found -set VS_INSTALL_PATH= -echo Visual Studio not found! please set VS_INSTALL_PATH in env.bat. -exit /b 1 -:vs_found - -:start -set OLD_PATH=%PATH% -if defined DEV_PATH set PATH=%OLD_PATH%;%DEV_PATH% - -rem add cmake executable to PATH -set PATH=%PATH%;%CMAKE_INSTALL_PATH%\bin - -rem git start -@rem Get the abolute path to the current directory, which is assumed to be the -@rem Git installation root. -@for /F "delims=" %%I in ("%GIT_INSTALL_PATH%") do @set git_install_root=%%~fI -@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%PATH% -@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH% -@if not exist "%HOME%" @set HOME=%USERPROFILE% -@set PLINK_PROTOCOL=ssh -@cd %HOME% -rem git end - -rem start command prompt with Visual C++ tools -rem %comspec% -%comspec% /k ""%VS_INSTALL_PATH%\VC\vcvarsall.bat"" x86 diff --git a/thirdparty/src/leveldb-windows/leveldb.vcxproj b/thirdparty/src/leveldb-windows/leveldb.vcxproj index 66f871a5d..de46fb5c0 100644 --- a/thirdparty/src/leveldb-windows/leveldb.vcxproj +++ b/thirdparty/src/leveldb-windows/leveldb.vcxproj @@ -1,4 +1,4 @@ - + @@ -18,12 +18,12 @@ StaticLibrary true - v140_xp + $(PLATFORM_TOOLSET) StaticLibrary false - v140_xp + $(PLATFORM_TOOLSET) @@ -171,4 +171,4 @@ - \ No newline at end of file + diff --git a/thirdparty/src/marisa-trie/vs2015/base-test/base-test.vcxproj b/thirdparty/src/marisa-trie/vs2015/base-test/base-test.vcxproj index c842d6a8a..89733b14f 100644 --- a/thirdparty/src/marisa-trie/vs2015/base-test/base-test.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/base-test/base-test.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/io-test/io-test.vcxproj b/thirdparty/src/marisa-trie/vs2015/io-test/io-test.vcxproj index 544bbfa66..3bc1ef061 100644 --- a/thirdparty/src/marisa-trie/vs2015/io-test/io-test.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/io-test/io-test.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/libmarisa/libmarisa.vcxproj b/thirdparty/src/marisa-trie/vs2015/libmarisa/libmarisa.vcxproj index 8d7a6631e..88e52e0c9 100644 --- a/thirdparty/src/marisa-trie/vs2015/libmarisa/libmarisa.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/libmarisa/libmarisa.vcxproj @@ -18,13 +18,13 @@ StaticLibrary - v140_xp + $(PLATFORM_TOOLSET) Unicode true StaticLibrary - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-benchmark/marisa-benchmark.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-benchmark/marisa-benchmark.vcxproj index a31ff192b..b1b4151e2 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-benchmark/marisa-benchmark.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-benchmark/marisa-benchmark.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-build/marisa-build.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-build/marisa-build.vcxproj index 67db88288..515855a77 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-build/marisa-build.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-build/marisa-build.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-common-prefix-search/marisa-common-prefix-search.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-common-prefix-search/marisa-common-prefix-search.vcxproj index 291377bc4..de5a5f648 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-common-prefix-search/marisa-common-prefix-search.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-common-prefix-search/marisa-common-prefix-search.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-dump/marisa-dump.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-dump/marisa-dump.vcxproj index e846646eb..694308250 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-dump/marisa-dump.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-dump/marisa-dump.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-lookup/marisa-lookup.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-lookup/marisa-lookup.vcxproj index 0d3d999d4..5f0942286 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-lookup/marisa-lookup.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-lookup/marisa-lookup.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-predictive-search/marisa-predictive-search.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-predictive-search/marisa-predictive-search.vcxproj index bfd13722c..1a2acc594 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-predictive-search/marisa-predictive-search.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-predictive-search/marisa-predictive-search.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-reverse-lookup/marisa-reverse-lookup.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-reverse-lookup/marisa-reverse-lookup.vcxproj index a6bfe5cab..bc27ccff6 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-reverse-lookup/marisa-reverse-lookup.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-reverse-lookup/marisa-reverse-lookup.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/marisa-test/marisa-test.vcxproj b/thirdparty/src/marisa-trie/vs2015/marisa-test/marisa-test.vcxproj index 295da141a..a7f941146 100644 --- a/thirdparty/src/marisa-trie/vs2015/marisa-test/marisa-test.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/marisa-test/marisa-test.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/trie-test/trie-test.vcxproj b/thirdparty/src/marisa-trie/vs2015/trie-test/trie-test.vcxproj index efe70ccad..c13e1ef47 100644 --- a/thirdparty/src/marisa-trie/vs2015/trie-test/trie-test.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/trie-test/trie-test.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode diff --git a/thirdparty/src/marisa-trie/vs2015/vector-test/vector-test.vcxproj b/thirdparty/src/marisa-trie/vs2015/vector-test/vector-test.vcxproj index 5d4b3f613..3c7ba27d7 100644 --- a/thirdparty/src/marisa-trie/vs2015/vector-test/vector-test.vcxproj +++ b/thirdparty/src/marisa-trie/vs2015/vector-test/vector-test.vcxproj @@ -18,13 +18,13 @@ Application - v140_xp + $(PLATFORM_TOOLSET) Unicode true Application - v140_xp + $(PLATFORM_TOOLSET) Unicode