Buildsystem for kdeedu 4.6 now fixed

Nicolas Alvarez nicolas.alvarez at gmail.com
Tue May 24 02:24:47 CEST 2011


I finished fixing kdeedu 4.6 so that apps build *both* standalone and in a 
monolithic tarball.

You can use something as simple as this in the top-level CMakeLists.txt:

project(libkdeedu)
find_package(KDE4)

include(KDE4Defaults)

add_definitions(-DUSE_UNINSTALLED_LIBKDEEDU=1)

add_subdirectory(blinken)
add_subdirectory(cantor)
add_subdirectory(kalgebra)
add_subdirectory(kalzium)
add_subdirectory(kanagram)
add_subdirectory(kbruch)
add_subdirectory(kgeography)
add_subdirectory(khangman)
add_subdirectory(kig)
add_subdirectory(kiten)
add_subdirectory(klettres)
add_subdirectory(kmplot)
add_subdirectory(kstars)
add_subdirectory(ktouch)
add_subdirectory(kturtle)
add_subdirectory(kwordquiz)
add_subdirectory(libkdeedu)
add_subdirectory(marble)
add_subdirectory(parley)
add_subdirectory(rocs)
add_subdirectory(step)

It still needs some work to handle missing dependencies correctly (by 
skipping *only* the app that needs that dependency). And there are also some 
hackish solutions that could be improved.

But if all deps are installed, it will build, and it will install files in 
the same directories as before splitting.

-- 
Nicolas




More information about the release-team mailing list