Skip to content
Snippets Groups Projects
  • Jonathan Schöbel's avatar
    f86bd5cf
    setup library (make & API) · f86bd5cf
    Jonathan Schöbel authored
    The make process was restructured to create a library. For this libtool
    is used to provide both static and dynamic linking. Also header
    inclusion guards were introduced, to prevent clients of the library to
    include some single file without including others. The types were
    exported with forward declarations for better abstraction. When
    compiling the library, the macro LIB_SEFHT_COMPILATION is defined and
    symbol declarations are exported fully. For compiling the tests this
    macro is also defined, as the tests not only tests the API, but also the
    internal state, because a lot of errors couldn't be detected otherwise.
    f86bd5cf
    History
    setup library (make & API)
    Jonathan Schöbel authored
    The make process was restructured to create a library. For this libtool
    is used to provide both static and dynamic linking. Also header
    inclusion guards were introduced, to prevent clients of the library to
    include some single file without including others. The types were
    exported with forward declarations for better abstraction. When
    compiling the library, the macro LIB_SEFHT_COMPILATION is defined and
    symbol declarations are exported fully. For compiling the tests this
    macro is also defined, as the tests not only tests the API, but also the
    internal state, because a lot of errors couldn't be detected otherwise.