[glibmm/glibmm-2-64] NMake Makefiles: Fix building GIO tests/examples



commit 9f5e00ff7094261c965d24c2fd8af375c40f4296
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Jun 16 16:22:51 2020 +0800

    NMake Makefiles: Fix building GIO tests/examples
    
    Make sure we look for the GIO headers first in this build tree or source tree

 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 6731eb2c..e6dff470 100644
--- a/MSVC_NMake/create-lists-msvc.mak
+++ b/MSVC_NMake/create-lists-msvc.mak
@@ -110,10 +110,10 @@ glibmm_files_extra_ph_int = $(glibmm_files_extra_ph:/=\)
 !if [echo.>>glibmm.mak]
 !endif
 
-!if [for %d in (examples tests) do @for /f %t in ('dir /ad /b ..\%d') do @if not "%t" == "child_watch" if 
not "%t" == "dbus" if not "%t" == "iochannel_stream" if not "%t" == "network" if not "%t" == "thread" for %s 
in (..\%d\%t\*.cc) do @echo vs^$(VSVER)\^$(CFG)\^$(PLAT)\glibmm-%d\%t-%~ns.obj: %s>>glibmm.mak & @echo. if 
not exist ^$(@D)\ md ^$(@D)>>glibmm.mak & @echo.     ^$(CXX) ^$(GLIBMM_EX_CFLAGS) ^$(CFLAGS) 
/Fo^$(@D)\%t-%~ns.obj /Fd^$(@D)\ ^$** /c>>glibmm.mak & @echo.>>glibmm.mak]
+!if [for %d in (examples tests) do @for /f %t in ('dir /ad /b ..\%d') do @if not "%t" == "child_watch" if 
not "%t" == "dbus" if not "%t" == "iochannel_stream" if not "%t" == "network" if not "%t" == "thread" for %s 
in (..\%d\%t\*.cc) do @echo vs^$(VSVER)\^$(CFG)\^$(PLAT)\glibmm-%d\%t-%~ns.obj: %s>>glibmm.mak & @echo. if 
not exist ^$(@D)\ md ^$(@D)>>glibmm.mak & @echo.     ^$(CXX) ^$(GIOMM_EX_CFLAGS) ^$(CFLAGS) 
/Fo^$(@D)\%t-%~ns.obj /Fd^$(@D)\ ^$** /c>>glibmm.mak & @echo.>>glibmm.mak]
 !endif
 
-!if [for %t in (dbus network thread) do @for %s in (..\examples\%t\*.cc) do @echo 
vs^$(VSVER)\^$(CFG)\^$(PLAT)\glibmm-examples\%t-%~ns.obj: %s>>glibmm.mak & @echo. if not exist ^$(@D)\ md 
^$(@D)>>glibmm.mak & @echo.        ^$(CXX) ^$(GLIBMM_EX_CFLAGS) ^$(CFLAGS) /Fo^$(@D)\%t-%~ns.obj /Fd^$(@D)\ 
^$** /c>>glibmm.mak & @echo.>>glibmm.mak]
+!if [for %t in (dbus network thread) do @for %s in (..\examples\%t\*.cc) do @echo 
vs^$(VSVER)\^$(CFG)\^$(PLAT)\glibmm-examples\%t-%~ns.obj: %s>>glibmm.mak & @echo. if not exist ^$(@D)\ md 
^$(@D)>>glibmm.mak & @echo.        ^$(CXX) ^$(GIOMM_EX_CFLAGS) ^$(CFLAGS) /Fo^$(@D)\%t-%~ns.obj /Fd^$(@D)\ 
^$** /c>>glibmm.mak & @echo.>>glibmm.mak]
 !endif
 
 !if [for %d in (examples tests) do @for /f %t in ('dir /ad /b ..\%d') do @if not "%t" == "child_watch" if 
not "%t" == "dbus" if not "%t" == "iochannel_stream" if not "%t" == "network" if not "%t" == "thread" call 
create-lists.bat header glibmm.mak %t_OBJS & @(for %s in (..\%d\%t\*.cc) do @call create-lists.bat file 
glibmm.mak vs$(VSVER)\$(CFG)\$(PLAT)\glibmm-%d\%t-%~ns.obj) & @call create-lists.bat footer glibmm.mak]


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