File: CMakeLists.txt

package info (click to toggle)
kdevelop 4%3A3.3.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 48,900 kB
  • ctags: 30,911
  • sloc: cpp: 289,305; sh: 18,675; makefile: 3,890; perl: 3,261; ruby: 2,081; ansic: 1,779; python: 1,636; xml: 577; yacc: 421; java: 359; lex: 252; php: 20; ada: 5; fortran: 4; pascal: 4; haskell: 2; sql: 1
file content (129 lines) | stat: -rw-r--r-- 5,015 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
SUBDIRS( templates subclassing_template newclass_templates file_templates  	app_templates compiler pcsimporter debugger doc )

INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/languages/lib/designer_integration ${CMAKE_BINARY_DIR}/languages/lib/designer_integration ${CMAKE_SOURCE_DIR}/languages/lib/interfaces ${CMAKE_SOURCE_DIR}/lib/catalog ${CMAKE_SOURCE_DIR}/lib/compat ${CMAKE_SOURCE_DIR}/lib/cppparser ${CMAKE_SOURCE_DIR}/lib/interfaces ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions ${CMAKE_SOURCE_DIR}/lib/interfaces/external ${CMAKE_SOURCE_DIR}/lib/util ${CMAKE_SOURCE_DIR}/bdb/include ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})

SET(kdevcppsupport_PART_SRCS
cppsupportpart.cpp
ccconfigwidget.cpp
kdevdriver.cpp
cppcodecompletion.cpp
problemreporter.cpp
backgroundparser.cpp
ast_utils.cpp
store_walker.cpp
KDevCppSupportIface.cpp
cppsupportfactory.cpp
tag_creator.cpp
codeinformationrepository.cpp
doxydoc.cpp
cppcodecompletionconfig.cpp
cppnewclassdlg.cpp
classgeneratorconfig.cpp
subclassingdlg.cpp
addattributedialog.cpp
addmethoddialog.cpp
cppsupport_utils.cpp
createpcsdialog.cpp
cppimplementationwidget.cpp
qtdesignercppintegration.cpp
creategettersetterconfiguration.cpp
creategettersetterconfiguration.h
creategettersetterdialog.cpp
creategettersetterdialog.h
storeconverter.cpp
qtbuildconfig.cpp
)

SET( kdevcppsupport_UI
ccconfigwidgetbase.ui
configproblemreporter.ui
cppnewclassdlgbase.ui
classgeneratorconfigbase.ui
subclassingdlgbase.ui
addattributedialogbase.ui
addmethoddialogbase.ui
createpcsdialogbase.ui
creategettersetter.ui
)

SET( kdevcppsupport_DCOP_SRCS
KDevCppSupportIface.h
)

KDE_AUTOMOC(${kdevcppsupport_PART_SRCS})

KDE_ADD_UI_FILES(kdevcppsupport_PART_SRCS ${kdevcppsupport_UI} )

KDE_ADD_DCOP_SKELS(kdevcppsupport_PART_SRCS ${kdevcppsupport_DCOP_SRCS})

ADD_LIBRARY(kdevcppsupport MODULE ${kdevcppsupport_PART_SRCS})

TARGET_LINK_LIBRARIES(kdevcppsupport kdevelop DCOP kdevcatalog kdevcppparser lang_interfaces designerintegration)

KDE_CREATE_LIBTOOL_FILE(kdevcppsupport)

SET(rpp_SRCS main.cpp)

ADD_EXECUTABLE(r++ ${rpp_SRCS})

TARGET_LINK_LIBRARIES(r++ kdevelop kdevcppparser kdevcatalog kdevcppsupport)

INSTALL_TARGETS(/bin r++)
INSTALL_TARGETS(/lib/kde3 kdevcppsupport)

#original Makefile.am contents follow:

## Here resides the C/C++ support part.
#
#SUBDIRS = templates subclassing_template newclass_templates file_templates \
#	app_templates compiler pcsimporter debugger doc
#
#INCLUDES = -I$(top_srcdir)/languages/lib/designer_integration \
#	-I$(top_srcdir)/languages/lib/interfaces -I$(top_srcdir)/lib/catalog -I$(top_srcdir)/lib/compat \
#	-I$(top_srcdir)/lib/cppparser -I$(top_srcdir)/lib/interfaces \
#	-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util \
#	-I$(top_builddir)/languages/lib/designer_integration -I$(top_builddir)/bdb/build_unix -I$(top_srcdir)/bdb/include \
#	$(all_includes)
#
#kde_module_LTLIBRARIES = libkdevcppsupport.la
#libkdevcppsupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
#libkdevcppsupport_la_LIBADD = $(top_builddir)/lib/libkdevelop.la \
#	$(top_builddir)/lib/catalog/libkdevcatalog.la $(top_builddir)/lib/cppparser/libkdevcppparser.la \
#	$(top_builddir)/languages/lib/interfaces/liblang_interfaces.la \
#	$(top_builddir)/languages/lib/designer_integration/libdesignerintegration.la
#
#libkdevcppsupport_la_SOURCES = cppsupportpart.cpp ccconfigwidget.cpp \
#			ccconfigwidgetbase.ui kdevdriver.cpp cppcodecompletion.cpp problemreporter.cpp \
#			configproblemreporter.ui backgroundparser.cpp ast_utils.cpp store_walker.cpp \
#			KDevCppSupportIface.cpp KDevCppSupportIface.skel cppsupportfactory.cpp tag_creator.cpp \
#			codeinformationrepository.cpp doxydoc.cpp cppcodecompletionconfig.cpp cppnewclassdlgbase.ui \
#			cppnewclassdlg.cpp classgeneratorconfig.cpp classgeneratorconfigbase.ui subclassingdlg.cpp \
#			subclassingdlgbase.ui addattributedialogbase.ui addmethoddialogbase.ui addattributedialog.cpp \
#			addmethoddialog.cpp cppsupport_utils.cpp createpcsdialogbase.ui createpcsdialog.cpp \
#			cppimplementationwidget.cpp qtdesignercppintegration.cpp creategettersetterconfiguration.cpp \
#		creategettersetterconfiguration.h creategettersetterdialog.cpp creategettersetterdialog.h \
#		creategettersetter.ui storeconverter.cpp
#
#METASOURCES = AUTO
#
#servicedir = $(kde_servicesdir)
#service_DATA = kdevcppsupport.desktop kdevcsupport.desktop
#
#rcdir = $(kde_datadir)/kdevcppsupport
#rc_DATA = kdevcppsupport.rc
#
#templatedir = ${kde_datadir}/kdevabbrev/templates
#template_DATA = cpptemplates
#
#configurationdir = ${kde_datadir}/kdevcppsupport
#configuration_DATA = configuration
#
#AM_CXXFLAGS = -DAST_DEBUG
#
#bin_PROGRAMS = r++
#r___LDFLAGS = $(all_libraries)
#r___SOURCES = main.cpp
#r___DEPENDENCIES = libkdevcppsupport.la
#r___LDADD = libkdevcppsupport.la $(top_builddir)/lib/catalog/libkdevcatalog.la $(top_builddir)/lib/cppparser/libkdevcppparser.la
#noinst_HEADERS = cppimplementationwidget.h qtdesignercppintegration.h \
#	storeconverter.h