• jcfr's avatar
    ENH: Slicer Base libraries, ModuleMRML and ModuleLogic targets are exported · e466bcbc
    jcfr authored
    Both global list Slicer_Libs_LIBRARIES and Slicer_Base_LIBRARIES have
    been removed. It means libraries are expected to specify explicitly
    their dependencies.
    Variable Slicer_CORE_LIBRARY and Slicer_GUI_LIBRARY have been introduced.
    They should be used each time it's required to link against qSlicerBaseQTCore
    or qSlicerBaseQTGUI.
    The variable MRML_LIBRARIES has been introduced, it should be used each
    time a module is expected to link against the trhee libraries
     MRML, MRMLLogic and MRMLDisplayableManager. The rational behind this variable
    is too anticipate a future possible relocation of MRML related libraries
    outside of Slicer.
    Waiting we setup a way to export the include directory associated with
    all libraries so that they can be available to extension using SlicerConfig.
    tThese diretories are still automatically appended to the global variables:
    Slicer_Libs_INCLUDE_DIRS, Slicer_Base_INCLUDE_DIRS, Slicer_ModuleMRML_INCLUDE_DIRS
    and Slicer_ModuleLogic_INCLUDE_DIRS
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16490 3bd1e089-480b-0410-8dfb-8563597acbee
SlicerMacroBuildBaseQtLibrary.cmake 8.31 KB