diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 7 | ||||
-rw-r--r-- | README | 14 |
3 files changed, 22 insertions, 1 deletions
@@ -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}) @@ -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) |