LIST(APPEND _${PROJECT_NAME}_exposed_targets
SalomeIDLMED SalomeIDLMEDTests medcouplingcorba medcouplingclient)
IF(NOT SALOME_MED_MICROMED)
- LIST(APPEND _${PROJECT_NAME}_exposed_targets medcalculator)
+ LIST(APPEND _${PROJECT_NAME}_exposed_targets medcalculator MEDOPFactoryEngine)
IF(SALOME_MED_ENABLE_PYTHON)
LIST(APPEND _${PROJECT_NAME}_exposed_targets medcalculatorspython)
ENDIF()
IF(SALOME_BUILD_GUI)
IF(NOT SALOME_MED_MICROMED)
- IF(SALOME_MED_ENABLE_PYTHON)
- LIST(APPEND _${PROJECT_NAME}_exposed_targets
- MEDOPFactoryEngine MEDOPGUI_dialogs MEDOPGUI)
- ENDIF()
+ LIST(APPEND _${PROJECT_NAME}_exposed_targets
+ MEDOPGUI_dialogs MEDOPGUI)
ENDIF()
ENDIF()
ADD_SUBDIRECTORY(MEDCouplingCorba)
IF(NOT SALOME_MED_MICROMED)
ADD_SUBDIRECTORY(MEDCalculator)
+ ADD_SUBDIRECTORY(MEDOP)
ENDIF(NOT SALOME_MED_MICROMED)
IF(SALOME_MED_ENABLE_PYTHON)
ADD_SUBDIRECTORY(MEDCouplingCorba_Swig)
IF(NOT SALOME_MED_MICROMED)
IF(SALOME_MED_ENABLE_PYTHON)
#ADD_SUBDIRECTORY(MEDGUI)
- ADD_SUBDIRECTORY(MEDOP)
ENDIF(SALOME_MED_ENABLE_PYTHON)
ENDIF(NOT SALOME_MED_MICROMED)
ENDIF(SALOME_BUILD_GUI)
#
ADD_SUBDIRECTORY(cmp)
-ADD_SUBDIRECTORY(tui)
ADD_SUBDIRECTORY(res)
-ADD_SUBDIRECTORY(gui)
-ADD_SUBDIRECTORY(exe)
+
+IF(SALOME_BUILD_GUI)
+ ADD_SUBDIRECTORY(gui)
+ENDIF()
+
+IF(SALOME_MED_ENABLE_PYTHON)
+ ADD_SUBDIRECTORY(tui)
+ ADD_SUBDIRECTORY(exe)
+ENDIF()
+
IF(SALOME_BUILD_DOC)
ADD_SUBDIRECTORY(doc)
ENDIF(SALOME_BUILD_DOC)
FILE(GLOB MEDOPFactoryEngine_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
INSTALL(FILES ${MEDOPFactoryEngine_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
-INSTALL(FILES test_medop_components.py PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS}/xmed)
+IF(SALOME_ENABLE_PYTHON)
+ INSTALL(FILES test_medop_components.py PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS}/xmed)
+ENDIF()