2 cmake_minimum_required(VERSION 2.6)
3 set(CMAKE_VERBOSE_MAKEFILE ON)
5 # Check if we are building under scratchbox and link with QtMaemo5 only in that case.
6 # Thus, we maintain desktop build-ability also
7 set (SCRATCHBOX_UNAME $ENV{SBOX_UNAME_MACHINE})
10 MESSAGE("Configuring for building under Scratchbox..")
11 SET(CMAKE_INSTALL_PREFIX /usr)
12 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
13 endif (SCRATCHBOX_UNAME)
15 add_definitions(-Wall -g)
17 find_package(Qt4 REQUIRED)
19 add_subdirectory(./dbus)
20 add_subdirectory(./src/client)
21 add_subdirectory(./src/server)
22 #add_subdirectory(./src/utest)