- add all cmake files
[platform/upstream/libzypp.git] / examples / CMakeLists.txt
1 INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}  )
2
3
4 ########### next target ###############
5
6 SET(read_plaindir_source_SRCS
7 read_plaindir_source.cc
8 )
9
10 KDE3_AUTOMOC(${read_plaindir_source_SRCS})
11
12 KDE3_ADD_EXECUTABLE(read_plaindir_source ${read_plaindir_source_SRCS})
13
14 TARGET_LINK_LIBRARIES(read_plaindir_source  ${QT_AND_KDECORE_LIBS} )
15
16
17 ########### install files ###############
18
19
20
21
22 #original Makefile.am contents follow:
23
24 ### Process this file with automake to produce Makefile.in
25 ### ##################################################
26 #
27 #noinst_PROGRAMS = read_plaindir_source
28 #
29 ### ##################################################
30 #
31 #INCLUDES = -I$(oldincludedir)/libxml2
32 #AM_LDFLAGS =
33 #
34 #AM_CXXFLAGS =
35 ## gperf:       -pg
36 #
37 #LDADD =                -L$(top_srcdir)/zypp/.libs -lzypp -lboost_regex -lxml2 -lz
38 #
39 ### ##################################################
40 #
41 #read_plaindir_source_SOURCES =         read_plaindir_source.cc
42 #read_plaindir_source_LDFLAGS = -static
43 #
44 #.PHONY:        always
45 #
46 #$(noinst_PROGRAMS):    $(top_srcdir)/zypp/lib@PACKAGE@.la
47 #
48 #$(top_srcdir)/zypp/lib@PACKAGE@.la:     always
49 #       $(MAKE) -C $(top_srcdir)/zypp
50 #
51 ### ##################################################