aboutsummaryrefslogtreecommitdiff
path: root/ports/ragel/CMakeLists.txt
blob: 2f5d1dc0006559503bbc413a086382f12df46c80 (plain)
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
cmake_minimum_required(VERSION 3.0)
project(ragel)

file(GLOB HEADERS
	ragel/buffer.h
	ragel/cdgoto.h
	ragel/cscodegen.h
	ragel/csipgoto.h
	ragel/inputdata.h
	ragel/rbxgoto.h
	ragel/rubyflat.h
	ragel/cdcodegen.h
	ragel/cdipgoto.h
	ragel/csfflat.h
	ragel/cssplit.h
	ragel/javacodegen.h
	ragel/redfsm.h
	ragel/rubyftable.h
	ragel/cdfflat.h
	ragel/cdsplit.h
	ragel/csfgoto.h
	ragel/cstable.h
	ragel/parsedata.h
	ragel/rlparse.h
	ragel/rubytable.h
	ragel/cdfgoto.h
	ragel/cdtable.h
	ragel/csflat.h
	ragel/dotcodegen.h
	ragel/parsetree.h
	ragel/rlscan.h
	ragel/version.h
	ragel/cdflat.h
	ragel/common.h
	ragel/csftable.h
	ragel/fsmgraph.h
	ragel/pcheck.h
	ragel/rubycodegen.h
	ragel/xmlcodegen.h
	ragel/cdftable.h
	ragel/csgoto.h
	ragel/gendata.h
	ragel/ragel.h
	ragel/rubyfflat.h
	ragel/gocodegen.h
	ragel/gotable.h
	ragel/goftable.h
	ragel/goflat.h
	ragel/gofflat.h
	ragel/gogoto.h
	ragel/gofgoto.h
	ragel/goipgoto.h
	ragel/gotablish.h
	ragel/mlcodegen.h
	ragel/mltable.h
	ragel/mlftable.h
	ragel/mlflat.h
	ragel/mlfflat.h
	ragel/mlgoto.h
	ragel/mlfgoto.h
)

file(GLOB SRC
	ragel/main.cpp
	ragel/parsetree.cpp
	ragel/parsedata.cpp
	ragel/fsmstate.cpp
	ragel/fsmbase.cpp
	ragel/fsmattach.cpp
	ragel/fsmmin.cpp
	ragel/fsmgraph.cpp
	ragel/fsmap.cpp
	ragel/rlscan.cpp
	ragel/rlparse.cpp
	ragel/inputdata.cpp
	ragel/common.cpp
	ragel/redfsm.cpp
	ragel/gendata.cpp
	ragel/cdcodegen.cpp
	ragel/cdtable.cpp
	ragel/cdftable.cpp
	ragel/cdflat.cpp
	ragel/cdfflat.cpp
	ragel/cdgoto.cpp
	ragel/cdfgoto.cpp
	ragel/cdipgoto.cpp
	ragel/cdsplit.cpp
	ragel/javacodegen.cpp
	ragel/rubycodegen.cpp
	ragel/rubytable.cpp
	ragel/rubyftable.cpp
	ragel/rubyflat.cpp
	ragel/rubyfflat.cpp
	ragel/rbxgoto.cpp
	ragel/cscodegen.cpp
	ragel/cstable.cpp
	ragel/csftable.cpp
	ragel/csflat.cpp
	ragel/csfflat.cpp
	ragel/csgoto.cpp
	ragel/csfgoto.cpp
	ragel/csipgoto.cpp
	ragel/cssplit.cpp
	ragel/dotcodegen.cpp
	ragel/xmlcodegen.cpp
	ragel/gocodegen.cpp
	ragel/gotable.cpp
	ragel/goftable.cpp
	ragel/goflat.cpp
	ragel/gofflat.cpp
	ragel/gogoto.cpp
	ragel/gofgoto.cpp
	ragel/goipgoto.cpp
	ragel/gotablish.cpp
	ragel/mlcodegen.cpp
	ragel/mltable.cpp
	ragel/mlftable.cpp
	ragel/mlflat.cpp
	ragel/mlfflat.cpp
	ragel/mlgoto.cpp
	ragel/mlfgoto.cpp
)

include_directories(aapl)

add_executable(ragel ${SRC})

install(TARGETS ragel DESTINATION tools CONFIGURATIONS Release)