CMakeLists.txt 723 Bytes
Newer Older
1
project(akabei)
2
cmake_minimum_required(VERSION 2.6)
3 4
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
5
find_package(KDE4 REQUIRED)
6 7
find_package(AkabeiClient REQUIRED)
find_package(AkabeiCore REQUIRED)
8

9 10
include (KDE4Defaults)
include (MacroLibrary)
11

12 13
include_directories(${QT_INCLUDES} 
                    ${CMAKE_CURRENT_BINARY_DIR}
14 15 16
                    ${KDE4_INCLUDE_DIR}
                    ${AKABEICLIENT_INCLUDE_DIR}
                    ${AKABEICORE_INCLUDE_DIR})
17 18 19 20

set(apm_SRCS apm.cpp main.cpp)
#qt4_automoc(${guzuta_SRCS})
kde4_add_executable(akabei ${apm_SRCS})
21
target_link_libraries(akabei ${KDE4_KDEUI_LIBRARY} ${AKABEICLIENT_LIBRARIES})