CMakeLists.txt 870 Bytes
Newer Older
Andreas Cord-Landwehr's avatar
Andreas Cord-Landwehr committed
1 2 3 4 5
# ArtiKulate CMakeLists.txt file
#

project(artikulate)

6 7 8 9 10
set ( CMAKE_MODULE_PATH
     ${CMAKE_SOURCE_DIR}/cmake/modules
     ${CMAKE_MODULE_PATH}
)

Andreas Cord-Landwehr's avatar
Andreas Cord-Landwehr committed
11 12 13 14 15 16 17
find_package(KDE4 4.9.0 REQUIRED)
include(KDE4Defaults)

include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} ${QT4_INCLUDES})
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)

# subdirectories to build
18 19
add_subdirectory(data)
add_subdirectory(schemes)
Andreas Cord-Landwehr's avatar
Andreas Cord-Landwehr committed
20 21 22 23 24 25
#add_subdirectory(doc)
add_subdirectory(src)
#add_subdirectory(sounds)
#add_subdirectory(images)
#add_subdirectory(icons)

26 27 28 29 30 31
# Build Tests if KDE_TEST is on
if(KDE4_BUILD_TESTS)
    enable_testing()
    add_subdirectory(autotests)
endif(KDE4_BUILD_TESTS)

Andreas Cord-Landwehr's avatar
Andreas Cord-Landwehr committed
32 33 34 35
# files to install in the artikulate project root directory
install( PROGRAMS artikulate.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )

macro_display_feature_log()