summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-11 13:02:03 -0600
committerTimothy Pearson <[email protected]>2012-01-11 13:02:03 -0600
commit9cf4f4be1a5457158e13632a7105d86a3730144b (patch)
treeb00b02461baaa8958ebf66981b2eac5757bc864a
parent75aed00fe95e5b2cc7a101f082372acb9c529efc (diff)
downloadtdebase-9cf4f4be1a5457158e13632a7105d86a3730144b.tar.gz
tdebase-9cf4f4be1a5457158e13632a7105d86a3730144b.zip
Add an option to build the crashtest program
-rw-r--r--CMakeLists.txt1
-rw-r--r--drkonqi/CMakeLists.txt11
-rw-r--r--drkonqi/Makefile.am2
3 files changed, 13 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4d11ac16..a84947806 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,6 +129,7 @@ option( BUILD_KXKB "Build kxkb" ${BUILD_ALL} )
option( BUILD_TSAK "Build tsak" ${BUILD_ALL} )
option( BUILD_KROOTBACKING "Build krootbacking" ${BUILD_ALL} )
option( BUILD_TQT3INTEGRATION "Build tqt3integration" ${BUILD_ALL} )
+option( BUILD_CRASHTEST "Build crash test program" ${BUILD_ALL} )
##### set PKG_CONFIG_PATH #######################
diff --git a/drkonqi/CMakeLists.txt b/drkonqi/CMakeLists.txt
index 3fa8f67f0..db2883745 100644
--- a/drkonqi/CMakeLists.txt
+++ b/drkonqi/CMakeLists.txt
@@ -34,3 +34,14 @@ tde_add_executable( drkonqi AUTOMOC
LINK kio-shared
DESTINATION ${BIN_INSTALL_DIR}
)
+
+##### crashtest (executable) ######################
+
+if( BUILD_CRASHTEST )
+ tde_add_executable( crashtest AUTOMOC
+ SOURCES
+ crashtest.cpp
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+endif( BUILD_CRASHTEST )
diff --git a/drkonqi/Makefile.am b/drkonqi/Makefile.am
index ad04f8132..a07f140d0 100644
--- a/drkonqi/Makefile.am
+++ b/drkonqi/Makefile.am
@@ -8,7 +8,7 @@ METASOURCES = AUTO
EXTRA_DIST = LICENSE
-bin_PROGRAMS = drkonqi
+bin_PROGRAMS = drkonqi crashtest
# Libraries:
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor