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 (140 lines) | stat: -rw-r--r-- 3,050 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
130
131
132
133
134
135
136
137
138
139
140

ADD_SUBDIRECTORY(lib)

OPTION(WITH_ADA "Compile support for the Ada language" ON)
OPTION(WITH_BASH "Compile support for shell script language" ON)
OPTION(WITH_CPP "Compile support for the C/C++ language" ON)
OPTION(WITH_FORTRAN "Compile support for the Fortran language" ON)
OPTION(WITH_HASKELL "Compile support for the Haskell language" ON)
OPTION(WITH_JAVA    "Compile support for the Java language" ON)
OPTION(WITH_PASCAL  "Compile support for the Pascal language" ON)
OPTION(WITH_PERL    "Compile support for the Perl language" ON)
OPTION(WITH_PHP     "Compile support for the PHP language" ON)
OPTION(WITH_PYTHON  "Compile support for the Python language" ON)
OPTION(WITH_RUBY    "Compile support for the Ruby language" ON)
OPTION(WITH_SQL     "Compile support for the SQL language" ON)

IF (WITH_ADA)
   ADD_SUBDIRECTORY(ada)
ENDIF(WITH_ADA)

IF (WITH_BASH)
   ADD_SUBDIRECTORY( bash)
ENDIF(WITH_BASH)

IF (WITH_CPP)
   ADD_SUBDIRECTORY( cpp)
ENDIF(WITH_CPP)

IF (WITH_FORTRAN)
   ADD_SUBDIRECTORY( fortran)
ENDIF(WITH_FORTRAN)

IF (WITH_HASKELL)
   ADD_SUBDIRECTORY(haskell)
ENDIF(WITH_HASKELL)

IF (WITH_JAVA)
   ADD_SUBDIRECTORY(java)
ENDIF(WITH_JAVA)

IF (WITH_PASCAL)
   ADD_SUBDIRECTORY( pascal)
ENDIF(WITH_PASCAL)

IF (WITH_PERL)
   ADD_SUBDIRECTORY(perl)
ENDIF(WITH_PERL)

IF (WITH_PHP)
   ADD_SUBDIRECTORY( php)
ENDIF(WITH_PHP)

IF (WITH_PYTHON)
   ADD_SUBDIRECTORY(python)
ENDIF(WITH_PYTHON)

IF (WITH_RUBY)
   ADD_SUBDIRECTORY(ruby)
ENDIF(WITH_RUBY)

IF (WITH_SQL)
   ADD_SUBDIRECTORY(sql)
ENDIF(WITH_SQL)

#original Makefile.am contents follow:

###
### Do NOT remove the comments that start with "kdevelop:"
### They are actually directives to the kdevelop plugin system
###
### The include_xxxx variables are controlled by configure.in.in
###
#
#if include_ada
#ADA_LANGUAGE = ada
#endif
#
#if include_bash
#BASH_LANGUAGE = bash
#endif
#
#if include_cpp
#CPP_LANGUAGE = cpp
#endif
#
#if include_fortran
#FORTRAN_LANGUAGE = fortran
#endif
#
#if include_haskell
#HASKELL_LANGUAGE = haskell
#endif
#
#if include_java
#JAVA_LANGUAGE = java
#endif
#
#if include_pascal
#PASCAL_LANGUAGE = pascal
#endif
#
#if include_perl
#PERL_LANGUAGE = perl
#endif
#
#if include_php
#PHP_LANGUAGE = php
#endif
#
#if include_python
#PYTHON_LANGUAGE = python
#endif
#
#if include_ruby
#RUBY_LANGUAGE = ruby
#endif
#
#if include_sql
#SQL_LANGUAGE = sql
#endif
#
##kdevelop: ADA_LANGUAGE = ada
##kdevelop: BASH_LANGUAGE = bash
##kdevelop: CPP_LANGUAGE = cpp
##kdevelop: FORTRAN_LANGUAGE = fortran
##kdevelop: HASKELL_LANGUAGE = haskell
##kdevelop: JAVA_LANGUAGE = java
##kdevelop: PASCAL_LANGUAGE = pascal
##kdevelop: PERL_LANGUAGE = perl
##kdevelop: PHP_LANGUAGE = php
##kdevelop: PYTHON_LANGUAGE = python
##kdevelop: RUBY_LANGUAGE = ruby
##kdevelop: SQL_LANGUAGE = sql
#
#SUBDIRS = lib $(ADA_LANGUAGE) $(BASH_LANGUAGE) $(CPP_LANGUAGE) \
#	$(FORTRAN_LANGUAGE) $(HASKELL_LANGUAGE) $(JAVA_LANGUAGE) $(PASCAL_LANGUAGE) \
#	$(PERL_LANGUAGE) $(PHP_LANGUAGE) $(PYTHON_LANGUAGE) $(RUBY_LANGUAGE) $(SQL_LANGUAGE)
#
#DOXYGEN_EMPTY = YES
#include ../Doxyfile.am