summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-01-15 12:37:58 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-01-15 13:53:53 +0100
commit23c90675c09d4e2947b5a827a5ebcd5516c0270e (patch)
tree796d95afdbc72201836719bb7774ddef5d02dc01 /README
parenta4a4c50ff375d94fa90c13d293b145176f214bf4 (diff)
downloadaudiomanager-23c90675c09d4e2947b5a827a5ebcd5516c0270e.tar.gz
* added package creation based on cpack
* updated .gitignore
Diffstat (limited to 'README')
-rw-r--r--README89
1 files changed, 61 insertions, 28 deletions
diff --git a/README b/README
index 954fc1e..beded22 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ GENIVI AUDIOMANAGER
Copyright (C) 2011, BMW AG
-Datum 14.12.2012
+Datum 15.1.2012
author Christian Müller (christian.ei.mueller@bmw.de)
***********************************************************************************************************
@@ -33,18 +33,21 @@ COMPILE PROGRAMS
***********************************************************************************************************
- compile options with default values:
- CMAKE_BUILD_TYPE
- CMAKE_INSTALL_PREFIX /usr/local
- WITH_DBUS_WRAPPER ON
- WITH_DOCUMENTATION OFF
- WITH_MAIN ON
- WITH_PLUGIN_COMMAND ON
- WITH_PLUGIN_CONTROL ON
- WITH_PLUGIN_ROUTING ON
- WITH_PPOLL ON
- WITH_SIMPLEDBUS_LOOP OFF
- WITH_SOCKETHANDLER_LOOP ON
- WITH_TESTS ON
+ CMAKE_BUILD_TYPE
+ CMAKE_INSTALL_PREFIX /usr/local
+ USE_BUILD_LIBS OFF
+ WITH_DBUS_WRAPPER ON
+ WITH_DOCUMENTATION OFF
+ WITH_MAIN ON
+ WITH_PLUGIN_COMMAND ON
+ WITH_PLUGIN_CONTROL ON
+ WITH_PLUGIN_ROUTING ON
+ WITH_PPOLL ON
+ WITH_SIMPLEDBUS_LOOP OFF
+ WITH_SOCKETHANDLER_LOOP ON
+ WITH_TELNET OFF
+ WITH_TESTS ON
+
In order to change these options, you can modify this values with ccmake, do the appropriate changes in CmakeList.txt or via
the commandline for cmake or (when installed via ccmake)
@@ -84,25 +87,55 @@ In order to build the project (out of source build), please follow these instruc
after the script finished, you should have:
- a /bin folder which contains all executables and the libraries:
- a /build folder which has all build objects (erase that if you need a clean build)
- a /doc folder in case you turned the documentation on
+ a bin/ folder which contains all executables and the libraries:
+ a build/ folder which has all build objects (erase that if you need a clean build)
+ a doc/ folder in case you turned the documentation on
-The commandline options of the AudioManager:
+in order to install the AudioManager, you can do
+
+ sudo make install
+
+package generation is supported via CPack. To build packages, you have to
+
+ make genivi_package
+
+this will create one package if your CMake version is < 2.8.5 (all binaries stripped):
+
+ AudioManager-<git verison>-Linux.deb
+
+if your version is above, you will get 4 packages (all binaries stripped) :
+
+ AudioManager-<git verison>-Linux-bin.deb [AudioManager binary]
+ AudioManager-<git verison>-Linux-dev.deb [header files needed to compile plugins]
+ AudioManager-<git verison>-Linux-sampleplugins.deb [sample plugins]
+ AudioManager-<git verison>-Linux-tests.deb [tests including tests for sample plugins, installed in the ~/AudioMAnagerTests]
-Usage: AudioManagerDaemon [options]
-options:
- -h: print this message
- -v: print version
- -d: daemonize AudioManager
- -p: path for sqlite database (default is in memory)
- -c: <Name> use controllerPlugin <Name> (full path with .so ending)
- -l: <Name> replace command plugin directory with <Name> (full path)
- -r: <Name> replace routing plugin directory with <Name> (full path)
- -L: <Name> add command plugin directory with <Name> (full path)
- -R: <Name> add routing plugin directory with <Name> (full path)
+to create a tar.gz file of all sources (not including .git, build and bin folder,config files), you can do:
+ make package_source
+
+This will create the following package:
+
+ AudioManager-<git verison>-Source.tar.gz
+
+All packages will be placed in a folder called packages
+
+The commandline options of the AudioManager:
+ Usage: AudioManagerDaemon [options]
+ options:
+ -h: print this message
+ -i: info about current settings
+ -v: print version
+ -d: daemonize AudioManager
+ -p<path> path for sqlite database (default is in memory)
+ -t<port> port for telnetconnection
+ -m<max> number of max telnetconnections
+ -c<Name> use controllerPlugin <Name> (full path with .so ending)
+ -l<Name> replace command plugin directory with <Name> (full path)
+ -r<Name> replace routing plugin directory with <Name> (full path)
+ -L<Name> add command plugin directory with <Name> (full path)
+ -R<Name> add routing plugin directory with <Name> (full path)