win32: Support (re-)generating gdkenumtypes.[c|h]

Add support in the NMake Makefiles used by the Visual Studio builds to generate
the enumeration sources in gdk/ in its own build directory.
This commit is contained in:
Chun-wei Fan
2021-12-21 17:30:03 +08:00
parent caa1c0e4e5
commit 74d43defc5
2 changed files with 33 additions and 0 deletions

View File

@ -33,6 +33,23 @@
NULL=
# For GDK enumeration sources
!include ..\gdk\gdk-pub-headers.mak
!if [call create-lists.bat header gdk_headers.mak GDK_PUBLIC_HEADERS]
!endif
!if [for %f in ($(gdk_public_h_sources) $(deprecated_h_sources)) do @call create-lists.bat file gdk_headers.mak ../gdk/%f]
!endif
!if [call create-lists.bat footer gdk_headers.mak]
!endif
!include gdk_headers.mak
!if [del /f /q gdk_headers.mak]
!endif
# For GDK resources
!if [call create-lists.bat header resources_sources.mak GDK_RESOURCES]