[gtkmm] MSVC_NMake/create-lists-msvc.mak: Work around command length limits
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] MSVC_NMake/create-lists-msvc.mak: Work around command length limits
- Date: Sat, 23 Jan 2021 03:25:44 +0000 (UTC)
commit cf4a36016db694e7ec4e1a6ef26a35bb34d75908
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Sat Jan 23 11:22:11 2021 +0800
MSVC_NMake/create-lists-msvc.mak: Work around command length limits
The list of .hg sources in gtk/src grew too long for the NMake Makefiles
to handle, so work around it by excluding the file name extensions by
omitting them when generating the list of object/.hg files dynamically,
which should keep us quite safe in that regard.
This will fix the build with the NMake Makefiles, with the fixes for
issue #85.
MSVC_NMake/create-lists-msvc.mak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/MSVC_NMake/create-lists-msvc.mak b/MSVC_NMake/create-lists-msvc.mak
index 20710e67..08fbe081 100644
--- a/MSVC_NMake/create-lists-msvc.mak
+++ b/MSVC_NMake/create-lists-msvc.mak
@@ -62,7 +62,7 @@ gdkmm_generated_private_headers = $(files_hg:.hg=_p.h)
!if [call create-lists.bat header gtkmm.mak gtkmm_OBJS]
!endif
-!if [for %c in ($(GTKMM_INT_GENERATED_SOURCES)) do @if "%~xc" == ".cc" @call create-lists.bat file gtkmm.mak
vs^$(VSVER)\^$(CFG)\^$(PLAT)\gtkmm\%~nc.obj]
+!if [for %c in ($(GTKMM_INT_GENERATED_SOURCES:.cc=)) do @call create-lists.bat file gtkmm.mak
vs^$(VSVER)\^$(CFG)\^$(PLAT)\gtkmm\%~nc.obj]
!endif
!if [for %c in ($(GTKMM_INT_EXTRA_SOURCES)) do @if "%~xc" == ".cc" @call create-lists.bat file gtkmm.mak
vs^$(VSVER)\^$(CFG)\^$(PLAT)\gtkmm\%~nc.obj]
@@ -77,7 +77,7 @@ gdkmm_generated_private_headers = $(files_hg:.hg=_p.h)
!if [call create-lists.bat header gtkmm.mak gtkmm_real_hg]
!endif
-!if [for %c in ($(gtkmm_files_any_hg)) do @call create-lists.bat file gtkmm.mak ..\gtk\src\%c]
+!if [for %c in ($(gtkmm_files_any_hg:.hg=)) do @call create-lists.bat file gtkmm.mak ..\gtk\src\%c.hg]
!endif
!if [call create-lists.bat footer gtkmm.mak]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]