[gtk/dont-dist-gresource-srcs] win32: Update Visual Studio projects
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dont-dist-gresource-srcs] win32: Update Visual Studio projects
- Date: Tue, 17 May 2022 15:50:44 +0000 (UTC)
commit dc9d60fc9a306bfa733395abfdb2d8a373824ed9
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue May 17 19:51:15 2022 +0800
win32: Update Visual Studio projects
This is a follow-up commit so that the generated GResources sources for
the demos are included in the project files.
As a result, don't include demo_resources.c when regenerating
gtk3-demo.vc[x]proj for toggling on or off the font features demo, as it
would have been there.
win32/generate-msvc.mak | 2 +-
win32/vs10/gtk3-demo-application.vcxproj.filtersin | 1 +
win32/vs10/gtk3-demo-application.vcxprojin | 1 +
win32/vs10/gtk3-demo.vcxproj.filtersin | 1 +
win32/vs10/gtk3-demo.vcxprojin | 1 +
win32/vs10/gtk3-icon-browser.vcxproj.filtersin | 1 +
win32/vs10/gtk3-icon-browser.vcxprojin | 1 +
win32/vs9/gtk3-demo-application.vcprojin | 1 +
win32/vs9/gtk3-demo.vcprojin | 1 +
win32/vs9/gtk3-icon-browser.vcprojin | 1 +
10 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/win32/generate-msvc.mak b/win32/generate-msvc.mak
index 63cf6c5c00..97d4a23412 100644
--- a/win32/generate-msvc.mak
+++ b/win32/generate-msvc.mak
@@ -269,7 +269,7 @@ regenerate-demos-h-win32: ..\demos\gtk-demo\geninclude.py $(demo_actual_sources)
@cd ..\..\win32
@echo Regenerating gtk3-demo VS project files...
@-del vs9\$(DEMO_VS9_PROJ) vs10\$(DEMO_VS10_PROJ) vs10\$(DEMO_VS10_PROJ_FILTERS)
- @for %%s in ($(demo_sources) gtkfishbowl.c demo_resources.c main.c) do \
+ @for %%s in ($(demo_sources) gtkfishbowl.c main.c) do \
@echo. ^<File RelativePath^="..\..\demos\gtk-demo\%%s" /^>>>gtk3-demo.sourcefiles & \
@echo. ^<ClCompile Include^="..\..\demos\gtk-demo\%%s" /^>>>gtk3-demo.vs10.sourcefiles & \
@echo. ^<ClCompile Include^="..\..\demos\gtk-demo\%%s"^>^<Filter^>Source
Files^</Filter^>^</ClCompile^>>>gtk3-demo.vs10.sourcefiles.filters
diff --git a/win32/vs10/gtk3-demo-application.vcxproj.filtersin
b/win32/vs10/gtk3-demo-application.vcxproj.filtersin
index 5b356ef76b..b6dc6bdd9d 100644
--- a/win32/vs10/gtk3-demo-application.vcxproj.filtersin
+++ b/win32/vs10/gtk3-demo-application.vcxproj.filtersin
@@ -16,5 +16,6 @@
</ItemGroup>
<ItemGroup>
#include "gtk3-demo-application.vs10.sourcefiles.filters"
+ <ClCompile Include="..\..\demos\gtk-demo\demo_resources.c"><Filter>Source Files</Filter></ClCompile>
</ItemGroup>
</Project>
diff --git a/win32/vs10/gtk3-demo-application.vcxprojin b/win32/vs10/gtk3-demo-application.vcxprojin
index 9167c4c2c4..a4ef630400 100644
--- a/win32/vs10/gtk3-demo-application.vcxprojin
+++ b/win32/vs10/gtk3-demo-application.vcxprojin
@@ -160,6 +160,7 @@
</ItemDefinitionGroup>
<ItemGroup>
#include "gtk3-demo-application.vs10.sourcefiles"
+ <ClCompile Include="..\..\demos\gtk-demo\demo_resources.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="gdk-3.vcxproj">
diff --git a/win32/vs10/gtk3-demo.vcxproj.filtersin b/win32/vs10/gtk3-demo.vcxproj.filtersin
index a8fa97ddc6..b67f402acb 100644
--- a/win32/vs10/gtk3-demo.vcxproj.filtersin
+++ b/win32/vs10/gtk3-demo.vcxproj.filtersin
@@ -12,5 +12,6 @@
</ItemGroup>
<ItemGroup>
#include "gtk3-demo.vs10.sourcefiles.filters"
+ <ClCompile Include="..\..\demos\gtk-demo\demo_resources.c"><Filter>Source Files</Filter></ClCompile>
</ItemGroup>
</Project>
diff --git a/win32/vs10/gtk3-demo.vcxprojin b/win32/vs10/gtk3-demo.vcxprojin
index 76f22e512a..c25ae76d51 100644
--- a/win32/vs10/gtk3-demo.vcxprojin
+++ b/win32/vs10/gtk3-demo.vcxprojin
@@ -166,6 +166,7 @@
</ItemDefinitionGroup>
<ItemGroup>
#include "gtk3-demo.vs10.sourcefiles"
+ <ClCompile Include="..\..\demos\gtk-demo\demo_resources.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="gdk-3.vcxproj">
diff --git a/win32/vs10/gtk3-icon-browser.vcxproj.filtersin b/win32/vs10/gtk3-icon-browser.vcxproj.filtersin
index 2063a07e95..1822eb1e0a 100644
--- a/win32/vs10/gtk3-icon-browser.vcxproj.filtersin
+++ b/win32/vs10/gtk3-icon-browser.vcxproj.filtersin
@@ -16,5 +16,6 @@
</ItemGroup>
<ItemGroup>
#include "gtk3-icon-browser.vs10.sourcefiles.filters"
+ <ClCompile Include="..\..\demos\icon-browser\resources.c"><Filter>Source Files</Filter></ClCompile>
</ItemGroup>
</Project>
diff --git a/win32/vs10/gtk3-icon-browser.vcxprojin b/win32/vs10/gtk3-icon-browser.vcxprojin
index 70f76d8ccf..009c7507b9 100644
--- a/win32/vs10/gtk3-icon-browser.vcxprojin
+++ b/win32/vs10/gtk3-icon-browser.vcxprojin
@@ -160,6 +160,7 @@
</ItemDefinitionGroup>
<ItemGroup>
#include "gtk3-icon-browser.vs10.sourcefiles"
+ <ClCompile Include="..\..\demos\icon-browser\resources.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="gdk-3.vcxproj">
diff --git a/win32/vs9/gtk3-demo-application.vcprojin b/win32/vs9/gtk3-demo-application.vcprojin
index 41a2d3367b..b9eb1577e7 100644
--- a/win32/vs9/gtk3-demo-application.vcprojin
+++ b/win32/vs9/gtk3-demo-application.vcprojin
@@ -153,6 +153,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
#include "gtk3-demo-application.sourcefiles"
+ <File RelativePath="..\..\demos\gtk-demo\demo_resources.c" />
</Filter>
<Filter
Name="Headers"
diff --git a/win32/vs9/gtk3-demo.vcprojin b/win32/vs9/gtk3-demo.vcprojin
index 48e1f9f60a..50d279c442 100644
--- a/win32/vs9/gtk3-demo.vcprojin
+++ b/win32/vs9/gtk3-demo.vcprojin
@@ -157,6 +157,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
#include "gtk3-demo.sourcefiles"
+ <File RelativePath="..\..\demos\gtk-demo\demo_resources.c" />
</Filter>
<Filter
Name="Header Files"
diff --git a/win32/vs9/gtk3-icon-browser.vcprojin b/win32/vs9/gtk3-icon-browser.vcprojin
index 971235aff8..cc2c8b7782 100644
--- a/win32/vs9/gtk3-icon-browser.vcprojin
+++ b/win32/vs9/gtk3-icon-browser.vcprojin
@@ -157,6 +157,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
#include "gtk3-icon-browser.sourcefiles"
+ <File RelativePath="..\..\demos\icon-browser\resources.c" />
</Filter>
<Filter
Name="Headers"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]