Commit 4627fbd4 authored by Stefan Majewsky's avatar Stefan Majewsky

Allow split build for all games except libkmahjongg dependencies.

Most of this is straightforward. Some more complicated changes are in
1. libkdegames: I needed to fix the headers <KgAudioScene> and
   <KgSound>, which did not refer to the right include location when
   installed.
2. kgoldrunner: Its CMake code may not depend on OpenAL and libsndfile
   anymore. KGoldRunner therefore now uses the new
   <libkdegames_capabilities.h> header and enables sound only if
   KGAUDIO_BACKEND_OPENAL is set.

KMahjongg and KShisen are not done yet. I could not create a
config-script for KMahjongg because CMake currently gets confused over
exported targets in multiple source directories. (D'oh...)

svn path=/trunk/KDE/kdegames/ksirk/; revision=1294007
parent 8f4a91eb
project(ksirk)
if(NOT COMPILING_KDEGAMES)
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
include(MacroLibrary)
find_package(KDEGames REQUIRED)
find_package(QCA2 REQUIRED)
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
include_directories(${QDBUS_INCLUDE_DIRS} ${KDE4_INCLUDES} ${KDEGAMES_INCLUDE_DIRS})
macro_log_feature(QCA2_FOUND "QCA2" "Qt Cryptographic Architecture" "http://delta.affinix.com/qca" TRUE "2.0.0" "Needed to build Ksirk Jabber support's GroupWise and Jabberprotocols.")
macro_display_feature_log()
endif(NOT COMPILING_KDEGAMES)
KDE4_NO_ENABLE_FINAL(ksirk)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
......
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