[gtk/more-vs-proj-updates: 9/9] win32/generate-msvc.mak: Support generating all GDK projects




commit b14fd13937f542d3ac05adf165b029e7eeb0c82a
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Aug 3 18:16:30 2022 +0800

    win32/generate-msvc.mak: Support generating all GDK projects
    
    This extends the support to generate all the GDK Visual Studio projects, which
    include GDK, GDK-Broadway and broadwayd, in addition to GDK-Win32.  The rule
    to regenerate the GDK-Win32 project is now changed to regenerate all GDK
    projects, with or without EGL support in GDK-Win32.
    
    Also, remove extraneous blank spaces in win32/vs10/broadwayd.vcxprojin to avoid
    errors when generating the full VS2010+ broadwayd Visual Studio projects with
    this update.

 win32/config-msvc.mak.in       |   9 ++
 win32/create-lists-msvc.mak    |  18 ++++
 win32/generate-msvc.mak        | 230 +++++++++++++++++++++++++++++++++++++----
 win32/vs10/broadwayd.vcxprojin |   2 +-
 4 files changed, 240 insertions(+), 19 deletions(-)
---
diff --git a/win32/config-msvc.mak.in b/win32/config-msvc.mak.in
index 8d767f5f14..3d4ee6635a 100644
--- a/win32/config-msvc.mak.in
+++ b/win32/config-msvc.mak.in
@@ -123,9 +123,18 @@ GTK_PREPROCESSOR_FLAGS =   \
         /DGDK_DISABLE_DEPRECATED       \
         /DISOLATION_AWARE_ENABLED
 
+GDK_VS9_PROJ = gdk-3.vcproj
+GDK_VS1X_PROJ = $(GDK_VS9_PROJ:.vcproj=.vcxproj)
+GDK_VS1X_PROJ_FILTERS = $(GDK_VS9_PROJ:.vcproj=.vcxproj.filters)
 GDKWIN32_VS9_PROJ = gdk3-win32.vcproj
 GDKWIN32_VS1X_PROJ = $(GDKWIN32_VS9_PROJ:.vcproj=.vcxproj)
 GDKWIN32_VS1X_PROJ_FILTERS = $(GDKWIN32_VS9_PROJ:.vcproj=.vcxproj.filters)
+GDKBROADWAY_VS9_PROJ = $(GDKWIN32_VS9_PROJ:-win32=-broadway)
+GDKBROADWAY_VS1X_PROJ = $(GDKBROADWAY_VS9_PROJ:.vcproj=.vcxproj)
+GDKBROADWAY_VS1X_PROJ_FILTERS = $(GDKBROADWAY_VS9_PROJ:.vcproj=.vcxproj.filters)
+BROADWAYD_VS9_PROJ = broadwayd.vcproj
+BROADWAYD_VS1X_PROJ = $(BROADWAYD_VS9_PROJ:.vcproj=.vcxproj)
+BROADWAYD_VS1X_PROJ_FILTERS = $(BROADWAYD_VS9_PROJ:.vcproj=.vcxproj.filters)
 DEMO_VS9_PROJ = gtk3-demo.vcproj
 DEMO_VS1X_PROJ = $(DEMO_VS9_PROJ:.vcproj=.vcxproj)
 DEMO_VS1X_PROJ_FILTERS = $(DEMO_VS9_PROJ:.vcproj=.vcxproj.filters)
diff --git a/win32/create-lists-msvc.mak b/win32/create-lists-msvc.mak
index 2da0d03fa7..50ca29202d 100644
--- a/win32/create-lists-msvc.mak
+++ b/win32/create-lists-msvc.mak
@@ -87,6 +87,24 @@ NULL=
 # For GDK-Broadway public headers
 !include ..\gdk\broadway\gdk-broadway-sources.inc
 
+!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_BROADWAY_C_SRCS]
+!endif
+
+!if [for %f in ($(GDK_BROADWAY_NON_GENERATED_SOURCES)) do @if "%~xf" == ".c" call create-lists.bat file 
gdk_sources_msvc$(VSVER)_$(PLAT).mak ..\gdk\broadway\%f]
+!endif
+
+!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
+!endif
+
+!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak BROADWAYD_C_SRCS]
+!endif
+
+!if [for %f in ($(broadwayd_SOURCES)) do @if "%~xf" == ".c" call create-lists.bat file 
gdk_sources_msvc$(VSVER)_$(PLAT).mak ..\gdk\broadway\%f]
+!endif
+
+!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
+!endif
+
 !include gdk_sources_msvc$(VSVER)_$(PLAT).mak
 
 !if [del /f /q gdk_sources_msvc$(VSVER)_$(PLAT).mak]
diff --git a/win32/generate-msvc.mak b/win32/generate-msvc.mak
index 3a05ec0559..c9e889af3c 100644
--- a/win32/generate-msvc.mak
+++ b/win32/generate-msvc.mak
@@ -58,6 +58,23 @@ GTK_GENERATED_SOURCES =      \
        .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.c        \
        $(GTK_VERSION_H)
 
+GTK3_GDK_VC1X_PROJS =  \
+       vs10\$(GDK_VS1X_PROJ)   \
+       vs11\$(GDK_VS1X_PROJ)   \
+       vs12\$(GDK_VS1X_PROJ)   \
+       vs14\$(GDK_VS1X_PROJ)   \
+       vs15\$(GDK_VS1X_PROJ)   \
+       vs16\$(GDK_VS1X_PROJ)   \
+       vs17\$(GDK_VS1X_PROJ)
+
+GTK3_GDK_VC1X_PROJ_FILTERS =   \
+       vs11\$(GDK_VS1X_PROJ_FILTERS)   \
+       vs12\$(GDK_VS1X_PROJ_FILTERS)   \
+       vs14\$(GDK_VS1X_PROJ_FILTERS)   \
+       vs15\$(GDK_VS1X_PROJ_FILTERS)   \
+       vs16\$(GDK_VS1X_PROJ_FILTERS)   \
+       vs17\$(GDK_VS1X_PROJ_FILTERS)
+
 GTK3_GDK_WIN32_VC1X_PROJS =    \
        vs10\$(GDKWIN32_VS1X_PROJ)      \
        vs11\$(GDKWIN32_VS1X_PROJ)      \
@@ -75,6 +92,40 @@ GTK3_GDK_WIN32_VC1X_PROJ_FILTERS =   \
        vs16\$(GDKWIN32_VS1X_PROJ_FILTERS)      \
        vs17\$(GDKWIN32_VS1X_PROJ_FILTERS)
 
+GTK3_GDK_BROADWAY_VC1X_PROJS = \
+       vs10\$(GDKBROADWAY_VS1X_PROJ)   \
+       vs11\$(GDKBROADWAY_VS1X_PROJ)   \
+       vs12\$(GDKBROADWAY_VS1X_PROJ)   \
+       vs14\$(GDKBROADWAY_VS1X_PROJ)   \
+       vs15\$(GDKBROADWAY_VS1X_PROJ)   \
+       vs16\$(GDKBROADWAY_VS1X_PROJ)   \
+       vs17\$(GDKBROADWAY_VS1X_PROJ)
+
+GTK3_GDK_BROADWAY_VC1X_PROJ_FILTERS =  \
+       vs11\$(GDKBROADWAY_VS1X_PROJ_FILTERS)   \
+       vs12\$(GDKBROADWAY_VS1X_PROJ_FILTERS)   \
+       vs14\$(GDKBROADWAY_VS1X_PROJ_FILTERS)   \
+       vs15\$(GDKBROADWAY_VS1X_PROJ_FILTERS)   \
+       vs16\$(GDKBROADWAY_VS1X_PROJ_FILTERS)   \
+       vs17\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+
+GTK3_BROADWAYD_VC1X_PROJS =    \
+       vs10\$(BROADWAYD_VS1X_PROJ)     \
+       vs11\$(BROADWAYD_VS1X_PROJ)     \
+       vs12\$(BROADWAYD_VS1X_PROJ)     \
+       vs14\$(BROADWAYD_VS1X_PROJ)     \
+       vs15\$(BROADWAYD_VS1X_PROJ)     \
+       vs16\$(BROADWAYD_VS1X_PROJ)     \
+       vs17\$(BROADWAYD_VS1X_PROJ)
+
+GTK3_BROADWAYD_VC1X_PROJ_FILTERS =     \
+       vs11\$(BROADWAYD_VS1X_PROJ_FILTERS)     \
+       vs12\$(BROADWAYD_VS1X_PROJ_FILTERS)     \
+       vs14\$(BROADWAYD_VS1X_PROJ_FILTERS)     \
+       vs15\$(BROADWAYD_VS1X_PROJ_FILTERS)     \
+       vs16\$(BROADWAYD_VS1X_PROJ_FILTERS)     \
+       vs17\$(BROADWAYD_VS1X_PROJ_FILTERS)
+
 GTK3_DEMO_VC1X_PROJS = \
        vs10\$(DEMO_VS1X_PROJ)  \
        vs11\$(DEMO_VS1X_PROJ)  \
@@ -97,6 +148,24 @@ GTK3_GDK_WIN32_VCPROJS =    \
        $(GTK3_GDK_WIN32_VC1X_PROJS)    \
        $(GTK3_GDK_WIN32_VC1X_PROJ_FILTERS)
 
+GTK3_GDK_BROADWAY_VCPROJS =    \
+       vs9\$(GDKBROADWAY_VS9_PROJ)     \
+       $(GTK3_GDK_BROADWAY_VC1X_PROJS) \
+       $(GTK3_GDK_BROADWAY_VC1X_PROJ_FILTERS)
+
+GTK3_BROADWAYD_VCPROJS =       \
+       vs9\$(BROADWAYD_VS9_PROJ)       \
+       $(GTK3_BROADWAYD_VC1X_PROJS)    \
+       $(GTK3_BROADWAYD_VC1X_PROJ_FILTERS)
+
+GTK3_GDK_VCPROJS =     \
+       vs9\$(GDK_VS9_PROJ)     \
+       $(GTK3_GDK_VC1X_PROJS)  \
+       $(GTK3_GDK_VC1X_PROJ_FILTERS)   \
+       $(GTK3_GDK_WIN32_VCPROJS)       \
+       $(GTK3_GDK_BROADWAY_VCPROJS)    \
+       $(GTK3_BROADWAYD_VCPROJS)
+
 GTK3_DEMO_VCPROJS =    \
        vs9\$(DEMO_VS9_PROJ)    \
        $(GTK3_DEMO_VC1X_PROJS) \
@@ -330,6 +399,18 @@ generate-base-sources:     \
        --generate-source ..\demos\widget-factory\widget-factory.gresource.xml
 
 # (Re-) generate Visual Studio projects
+gdk-3.sourcefiles: $(GDK_C_SRCS:/=\)
+       @-del vs9\$(GDK_VS9_PROJ)
+       @for %%s in ($**) do @echo.   ^<File RelativePath^="..\%%s" /^>>>$@
+
+gdk-3.vs10.sourcefiles: $(GDK_C_SRCS:/=\)
+       @-del vs10\$(GDK_VS1X_PROJ)
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s" /^>>>$@
+
+gdk-3.vs10.sourcefiles.filters: $(GDK_C_SRCS:/=\)
+       @-del vs10\$(GDK_VS1X_PROJ_FILTERS)
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s"^>^<Filter^>Source 
Files^</Filter^>^</ClCompile^>>>$@
+
 gdk3-win32.sourcefiles: $(GDK_WIN32_C_SRCS)
        @-del vs9\$(GDKWIN32_VS9_PROJ)
        @for %%s in ($**) do @echo.   ^<File RelativePath^="..\%%s" /^>>>$@
@@ -342,6 +423,31 @@ gdk3-win32.vs10.sourcefiles.filters: $(GDK_WIN32_C_SRCS)
        @-del vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
        @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s"^>^<Filter^>Source 
Files^</Filter^>^</ClCompile^>>>$@
 
+gdk3-broadway.sourcefiles: $(GDK_BROADWAY_C_SRCS)
+       @-del vs9\$(GDKBROADWAY_VS9_PROJ)
+       @for %%s in ($**) do @echo.   ^<File RelativePath^="..\%%s" /^>>>$@
+
+gdk3-broadway.vs10.sourcefiles: $(GDK_BROADWAY_C_SRCS)
+       @-del vs10\$(GDKBROADWAY_VS1X_PROJ)
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s" /^>>>$@
+
+gdk3-broadway.vs10.sourcefiles.filters: $(GDK_BROADWAY_C_SRCS)
+       @-del vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s"^>^<Filter^>Source 
Files^</Filter^>^</ClCompile^>>>$@
+
+broadwayd.sourcefiles: $(BROADWAYD_C_SRCS)
+       @-del vs9\$(BROADWAYD_VS9_PROJ)
+       @for %%s in ($**) do @echo.   ^<File RelativePath^="..\%%s" /^>>>$@
+
+broadwayd.vs10.sourcefiles: $(BROADWAYD_C_SRCS)
+       @-del vs10\$(BROADWAYD_VS1X_PROJ)
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s" /^>>>$@
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s" /^>>>$@
+
+broadwayd.vs10.sourcefiles.filters: $(BROADWAYD_C_SRCS)
+       @-del vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
+       @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s"^>^<Filter^>Source 
Files^</Filter^>^</ClCompile^>>>$@
+
 gtk3-demo.sourcefiles: $(demo_actual_sources)
        @-del vs9\$(DEMO_VS9_PROJ)
        @for %%s in ($**) do @echo.   ^<File RelativePath^="..\%%s" /^>>>$@
@@ -357,43 +463,62 @@ gtk3-demo.vs10.sourcefiles.filters: $(demo_actual_sources)
        @for %%s in ($**) do @echo.   ^<ClCompile Include^="..\%%s"^>^<Filter^>Source 
Files^</Filter^>^</ClCompile^>>>$@
        @for %%s in (gtkfishbowl.c main.c) do @echo.   ^<ClCompile 
Include^="..\..\demos\gtk-demo\%%s"^>^<Filter^>Source Files^</Filter^>^</ClCompile^>>>$@
 
+# Dependencies for GDK projects
+vs9\$(GDK_VS9_PROJ): gdk-3.sourcefiles vs9\$(GDK_VS9_PROJ)in
+vs10\$(GDK_VS1X_PROJ): gdk-3.vs10.sourcefiles vs10\$(GDK_VS1X_PROJ)in
+vs10\$(GDK_VS1X_PROJ_FILTERS): gdk-3.vs10.sourcefiles.filters vs10\$(GDK_VS1X_PROJ_FILTERS)in
 vs9\$(GDKWIN32_VS9_PROJ).pre: gdk3-win32.sourcefiles vs9\$(GDKWIN32_VS9_PROJ)in
 vs10\$(GDKWIN32_VS1X_PROJ).pre: gdk3-win32.vs10.sourcefiles vs10\$(GDKWIN32_VS1X_PROJ)in
 vs10\$(GDKWIN32_VS1X_PROJ_FILTERS): gdk3-win32.vs10.sourcefiles.filters vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)in
+vs9\$(GDKBROADWAY_VS9_PROJ): gdk3-broadway.sourcefiles vs9\$(GDKBROADWAY_VS9_PROJ)in
+vs10\$(GDKBROADWAY_VS1X_PROJ): gdk3-broadway.vs10.sourcefiles vs10\$(GDKBROADWAY_VS1X_PROJ)in
+vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS): gdk3-broadway.vs10.sourcefiles.filters 
vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)in
+vs9\$(BROADWAYD_VS9_PROJ): broadwayd.sourcefiles vs9\$(BROADWAYD_VS9_PROJ)in
+vs10\$(BROADWAYD_VS1X_PROJ): broadwayd.vs10.sourcefiles vs10\$(BROADWAYD_VS1X_PROJ)in
+vs10\$(BROADWAYD_VS1X_PROJ_FILTERS): broadwayd.vs10.sourcefiles.filters vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)in
+
+# Dependencies for demos
 vs9\$(DEMO_VS9_PROJ).pre: gtk3-demo.sourcefiles vs9\$(DEMO_VS9_PROJ)in
 vs10\$(DEMO_VS1X_PROJ).pre: gtk3-demo.vs10.sourcefiles vs10\$(DEMO_VS1X_PROJ)in
 vs10\$(DEMO_VS1X_PROJ_FILTERS): gtk3-demo.vs10.sourcefiles.filters vs10\$(DEMO_VS1X_PROJ_FILTERS)in
 
+# Create the project files themselves without customization with options
 vs9\$(GDKWIN32_VS9_PROJ).pre vs10\$(GDKWIN32_VS1X_PROJ).pre vs10\$(GDKWIN32_VS1X_PROJ_FILTERS) \
+vs9\$(GDKBROADWAY_VS9_PROJ) vs10\$(GDKBROADWAY_VS1X_PROJ) vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)        \
+vs9\$(GDK_VS9_PROJ) vs10\$(GDK_VS1X_PROJ) vs10\$(GDK_VS1X_PROJ_FILTERS)        \
+vs9\$(BROADWAYD_VS9_PROJ) vs10\$(BROADWAYD_VS1X_PROJ) vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)      \
 vs9\$(DEMO_VS9_PROJ).pre vs10\$(DEMO_VS1X_PROJ).pre vs10\$(DEMO_VS1X_PROJ_FILTERS):
        @$(CPP) /nologo /EP /I. $(@:.pre=)in>$(@F:.pre=).tmp
        @for /f "usebackq tokens=* delims=" %%l in ($(@F:.pre=).tmp) do @echo %%l>>$@
        @-del $(@F:.pre=).tmp
-       @-for %%f in ($**) do if not "%%f" == "$(@:.pre=)in" del %%f
+       @-for %%f in ($**) do @if not "%%f" == "$(@:.pre=)in" del %%f
+
+vs9\$(GDKWIN32_VS9_PROJ): vs9\$(GDKWIN32_VS9_PROJ).pre
+vs10\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ).pre
+
+vs9\$(DEMO_VS9_PROJ): vs9\$(DEMO_VS9_PROJ).pre
+vs10\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ).pre
 
 !ifdef USE_EGL
-regenerate-gdkwin32-vsproj-msg:
-       @echo Regenerating gdk3-win32 Visual Studio projects with EGL support...
+regenerate-gdk-vsproj-msg:
+       @echo Regenerating GDK Visual Studio projects with EGL support...
 
-vs9\$(GDKWIN32_VS9_PROJ): vs9\$(GDKWIN32_VS9_PROJ).pre
+vs9\$(GDKWIN32_VS9_PROJ):
        @echo Generating $@...
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@       \
        --instring=";INSIDE_GDK_WIN32\""        \
        --outstring=";INSIDE_GDK_WIN32;GDK_WIN32_ENABLE_EGL\""
        @-del $**
 
-vs10\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ).pre
+vs10\$(GDKWIN32_VS1X_PROJ):
        @echo Generating $@...
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@       \
        --instring=";INSIDE_GDK_WIN32;%"        \
        --outstring=";INSIDE_GDK_WIN32;GDK_WIN32_ENABLE_EGL;%"
        @-del $**
 !else
-regenerate-gdkwin32-vsproj-msg:
-       @echo Regenerating gdk3-win32 Visual Studio projects without EGL support...
-
-vs9\$(GDKWIN32_VS9_PROJ): vs9\$(GDKWIN32_VS9_PROJ).pre
-vs10\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ).pre
+regenerate-gdk-vsproj-msg:
+       @echo Regenerating GDK Visual Studio projects without EGL support...
 
 vs9\$(GDKWIN32_VS9_PROJ) vs10\$(GDKWIN32_VS1X_PROJ):
        @echo Renaming $** to $@...
@@ -402,28 +527,28 @@ vs9\$(GDKWIN32_VS9_PROJ) vs10\$(GDKWIN32_VS1X_PROJ):
 
 !ifdef FONT_FEATURES_DEMO
 !ifdef FONT_FEATURES_USE_PANGOFT2
-vs9\$(DEMO_VS9_PROJ): vs9\$(DEMO_VS9_PROJ).pre
+vs9\$(DEMO_VS9_PROJ):
        @echo Generating $@...
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@       \
        --instring="AdditionalDependencies=\"\""        \
        --outstring="AdditionalDependencies=\"$(DEMO_DEP_LIBS_PANGOFT2_VS9)\""
        @-del $**
 
-vs10\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ).pre
+vs10\$(DEMO_VS1X_PROJ):
        @echo Generating $@...
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@       \
        --instring=">%(AdditionalDependencies)<"        \
        --outstring=">$(DEMO_DEP_LIBS_PANGOFT2_VS1X);%(AdditionalDependencies)<"
        @-del $**
 !else
-vs9\$(DEMO_VS9_PROJ): vs9\$(DEMO_VS9_PROJ).pre
+vs9\$(DEMO_VS9_PROJ):
        @echo Generating $@...
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@       \
        --instring="AdditionalDependencies=\"\""        \
        --outstring="AdditionalDependencies=\"$(DEMO_DEP_LIBS_NEW_PANGO)\""
        @-del $**
 
-vs10\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ).pre
+vs10\$(DEMO_VS1X_PROJ):
        @echo Generating $@...
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@       \
        --instring=">%(AdditionalDependencies)<"        \
@@ -431,20 +556,35 @@ vs10\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ).pre
        @-del $**
 !endif
 !else
-vs9\$(DEMO_VS9_PROJ): vs9\$(DEMO_VS9_PROJ).pre
-vs10\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ).pre
-
 vs9\$(DEMO_VS9_PROJ) vs10\$(DEMO_VS1X_PROJ):
        @echo Renaming $** to $@...
        @move $** $@
 !endif
 
+vs11\$(GDK_VS1X_PROJ): vs10\$(GDK_VS1X_PROJ)
+vs12\$(GDK_VS1X_PROJ): vs10\$(GDK_VS1X_PROJ)
+vs14\$(GDK_VS1X_PROJ): vs10\$(GDK_VS1X_PROJ)
+vs15\$(GDK_VS1X_PROJ): vs10\$(GDK_VS1X_PROJ)
+vs16\$(GDK_VS1X_PROJ): vs10\$(GDK_VS1X_PROJ)
+vs17\$(GDK_VS1X_PROJ): vs10\$(GDK_VS1X_PROJ)
 vs11\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ)
 vs12\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ)
 vs14\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ)
 vs15\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ)
 vs16\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ)
 vs17\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ)
+vs11\$(GDKBROADWAY_VS1X_PROJ): vs10\$(GDKBROADWAY_VS1X_PROJ)
+vs12\$(GDKBROADWAY_VS1X_PROJ): vs10\$(GDKBROADWAY_VS1X_PROJ)
+vs14\$(GDKBROADWAY_VS1X_PROJ): vs10\$(GDKBROADWAY_VS1X_PROJ)
+vs15\$(GDKBROADWAY_VS1X_PROJ): vs10\$(GDKBROADWAY_VS1X_PROJ)
+vs16\$(GDKBROADWAY_VS1X_PROJ): vs10\$(GDKBROADWAY_VS1X_PROJ)
+vs17\$(GDKBROADWAY_VS1X_PROJ): vs10\$(GDKBROADWAY_VS1X_PROJ)
+vs11\$(BROADWAYD_VS1X_PROJ): vs10\$(BROADWAYD_VS1X_PROJ)
+vs12\$(BROADWAYD_VS1X_PROJ): vs10\$(BROADWAYD_VS1X_PROJ)
+vs14\$(BROADWAYD_VS1X_PROJ): vs10\$(BROADWAYD_VS1X_PROJ)
+vs15\$(BROADWAYD_VS1X_PROJ): vs10\$(BROADWAYD_VS1X_PROJ)
+vs16\$(BROADWAYD_VS1X_PROJ): vs10\$(BROADWAYD_VS1X_PROJ)
+vs17\$(BROADWAYD_VS1X_PROJ): vs10\$(BROADWAYD_VS1X_PROJ)
 vs11\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ)
 vs12\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ)
 vs14\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ)
@@ -452,12 +592,30 @@ vs15\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ)
 vs16\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ)
 vs17\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ)
 
+vs11\$(GDK_VS1X_PROJ_FILTERS): vs10\$(GDK_VS1X_PROJ_FILTERS)
+vs12\$(GDK_VS1X_PROJ_FILTERS): vs10\$(GDK_VS1X_PROJ_FILTERS)
+vs14\$(GDK_VS1X_PROJ_FILTERS): vs10\$(GDK_VS1X_PROJ_FILTERS)
+vs15\$(GDK_VS1X_PROJ_FILTERS): vs10\$(GDK_VS1X_PROJ_FILTERS)
+vs16\$(GDK_VS1X_PROJ_FILTERS): vs10\$(GDK_VS1X_PROJ_FILTERS)
+vs17\$(GDK_VS1X_PROJ_FILTERS): vs10\$(GDK_VS1X_PROJ_FILTERS)
 vs11\$(GDKWIN32_VS1X_PROJ_FILTERS): vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
 vs12\$(GDKWIN32_VS1X_PROJ_FILTERS): vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
 vs14\$(GDKWIN32_VS1X_PROJ_FILTERS): vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
 vs15\$(GDKWIN32_VS1X_PROJ_FILTERS): vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
 vs16\$(GDKWIN32_VS1X_PROJ_FILTERS): vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
 vs17\$(GDKWIN32_VS1X_PROJ_FILTERS): vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)
+vs11\$(GDKBROADWAY_VS1X_PROJ_FILTERS): vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+vs12\$(GDKBROADWAY_VS1X_PROJ_FILTERS): vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+vs14\$(GDKBROADWAY_VS1X_PROJ_FILTERS): vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+vs15\$(GDKBROADWAY_VS1X_PROJ_FILTERS): vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+vs16\$(GDKBROADWAY_VS1X_PROJ_FILTERS): vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+vs17\$(GDKBROADWAY_VS1X_PROJ_FILTERS): vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
+vs11\$(BROADWAYD_VS1X_PROJ_FILTERS): vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
+vs12\$(BROADWAYD_VS1X_PROJ_FILTERS): vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
+vs14\$(BROADWAYD_VS1X_PROJ_FILTERS): vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
+vs15\$(BROADWAYD_VS1X_PROJ_FILTERS): vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
+vs16\$(BROADWAYD_VS1X_PROJ_FILTERS): vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
+vs17\$(BROADWAYD_VS1X_PROJ_FILTERS): vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)
 vs11\$(DEMO_VS1X_PROJ_FILTERS): vs10\$(DEMO_VS1X_PROJ_FILTERS)
 vs12\$(DEMO_VS1X_PROJ_FILTERS): vs10\$(DEMO_VS1X_PROJ_FILTERS)
 vs14\$(DEMO_VS1X_PROJ_FILTERS): vs10\$(DEMO_VS1X_PROJ_FILTERS)
@@ -465,43 +623,79 @@ vs15\$(DEMO_VS1X_PROJ_FILTERS): vs10\$(DEMO_VS1X_PROJ_FILTERS)
 vs16\$(DEMO_VS1X_PROJ_FILTERS): vs10\$(DEMO_VS1X_PROJ_FILTERS)
 vs17\$(DEMO_VS1X_PROJ_FILTERS): vs10\$(DEMO_VS1X_PROJ_FILTERS)
 
+vs11\$(GDK_VS1X_PROJ)  \
 vs11\$(GDKWIN32_VS1X_PROJ)     \
+vs11\$(GDKBROADWAY_VS1X_PROJ)  \
+vs11\$(BROADWAYD_VS1X_PROJ)    \
 vs11\$(DEMO_VS1X_PROJ):
        @echo Copying and updating $** for VS2012
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ --instring=">v100<" --outstring=">v110<"
 
+vs12\$(GDK_VS1X_PROJ)  \
 vs12\$(GDKWIN32_VS1X_PROJ)     \
+vs12\$(GDKBROADWAY_VS1X_PROJ)  \
+vs12\$(BROADWAYD_VS1X_PROJ)    \
 vs12\$(DEMO_VS1X_PROJ):
        @echo Copying and updating $** for VS2013
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ --instring=">v100<" --outstring=">v120<"
 
+vs14\$(GDK_VS1X_PROJ)  \
 vs14\$(GDKWIN32_VS1X_PROJ)     \
+vs14\$(GDKBROADWAY_VS1X_PROJ)  \
+vs14\$(BROADWAYD_VS1X_PROJ)    \
 vs14\$(DEMO_VS1X_PROJ):
        @echo Copying and updating $** for VS2015
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ --instring=">v100<" --outstring=">v140<"
 
+vs15\$(GDK_VS1X_PROJ)  \
 vs15\$(GDKWIN32_VS1X_PROJ)     \
+vs15\$(GDKBROADWAY_VS1X_PROJ)  \
+vs15\$(BROADWAYD_VS1X_PROJ)    \
 vs15\$(DEMO_VS1X_PROJ):
        @echo Copying and updating $** for VS2017
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ --instring=">v100<" --outstring=">v141<"
 
+vs16\$(GDK_VS1X_PROJ)  \
 vs16\$(GDKWIN32_VS1X_PROJ)     \
+vs16\$(GDKBROADWAY_VS1X_PROJ)  \
+vs16\$(BROADWAYD_VS1X_PROJ)    \
 vs16\$(DEMO_VS1X_PROJ):
        @echo Copying and updating $** for VS2019
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ --instring=">v100<" --outstring=">v142<"
 
+vs17\$(GDK_VS1X_PROJ)  \
 vs17\$(GDKWIN32_VS1X_PROJ)     \
+vs17\$(GDKBROADWAY_VS1X_PROJ)  \
+vs17\$(BROADWAYD_VS1X_PROJ)    \
 vs17\$(DEMO_VS1X_PROJ):
        @echo Copying and updating $** for VS2022
        @$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ --instring=">v100<" --outstring=">v143<"
 
 # VS2012+ .vcxproj.filters: We simply copy the VS2010 ones
+vs11\$(GDK_VS1X_PROJ_FILTERS)  \
+vs12\$(GDK_VS1X_PROJ_FILTERS)  \
+vs14\$(GDK_VS1X_PROJ_FILTERS)  \
+vs15\$(GDK_VS1X_PROJ_FILTERS)  \
+vs16\$(GDK_VS1X_PROJ_FILTERS)  \
+vs17\$(GDK_VS1X_PROJ_FILTERS)  \
 vs11\$(GDKWIN32_VS1X_PROJ_FILTERS)     \
 vs12\$(GDKWIN32_VS1X_PROJ_FILTERS)     \
 vs14\$(GDKWIN32_VS1X_PROJ_FILTERS)     \
 vs15\$(GDKWIN32_VS1X_PROJ_FILTERS)     \
 vs16\$(GDKWIN32_VS1X_PROJ_FILTERS)     \
 vs17\$(GDKWIN32_VS1X_PROJ_FILTERS)     \
+vs11\$(GDKBROADWAY_VS1X_PROJ_FILTERS)  \
+vs12\$(GDKBROADWAY_VS1X_PROJ_FILTERS)  \
+vs14\$(GDKBROADWAY_VS1X_PROJ_FILTERS)  \
+vs15\$(GDKBROADWAY_VS1X_PROJ_FILTERS)  \
+vs16\$(GDKBROADWAY_VS1X_PROJ_FILTERS)  \
+vs17\$(GDKBROADWAY_VS1X_PROJ_FILTERS)  \
+vs11\$(BROADWAYD_VS1X_PROJ_FILTERS)    \
+vs12\$(BROADWAYD_VS1X_PROJ_FILTERS)    \
+vs14\$(BROADWAYD_VS1X_PROJ_FILTERS)    \
+vs15\$(BROADWAYD_VS1X_PROJ_FILTERS)    \
+vs16\$(BROADWAYD_VS1X_PROJ_FILTERS)    \
+vs17\$(BROADWAYD_VS1X_PROJ_FILTERS)    \
 vs11\$(DEMO_VS1X_PROJ_FILTERS) \
 vs12\$(DEMO_VS1X_PROJ_FILTERS) \
 vs14\$(DEMO_VS1X_PROJ_FILTERS) \
@@ -530,7 +724,7 @@ $(EMOJI_GRESOURCE):
        @echo Generating $@...
        @$(GLIB_COMPILE_RESOURCES) --sourcedir=..\gtk\emoji $@.xml --target=$@
 
-regenerate-gdkwin32-vsproj: regenerate-gdkwin32-vsproj-msg $(GTK3_GDK_WIN32_VCPROJS)
+regenerate-gdk-vsproj: regenerate-gdk-vsproj-msg $(GTK3_GDK_VCPROJS)
 
 regenerate-demos-h-win32: ..\demos\gtk-demo\geninclude.py $(demo_actual_sources) $(GTK3_DEMO_VCPROJS)
        @echo Regenerating demos.h.win32 and gtk3-demo VS project files...
diff --git a/win32/vs10/broadwayd.vcxprojin b/win32/vs10/broadwayd.vcxprojin
index 9436f2e94e..c291510b44 100644
--- a/win32/vs10/broadwayd.vcxprojin
+++ b/win32/vs10/broadwayd.vcxprojin
@@ -50,7 +50,7 @@
       
<AdditionalIncludeDirectories>$(GdkBaseIncludes);..\..\gdk\broadway;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PrecompiledHeader></PrecompiledHeader>
       <WarningLevel>Level3</WarningLevel>
-      
+
       <!-- For Broadway_Debug -->
       <Optimization Condition="'$(Configuration)' == 'Debug_Broadway'">Disabled</Optimization>
       <PreprocessorDefinitions Condition="'$(Configuration)' == 
'Debug_Broadway'">_DEBUG;$(GdkDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]