diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-06 22:03:48 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-06 22:03:48 +0000 |
commit | 0f962a277e58ccb2c6d9ee36ce68966db9b071cc (patch) | |
tree | e5341e2fcac3338daf25796bc20ae8c16307673e /CMakeLists.txt | |
parent | 19158a8de8416c95f7c961e107c475dd786f6449 (diff) | |
download | tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.tar.gz tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.zip |
[kdegraphics] cmake support for kamera, kcoloredit, and kviewshell
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230743 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 57cfa602..4928d498 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,10 +49,13 @@ option( WITH_LIBPAPER "Enable libpaper support" OFF ) ##### user requested modules #################### option( BUILD_ALL "Build all" OFF ) +option( BUILD_KAMERA "Build kamera" ${BUILD_ALL} ) +option( BUILD_KCOLOREDIT "Build kcoloredit" ${BUILD_ALL} ) option( BUILD_KVIEW "Build kview" ${BUILD_ALL} ) option( BUILD_KRULER "Build kruler" ${BUILD_ALL} ) option( BUILD_KPDF "Build kpdf" ${BUILD_ALL} ) option( BUILD_KSVG "Build ksvg" ${BUILD_ALL} ) +option( BUILD_KVIEWSHELL "Build kviewshell" ${BUILD_ALL} ) ##### configure checks ########################## @@ -66,17 +69,20 @@ add_definitions( -DHAVE_CONFIG_H ) -set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS} -fexceptions" ) +set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) ##### kdegraphics directories ################### +tde_conditional_add_subdirectory( BUILD_KAMERA kamera ) +tde_conditional_add_subdirectory( BUILD_KCOLOREDIT kcoloredit ) tde_conditional_add_subdirectory( BUILD_KVIEW kview ) tde_conditional_add_subdirectory( BUILD_KRULER kruler ) tde_conditional_add_subdirectory( BUILD_KPDF kpdf ) tde_conditional_add_subdirectory( BUILD_KSVG ksvg ) +tde_conditional_add_subdirectory( BUILD_KVIEWSHELL kviewshell ) ##### write configure files ##################### |