Giter Club home page Giter Club logo

fty-common-db's Introduction

fty-common-db

Library providing :

  • Common methods and functions that require DB

How to build

To build fty-common project run:

./autogen.sh [clean]
./configure
make
make check # to run self-test

List of Available Headers

  • fty_common_db_asset.h
  • fty_common_db_asset_delete.h
  • fty_common_db_asset_insert.h
  • fty_common_db_asset_update.h
  • fty_common_db.h
  • fty_common_db_dbpath.h
  • fty_common_db_defs.h
  • fty_common_db_uptime.h

How compile using fty-common-db

project.xml

Add this block in the project.xml file :

<use project = "fty-common-db" libname = "libfty_common_db" header="fty_common_db.h"
    repository = "https://github.com/42ity/fty-common-db.git"
    release = "master" >
    <use project = "czmq"
        repository="https://github.com/42ity/czmq.git"
        release = "v3.0.2-FTY-master"
        min_major = "3" min_minor = "0" min_patch = "2" >
        <use project = "libzmq"
            repository="https://github.com/42ity/libzmq.git"
            release = "4.2.0-FTY-master" >
            <use project = "libsodium" prefix = "sodium"
                repository = "https://github.com/42ity/libsodium.git"
                release = "1.0.5-FTY-master"
                test = "sodium_init" />
        </use>
    </use>
    <use project = "tntdb"
        test="tntdb::Date::gmtime"
        repository = "https://github.com/42ity/tntdb.git"
        release = "1.3-FTY-master"
        builddir = "tntdb">
        <use project = "cxxtools" test="cxxtools::Utf8Codec::Utf8Codec" header="cxxtools/allocator.h"
            repository = "https://github.com/42ity/cxxtools.git"
            release = "2.2-FTY-master"
            />
    </use>
    <use project = "fty-common" libname = "libfty_common" header="fty_common.h"
        repository = "https://github.com/42ity/fty-common.git"
        release = "master" >
        <use project = "fty-common-logging" libname = "libfty_common_logging" header="fty_log.h"
            repository = "https://github.com/42ity/fty-common-logging.git"
            release = "master"
            test = "fty_common_logging_selftest" >
            <use project = "log4cplus" header = "log4cplus/logger.h" test = "appender_test"
                repository = "https://github.com/42ity/log4cplus.git"
                release = "1.1.2-FTY-master"
                />
        </use>
    </use>
</use>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.