diff options
author | Carsten Hammer | 2021-04-01 10:15:23 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2021-04-02 07:10:13 +0000 |
commit | fcc81c18e2369d87e1695a880f2f793e5f656596 (patch) | |
tree | 37c28ff96dea0307dbe66a0654ff280b0684edd0 | |
parent | a0deba5589512e1f23ce6b1cbc3f4f0de5cbc702 (diff) | |
download | eclipse.platform.swt-fcc81c18e2369d87e1695a880f2f793e5f656596.tar.gz eclipse.platform.swt-fcc81c18e2369d87e1695a880f2f793e5f656596.tar.xz eclipse.platform.swt-fcc81c18e2369d87e1695a880f2f793e5f656596.zip |
Bug 572308 - [Win32] Update SWT Windows native build scripts to work
with latest VisualStudio2019/Win10 SDK
Update Visual Studio from 2017 to 2019 (and maybe Win10-SDK)
Change-Id: I7ce8e69da13c0554499246db401a948c360ba6f8
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat | 6 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Readme.Win32.md | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat index 34d957e928..8de0414ed0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat @@ -27,10 +27,10 @@ echo SWT build dir: %SWT_BUILDDIR% IF "x.%MSVC_EDITION%"=="x." set "MSVC_EDITION=Community" @rem Specify VisualStudio Version: '2017' or newer '2019' -IF "x.%MSVC_VERSION%"=="x." set "MSVC_VERSION=2017" +IF "x.%MSVC_VERSION%"=="x." set "MSVC_VERSION=2019" -IF "x.%MSVC_HOME%"=="x." set "MSVC_HOME=%SWT_BUILDDIR%\Microsoft\Visual Studio\%MSVC_VERSION%\" -IF NOT EXIST "%MSVC_HOME%" set "MSVC_HOME=%ProgramFiles(x86)%\Microsoft Visual Studio\%MSVC_VERSION%" +IF "x.%MSVC_HOME%"=="x." set "MSVC_HOME=%SWT_BUILDDIR%\Microsoft\Visual Studio\%MSVC_VERSION%\%MSVC_EDITION%\" +IF NOT EXIST "%MSVC_HOME%" set "MSVC_HOME=%ProgramFiles(x86)%\Microsoft Visual Studio\%MSVC_VERSION%\%MSVC_EDITION%" IF EXIST "%MSVC_HOME%" ( echo "Microsoft Visual Studio %MSVC_VERSION% dir: %MSVC_HOME%" ) ELSE ( diff --git a/bundles/org.eclipse.swt/Readme.Win32.md b/bundles/org.eclipse.swt/Readme.Win32.md index bf8ba6d9b6..daa9a946ab 100644 --- a/bundles/org.eclipse.swt/Readme.Win32.md +++ b/bundles/org.eclipse.swt/Readme.Win32.md @@ -4,7 +4,7 @@ The document is structured so that you only need to read up to the point that yo The SWT windows port is based on the Win32 api. -The natives are compiled via an ant build.xml script with the Microsoft Visual Studio (2017) C++ compiler. +The natives are compiled via an ant build.xml script with the Microsoft Visual Studio (2019) C++ compiler. # Development overview SWT is made up of 2 parts, Java and the natives (written in C). |