[gtk/msvcproj-git] README_FEATURES_MSVC.md: Mention about enabling EGL
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/msvcproj-git] README_FEATURES_MSVC.md: Mention about enabling EGL
- Date: Fri, 5 Aug 2022 11:27:42 +0000 (UTC)
commit 6dc2710a7057c19d41fbac24c6eee80b134b73ba
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Aug 5 19:08:30 2022 +0800
README_FEATURES_MSVC.md: Mention about enabling EGL
...in a more automated way, since the NMake Makefiles now support doing so.
win32/README_FEATURES_MSVC.md | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/win32/README_FEATURES_MSVC.md b/win32/README_FEATURES_MSVC.md
index 504d54b39a..72c60da07b 100644
--- a/win32/README_FEATURES_MSVC.md
+++ b/win32/README_FEATURES_MSVC.md
@@ -35,10 +35,20 @@ do so, please do the following:
Build and install, making sure the headers and .lib can be located by the
compiler and linker respectively.
-* Open the `vsX/gtk+.sln`, and open the project properties in the
- `gdk3-win32` project. Under "C/C++", add `GDK_WIN32_ENABLE_EGL` in the
- `Preprocessor Definitions` to the existing definitions in there for the
- configuration that is being built. Then build the solution.
+* Either:
+ * Open the `vsX/gtk+.sln`, and open the project properties in the
+ `gdk3-win32` project. Under "C/C++", add `GDK_WIN32_ENABLE_EGL` in
+ the `Preprocessor Definitions` to the existing definitions in there
+ for the configuration that is being built. Then build the solution.
+* Or:
+ * Run in a Visual Studio command prompt:
+ Go to `$(srcroot)\win32`, and run
+ `nmake /f generate-msvc.mak regenerate-gdk-vsproj USE_EGL=1`.
+ To undo that, run that command without `USE_EGL=1`. Python 3.x
+ must be present in your `%PATH%` or passed in via
+ `PYTHON=<path_to_python_interpreter>`. This will update all
+ `gdk3-win32` projects (i.e. VS2008~2022).
+
* To force the use of the EGL code, set the envvar `GDK_GL=(...,)gles`,
where `(...,)` are the other `GDK_GL` options desired.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]