summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--CMakeLists.txt7
-rw-r--r--README14
3 files changed, 22 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index aa12f3d..fc865ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,5 @@ doc/
packages/
.*
/packages
+/patch
+ProjectSpecific/
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d63451..4dde49b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,7 +23,12 @@ execute_process(COMMAND git describe --tags WORKING_DIRECTORY ${CMAKE_CURRENT_SO
OUTPUT_STRIP_TRAILING_WHITESPACE)
IF (NOT DAEMONVERSION)
- SET( DAEMONVERSION "homebrew-${CMAKE_SOURCE_DIR}" )
+ #Can be changed via passing -DVERSION="XXX" to cmake
+ IF(NOT DEFINED VERSION)
+ SET( DAEMONVERSION "homebrew-${CMAKE_SOURCE_DIR}" )
+ ELSE (NOT DEFINED VERSION)
+ SET( DAEMONVERSION "${VERSION}" )
+ ENDIF(NOT DEFINED VERSION)
ELSE (NOT DAEMONVERSION)
STRING(REGEX REPLACE "(-)[^-]+$" "" DAEMONVERSION ${DAEMONVERSION})
STRING(REGEX REPLACE "-" "." DAEMONVERSION ${DAEMONVERSION})
diff --git a/README b/README
index 67eb30e..8d6a5ba 100644
--- a/README
+++ b/README
@@ -56,6 +56,20 @@ COMPILE PROGRAMS
WITH_TESTS ON
+Passing options to cmake:
+***********************************************************************************************************
+-DVERSION="XXX"
+ when building the AudioManager without taking it from the git (and thus having a .git folder), you
+ can set the version via via passing -DVERSION="XXX" to cmake, default: "homebrew-${CMAKE_SOURCE_DIR}"
+-DDBUS_SERVICE_PREFIX="XXX"
+ sets the service prefix for Dbus, default "org.genivi.audiomanager\0"
+-DDBUS_SERVICE_OBJECT_PATH="XXX"
+ sets the object path for Dbus, default "/org/genivi/audiomanager\0"
+-DDEFAULT_TELNETPORT="XXX"
+ sets the default telnetport, default 6060. Can be overwriten by command line parameter
+-DMAX_TELNETCONNECTIONS="XXX"
+ sets the default maximum number of telnetconnections, default is 3
+
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)