Make Okteta submodule self-contained, in prepartion of git migration

Also adds helper macro KDESDK_OPTIONAL_ADD_SUBDIRECTORY for listing all the
self-containing submodules without breaking the builds for those without a
complete checkout of the whole KDESDK module

CCMAIL:kde-sdk-devel@kde.org

svn path=/trunk/KDE/kdesdk/okteta/; revision=1297780
parent 0f887b49
cmake_minimum_required(VERSION 2.6)
project( okteta )
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
include(MacroLibrary)
macro_optional_find_package( QCA2 )
macro_log_feature( QCA2_FOUND "QCA2" "Qt Cryptographic Architecture" "http://delta.affinix.com/qca" FALSE "2.0.0" "Needed for most of the algorithms of the checksum tool." )
add_definitions( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)
# control build scope
# TODO: examples and templates not internal need headers and libs as installed
# so they can be only build after the installation was done
......@@ -81,3 +97,5 @@ add_subdirectory( program )
if (QT_QTDECLARATIVE_FOUND AND OKTETA_MOBILE_UI)
macro_optional_add_subdirectory(mobile)
endif (QT_QTDECLARATIVE_FOUND AND OKTETA_MOBILE_UI)
macro_display_feature_log()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment