project(KDESupport)
cmake_minimum_required(VERSION 2.4.5 FATAL_ERROR)

include(CTest)
set(CMAKE_INCLUDE_CURRENT_DIR ON)


if (CMAKE_COMPILER_IS_GNUCXX)
  set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g3 -fno-inline")
  set(CMAKE_C_FLAGS_DEBUGFULL        "-g3 -fno-inline")
endif()

include(MacroOptionalAddSubdirectory.cmake)
# We no longer recommend building QCA as part of "everything in kdesupport"
# Instead, use a package from your distribution (or build from packaged
# source: http://delta.affinix.com/qca/)
# You can, of course, build QCA from SVN to hack on it. In that case,
# use kdesupport/qca as the source for cmake, or just uncomment the next
# line.
#macro_optional_add_subdirectory(qca)


macro_optional_add_subdirectory(oxygen-icons)
macro_optional_add_subdirectory(taglib)
macro_optional_add_subdirectory(cpptoxml)
macro_optional_add_subdirectory(taglib-extras)
macro_optional_add_subdirectory(qimageblitz)
