summaryrefslogtreecommitdiffstats
path: root/drkonqi
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 13:02:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 13:02:03 -0600
commit9cf4f4be1a5457158e13632a7105d86a3730144b (patch)
treeb00b02461baaa8958ebf66981b2eac5757bc864a /drkonqi
parent75aed00fe95e5b2cc7a101f082372acb9c529efc (diff)
downloadtdebase-9cf4f4be1a5457158e13632a7105d86a3730144b.tar.gz
tdebase-9cf4f4be1a5457158e13632a7105d86a3730144b.zip
Add an option to build the crashtest program
Diffstat (limited to 'drkonqi')
-rw-r--r--drkonqi/CMakeLists.txt11
-rw-r--r--drkonqi/Makefile.am2
2 files changed, 12 insertions, 1 deletions
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