]> SALOME platform Git repositories - tools/yacsgen.git/commitdiff
Salome HOME
bug correction : generated modules with gui require boost, they don't compile if...
authorcrouzet <crouzet>
Mon, 13 Feb 2012 13:45:43 +0000 (13:45 +0000)
committercrouzet <crouzet>
Mon, 13 Feb 2012 13:45:43 +0000 (13:45 +0000)
module_generator/gener.py
module_generator/gui_tmpl.py

index d1c224179f1aaefc9cd2704db7ef959954b6eef0..ff1c535184f8ea2711f0ead261850d83355ccd32 100644 (file)
@@ -399,6 +399,8 @@ AM_CFLAGS=$(SALOME_INCLUDES) -fexceptions
     catalogfile = "%sCatalog.xml" % module.name
 
     need_boost=0
+    if module.gui:
+        need_boost=1
     for compo in module.components:
       if hasattr(compo,"calciumextendedinterface") and compo.calciumextendedinterface:
         need_boost=1
index cd3c552a5316f5b8d80adebb23f7baf3ac1ad73c..b8c34530f03f7220a6b41d69a38739a1f68fe915 100644 (file)
@@ -54,7 +54,7 @@ BUILT_SOURCES=${uisources}
 
 lib_LTLIBRARIES= lib${module}.la
 lib${module}_la_SOURCES = ${sources}
-lib${module}_la_CPPFLAGS = $$(SALOME_INCLUDES) $$(GUI_CXXFLAGS) $$(QT_INCLUDES) -I$$(top_builddir)/idl
+lib${module}_la_CPPFLAGS = $$(SALOME_INCLUDES) $$(GUI_CXXFLAGS) $$(BOOST_CPPFLAGS) $$(QT_INCLUDES) -I$$(top_builddir)/idl
 lib${module}_la_LIBADD   = -L$$(top_builddir)/idl -lSalomeIDL${module}
 
 salomeres_DATA =SalomeApp.xml ${other_sources}