X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=16d9b802e27d343b7f46d17089f4113c66b95d7b;hb=89190b853409c3d0465232da6dd11e4c0a0b73d7;hp=1037b43e31b14bf004f4ea615f869c34de49f0a0;hpb=b4d1733a12d6aa1e2f349dbd1dc38943fd571ada;p=src%2Fapp-framework-binder.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 1037b43e..16d9b802 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,21 +16,22 @@ # limitations under the License. ########################################################################### -PROJECT(afb-daemon C) +CMAKE_MINIMUM_REQUIRED(VERSION 3.0) -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) -SET(CMAKE_BUILD_TYPE Debug) -SET(CMAKE_POSITION_INDEPENDENT_CODE ON) +PROJECT(afb-daemon C CXX) SET(PROJECT_NAME "AFB Daemon") SET(PROJECT_PRETTY_NAME "Application Framework Binder Daemon") SET(PROJECT_DESCRIPTION "Secured binder of API for clients of the Application framework") -SET(PROJECT_VERSION "1.0") -SET(PROJECT_URL "https://github.com/iotbzh/afb-daemon") +SET(PROJECT_VERSION "4.99-EERC1") +set(PROJECT_URL "https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/app-framework-binder.git;a=summary") SET(LIBAFBWSC_VERSION "1.0") SET(LIBAFBWSC_SOVERSION "1") +SET(CMAKE_BUILD_TYPE Debug) +SET(CMAKE_POSITION_INDEPENDENT_CODE ON) + INCLUDE(FindPkgConfig) INCLUDE(CheckIncludeFiles) INCLUDE(CheckLibraryExists) @@ -95,6 +96,8 @@ IF(cynara_FOUND) ADD_DEFINITIONS(-DBACKEND_PERMISSION_IS_CYNARA) ENDIF(cynara_FOUND) +ADD_DEFINITIONS(-DAFB_VERSION="${PROJECT_VERSION}") + INCLUDE_DIRECTORIES( ${INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/include