From 9cf4f4be1a5457158e13632a7105d86a3730144b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 11 Jan 2012 13:02:03 -0600 Subject: Add an option to build the crashtest program --- drkonqi/CMakeLists.txt | 11 +++++++++++ drkonqi/Makefile.am | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'drkonqi') 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 -- cgit v1.2.1