MSVC Projects: Generate widget factory GResource sources

Add rules in the helper NMake Makefiles to generate the GResource
sources for gtk3-widget-factory.  This prepares for us to add project
files to build that demo program.
This commit is contained in:
Chun-wei Fan
2022-05-27 18:47:35 +08:00
parent 3c3b7e183a
commit e7efafcae7
2 changed files with 18 additions and 1 deletions

View File

@ -211,6 +211,15 @@ NULL=
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
!endif
!if [call create-lists.bat header resource_sources_msvc$(VSVER)_$(PLAT).mak WIDGET_FACTORY_RESOURCES]
!endif
!if [for /f %f in ('$(GLIB_COMPILE_RESOURCES) --sourcedir=..\demos\widget-factory --generate-dependencies ..\demos\widget-factory\widget-factory.gresource.xml') do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
!endif
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
!endif
!include resource_sources_msvc$(VSVER)_$(PLAT).mak
!if [del /f /q resource_sources_msvc$(VSVER)_$(PLAT).mak]