~benoitg/akonadigoogle/master

« back to all changes in this revision

Viewing changes to libkgoogle/CMakeLists.txt

  • Committer: Dan Vrátil
  • Date: 2012-04-29 19:24:42 UTC
  • Revision ID: git-v1:efb32159c283168cc2ab1a39e6fa3c8a30fbc941
Move the Akonadi Resources to kdepim-runtime

The resources have been moved to kdepim-runtime, this repo now only contains
the LibKGoogle library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
project(libkgoogle)
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)
6
 
 
7
 
cmake_minimum_required(VERSION 2.8)
8
 
 
9
 
option(DEBUG_RAWDATA "Log raw data send and received from Google service (enables CMAKE_BUILD_TYPE=Debug)" FALSE)
10
 
if (DEBUG_RAWDATA)
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)
13
 
else (DEBUG_RAWDATA)
14
 
  SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel.")
15
 
endif (DEBUG_RAWDATA)
16
 
 
17
 
add_definitions(-DLIBKGOOGLE_LIBRARY)
18
 
 
19
 
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
20
 
 
21
1
set(libkgoogle_SRCS
22
2
    accessmanager.cpp
23
3
    accessmanager_p.cpp