2
set(KGOOGLE_VERSION_MAJOR 0)
3
set(KGOOGLE_VERSION_MINOR 3)
4
set(KGOOGLE_VERSION_RELEASE 1)
5
set(KGOOGLE_VERSION 0.3.1)
7
cmake_minimum_required(VERSION 2.8)
9
option(DEBUG_RAWDATA "Log raw data send and received from Google service (enables CMAKE_BUILD_TYPE=Debug)" FALSE)
11
SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
12
add_definitions(-DDEBUG_RAWDATA)
14
SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel.")
17
add_definitions(-DLIBKGOOGLE_LIBRARY)
19
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )