Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

A set of components to build command-line generators based on the Common API framework.

License

Notifications You must be signed in to change notification settings

Pelagicore/common-api-cmdline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This repo is kept for reference only, there is no further development planned.

Introduction

The package provides components to build command-line generators based on the CommonAPI framework.

Usage

The command line tool is called commonAPICodeGen. The basic usage is:

./commonAPICodeGen -f <filename>.fdepl -o <outputdir> dbus

In this example, the actual generator used is the dbus generator. Run the tool without arguments to get a more detailed usage guide.

Building

This repository depends on a number of other repositories, the build instructions include them.

Start by checking out the following repositories:

In order to build these repositories, start by defining and installation path. I choose to export it as follows:

export INSTPATH=$HOME/GENIVI/inst

If you want to install everything in the default location (for system wide installs), simply ignore the cmake -D arguments and the INSTPATH definition.

Then continue to build common-api-cmdline.

cd common-api-cmdline
mkdir b
cd b
    cmake -DCMAKE_INSTALL_PREFIX=$INSTPATH ..
make
make install

Followed by common-api-tools.

cd common-api-tools
mkdir b
cd b
cmake -DCMAKE_MODULE_PATH=$INSTPATH/lib/cmake -DCMAKE_INSTALL_PREFIX=$INSTPATH ..
make
make install

Next comes common-api-dbus-integration.

cd common-api-dbus-integration
mkdir b
cd b
cmake -DCMAKE_MODULE_PATH=$INSTPATH/lib/cmake -DCMAKE_INSTALL_PREFIX=$INSTPATH ..
make
make install

And finally common-api-dbus-tools.

cd common-api-dbus-tools
mkdir b
cd b
cmake -DCMAKE_MODULE_PATH=$INSTPATH/lib/cmake -DCMAKE_INSTALL_PREFIX=$INSTPATH ..
make
make install

The end result should be a toolchain installed in INSTPATH.

License and Copyright

Copyright (C) 2015 Pelagicore AB

Please see LICENSE.txt for licensing information. This software is licensed under the MPL 2.0 license.

About

A set of components to build command-line generators based on the Common API framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published