• Benoît LÉ's avatar
    [xInterfaceMatlib] Add xInterfaceMatlib · b9a90544
    Benoît LÉ authored
    Based on work initiated by G. Legrain.
    
    Interface between eXlibris and Matlib material library ("lite" version can be  downloaded here:
    https://git.gem.ec-nantes.fr/MatLib/Lite).
    
    To compile this interface:
    
    1) Download and compile Matlib. It must be compiled using the add_definitions( -DMATLIB_USE_MATLIB_NAMESPACE)
    
    2) Install Matlib in a /my/path/to/matlib/ such that libraries are installed in /my/path/to/matlib/lib and
    include in /my/path/to/matlib/include. Path to sources /my/path/to/matlib/src will also be necessary
    
    3) Add
    
    if(USE_MATLIB)
        set(MATLIB_PATH "/my/path/to/matlib/src will also be necessary"  CACHE INTERNAL "Matlib install path")#
    endif(USE_MATLIB)
    
    to the LocalConfig.cmake file. The line "is_not_installed ( USE_MATLIB )" (which is by default activated in the
     template LocalConfig.cmake of GeMUtil) may eventually need to be commented
    
    4) Set BUILD_XINTERFACE_MATLIB and USE_MATLIB to "ON" in the main CMakeLists.txt
    
    5) (Try to) compile !
    
    To use i...
    b9a90544