aboutsummaryrefslogtreecommitdiff
path: root/samples/kcalc/knumber/tests
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-01-07 16:35:35 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-01-07 16:35:35 +0000
commit5a927c38ec1d47da5cabadd887e53eed9aff332c (patch)
tree400e0b58de1911bf0291f8f0d559108e9b8f928f /samples/kcalc/knumber/tests
parentba732a732a6036c9c11c6635f574c199c6dfbab7 (diff)
downloadextra-cmake-modules-5a927c38ec1d47da5cabadd887e53eed9aff332c.tar.gz
extra-cmake-modules-5a927c38ec1d47da5cabadd887e53eed9aff332c.tar.bz2
-am2cmake: added support for installing kcfg files
-KDE3Macros.cmake: improved ADD_FILE_DEPEDENCY macro -added sample CMakeLists.txt for kpager, kcalc, kio_man, and view1394 Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=495285
Diffstat (limited to 'samples/kcalc/knumber/tests')
-rw-r--r--samples/kcalc/knumber/tests/CMakeLists.txt59
1 files changed, 59 insertions, 0 deletions
diff --git a/samples/kcalc/knumber/tests/CMakeLists.txt b/samples/kcalc/knumber/tests/CMakeLists.txt
new file mode 100644
index 00000000..c10282a3
--- /dev/null
+++ b/samples/kcalc/knumber/tests/CMakeLists.txt
@@ -0,0 +1,59 @@
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/kcalc/knumber ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
+
+
+########### next target ###############
+
+SET(knumbertest_SRCS
+knumbertest.cpp
+)
+
+KDE3_AUTOMOC(${knumbertest_SRCS})
+
+IF(KDE3_BUILD_TESTS)
+KDE3_ADD_EXECUTABLE(knumbertest ${knumbertest_SRCS})
+
+TARGET_LINK_LIBRARIES(knumbertest ${QT_AND_KDECORE_LIBS} )
+
+ENDIF(KDE3_BUILD_TESTS)
+
+########### install files ###############
+
+
+KDE3_PLACEHOLDER()
+
+
+
+#original Makefile.am contents follow:
+
+## This file is part of the KDE libraries
+## Copyright (C) 1996-1997 Matthias Kalle Dalheimer (kalle@kde.org)
+## (C) 1997-1998 Stephan Kulow (coolo@kde.org)
+#
+## This library is free software; you can redistribute it and/or
+## modify it under the terms of the GNU Library General Public
+## License as published by the Free Software Foundation; either
+## version 2 of the License, or (at your option) any later version.
+#
+## This library is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## Library General Public License for more details.
+#
+## You should have received a copy of the GNU Library General Public License
+## along with this library; see the file COPYING.LIB. If not, write to
+## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+## Boston, MA 02111-1307, USA.
+#
+#INCLUDES = -I$(top_srcdir)/kcalc/knumber $(all_includes)
+#
+#check_PROGRAMS = knumbertest
+#
+#TESTS = knumbertest
+#
+#noinst_HEADERS = knumbertest.h
+#
+#METASOURCES = AUTO
+#
+#knumbertest_SOURCES = knumbertest.cpp
+#knumbertest_LDADD = ../libknumber.la $(LIB_QT) $(LIBGMP)
+#knumbertest_LDFLAGS = $(all_libraries) $(KDE_RPATH)