"XmlXCAFPlugin",
]
kernel_list = [
- "SalomeIDLKernel",
- "SalomeHDFPersist",
- "SalomeNS",
- "SALOMELocalTrace",
+ "DF",
+ "Launcher",
"OpUtil",
- "SalomeLifeCycleCORBA",
+ "Registry",
+ "ResourcesManager",
+ "SALOMEBasics",
+ "SalomeBatch",
"SalomeCatalog",
- "SalomeDSClient",
- "with_loggerTraceCollector",
+ "SalomeCommunication",
"SalomeContainer",
- "SalomeResourcesManager",
- "TOOLSDS",
+ "SalomeDSCContainer",
+ "SalomeDSClient",
"SalomeDSImpl",
+ "SalomeDS",
"SalomeGenericObj",
- "Registry",
- "SalomeNotification",
- "SALOMEBasics",
+ "SalomeHDFPersist",
+ "SalomeIDLKernel",
"SalomeLauncher",
+ "SalomeLifeCycleCORBA",
+ "SALOMELocalTrace",
+ "SalomeLoggerServer",
+ "SalomeNotification",
+ "SalomeNS",
+ "SalomeResourcesManager",
+ "TOOLSDS",
+ "with_loggerTraceCollector",
]
gui_list = [
"caf",
elif self.module == "med":
newlines.append("""
SET(MED_ENABLE_KERNEL ON)
+ SET(MED_ENABLE_GUI ON)
""")
pass
# --
ENDIF(ext STREQUAL .la)
IF(WINDOWS)
SET(vars -Xlinker -export-dynamic -module -Wl,-E)
+ SET(vars ${vars} -lutil -lm)
FOREACH(v ${vars})
IF(lib STREQUAL v)
SET(lib)
ENDIF(WINDOWS)
''')
# --
+ if self.module == "med":
+ newlines.append(r'''
+ IF(WINDOWS)
+ SET_TARGET_PROPERTIES(${name} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMTD")
+ ENDIF(WINDOWS)
+ ''')
+ pass
+ # --
return
def setCompilationFlags(self, key, newlines):
newlines.append(r'''
SET(var)
IF(WINDOWS)
- IF(name STREQUAL SalomeIDLKernel)
- SET(var ${var} -DNOGDI)
- ENDIF(name STREQUAL SalomeIDLKernel)
- IF(name STREQUAL SalomeDS)
- SET(var ${var} -DNOGDI)
- ENDIF(name STREQUAL SalomeDS)
- IF(name STREQUAL SALOMEDS_Client_exe)
- SET(var ${var} -DNOGDI)
- ENDIF(name STREQUAL SALOMEDS_Client_exe)
- IF(name STREQUAL SalomeIDLGEOM)
- SET(var ${var} -DNOGDI)
- ENDIF(name STREQUAL SalomeIDLGEOM)
- IF(name STREQUAL GEOMEngine)
+ SET(targets)
+ SET(targets ${targets} SalomeIDLKernel)
+ SET(targets ${targets} SALOMEDS_Client_exe)
+ SET(targets ${targets} SalomeIDLGEOM)
+ SET(targets ${targets} GEOMEngine)
+ SET(targets ${targets} MEDEngine)
+ FOREACH(target ${targets})
+ IF(name STREQUAL ${target})
SET(var ${var} -DNOGDI)
- ENDIF(name STREQUAL GEOMEngine)
+ ENDIF(name STREQUAL ${target})
+ ENDFOREACH(target ${targets})
ENDIF(WINDOWS)
''')
+ # --
+ newlines.append(r'''
+ IF(WINDOWS)
+ SET(var ${var} -D_USE_MATH_DEFINES)
+ ENDIF(WINDOWS)
+ ''')
+ # --
if self.module in ["geom", "med"]:
newlines.append(r'''
SET(var ${var} -I${CMAKE_CURRENT_SOURCE_DIR})
# --
self.setLibAdd(key, newlines)
# --
- if key != "noinst_LTLIBRARIES":
+ if 1: # key != "noinst_LTLIBRARIES":
if self.module == "medfile":
newlines.append(r'''
SET(DEST lib)