X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=SalomeMEDConfig.cmake.in;h=bd7b3ae31b0a2d3760644fb6744e7e102f99f074;hb=52e9bc98f03af15017e9019a3e5ea67db43198d5;hp=bf623c8c7da487b497d7913d28d4974af895e1eb;hpb=b23988dad1f2a39ed6630f1ee4eb090e240d9b27;p=modules%2Fmed.git diff --git a/SalomeMEDConfig.cmake.in b/SalomeMEDConfig.cmake.in index bf623c8c7..bd7b3ae31 100644 --- a/SalomeMEDConfig.cmake.in +++ b/SalomeMEDConfig.cmake.in @@ -48,8 +48,6 @@ SET(MED_DEFINITIONS) #### Now the specificities # Options exported by the package: -SET(SALOME_MED_STANDALONE @SALOME_MED_STANDALONE@) -SET(SALOME_MED_MICROMED @SALOME_MED_MICROMED@) SET(SALOME_MED_ENABLE_PYTHON @SALOME_MED_ENABLE_PYTHON@) SET(SALOME_USE_MPI @SALOME_USE_MPI@) SET(SALOME_MED_BUILD_DOC @SALOME_BUILD_DOC@) @@ -62,14 +60,10 @@ SET(SALOME_MED_BUILD_GUI @SALOME_BUILD_GUI@) # Optional level 1 prerequisites: -IF(NOT SALOME_MED_MICROMED) - SET_AND_CHECK(MEDFILE_ROOT_DIR_EXP "@PACKAGE_MEDFILE_ROOT_DIR@") -ENDIF(NOT SALOME_MED_MICROMED) +SET_AND_CHECK(MEDFILE_ROOT_DIR_EXP "@PACKAGE_MEDFILE_ROOT_DIR@") -IF(NOT SALOME_MED_STANDALONE) - SET_AND_CHECK(KERNEL_ROOT_DIR_EXP "@PACKAGE_KERNEL_ROOT_DIR@") - LIST(APPEND MED_DEFINITIONS "@KERNEL_DEFINITIONS@") -ENDIF(NOT SALOME_MED_STANDALONE) +SET_AND_CHECK(KERNEL_ROOT_DIR_EXP "@PACKAGE_KERNEL_ROOT_DIR@") +LIST(APPEND MED_DEFINITIONS "@KERNEL_DEFINITIONS@") IF(SALOME_MED_BUILD_GUI) SET_AND_CHECK(GUI_ROOT_DIR_EXP "@PACKAGE_GUI_ROOT_DIR@") LIST(APPEND MED_DEFINITIONS "@GUI_DEFINITIONS@") @@ -123,38 +117,34 @@ SET(SALOME_INSTALL_RES "@SALOME_INSTALL_RES@") IF(SALOME_MED_BUILD_GUI) # Include GUI targets if they were not already loaded: - IF(NOT (TARGET Event) AND NOT SALOME_MED_STANDALONE) - INCLUDE("${GUI_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE_LOCAL}/SalomeGUITargets.cmake") - ENDIF() + INCLUDE("${GUI_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE_LOCAL}/SalomeGUITargets.cmake") ELSE(SALOME_MED_BUILD_GUI) - IF(NOT SALOME_MED_STANDALONE) - # Include KERNEL targets if they were not already loaded: - IF(NOT (TARGET SALOMEBasics) AND NOT SALOME_MED_STANDALONE) - INCLUDE("${KERNEL_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE}/SalomeKERNELTargets.cmake") - ENDIF() - ENDIF(NOT SALOME_MED_STANDALONE) + # Include KERNEL targets if they were not already loaded: + IF(NOT (TARGET SALOMEBasics)) + INCLUDE("${KERNEL_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE}/SalomeKERNELTargets.cmake") + ENDIF() ENDIF(SALOME_MED_BUILD_GUI) # Exposed MED targets: -SET(MED_interpkernel interpkernel) -SET(MED_medcoupling medcoupling) -SET(MED_medcouplingremapper medcouplingremapper) -SET(MED_medloader medloader) -SET(MED_renumbercpp renumbercpp) -SET(MED_medpartitionercpp medpartitionercpp) -SET(MED_MEDPARTITIONERTest MEDPARTITIONERTest) -SET(MED_InterpKernelTest InterpKernelTest) -SET(MED_paramedmem paramedmem) -SET(MED_paramedloader paramedloader) -SET(MED_paramedcouplingcorba paramedcouplingcorba) -SET(MED_paramedmemcompo paramedmemcompo) -SET(MED_ParaMEDMEMTest ParaMEDMEMTest) -SET(MED_SalomeIDLMED SalomeIDLMED) -SET(MED_SalomeIDLMEDTests SalomeIDLMEDTests) -SET(MED_medcouplingcorba medcouplingcorba) -SET(MED_medcouplingclient medcouplingclient) -SET(MED_medcalculator medcalculator) -SET(MED_medcalculatorspython medcalculatorspython) -SET(MED_MEDFactoryEngine MEDFactoryEngine) -SET(MED_MEDCALCGUI_dialogs MEDCALCGUI_dialogs) -SET(MED_MEDCALCGUI MEDCALCGUI) +# SET(MED_interpkernel interpkernel) +# SET(MED_medcoupling medcoupling) +# SET(MED_medcouplingremapper medcouplingremapper) +# SET(MED_medloader medloader) +# SET(MED_renumbercpp renumbercpp) +# SET(MED_medpartitionercpp medpartitionercpp) +# SET(MED_MEDPARTITIONERTest MEDPARTITIONERTest) +# SET(MED_InterpKernelTest InterpKernelTest) +# SET(MED_paramedmem paramedmem) +# SET(MED_paramedloader paramedloader) +# SET(MED_paramedcouplingcorba paramedcouplingcorba) +# SET(MED_paramedmemcompo paramedmemcompo) +# SET(MED_ParaMEDMEMTest ParaMEDMEMTest) +# SET(MED_SalomeIDLMED SalomeIDLMED) +# SET(MED_SalomeIDLMEDTests SalomeIDLMEDTests) +# SET(MED_medcouplingcorba medcouplingcorba) +# SET(MED_medcouplingclient medcouplingclient) +# SET(MED_medcalculator medcalculator) +# SET(MED_medcalculatorspython medcalculatorspython) +# SET(MED_MEDFactoryEngine MEDFactoryEngine) +# SET(MED_MEDCALCGUI_dialogs MEDCALCGUI_dialogs) +# SET(MED_MEDCALCGUI MEDCALCGUI)