-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
90 lines (82 loc) · 2.22 KB
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 2.8.3)
project(monitor_generator)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -lboost_log -pthread -DBOOST_LOG_DYN_LINK")
include_directories(
/usr/include
)
find_package(
Boost 1.58.0 COMPONENTS
system
filesystem
program_options
log
thread
REQUIRED
)
include_directories(${Boost_INCLUDE_DIRS})
add_executable(
monitor_generator
generator/generator.cpp
generator/generator.h
generator/ast_node.cpp
generator/ast_node.h
generator/ast_optimizer.cpp
generator/ast_optimizer.h
generator/block_generator.cpp
generator/block_generator.h
generator/connection_normalform_generator.cpp
generator/connection_normalform_generator.h
generator/generator_framework.h
generator/generator_framework.cpp
generator/main.cpp
generator/syntx/alternation.cc
generator/syntx/alternation.h
generator/syntx/ast_draw.h
generator/syntx/base_rule.cc
generator/syntx/base_rule.h
generator/syntx/character.cc
generator/syntx/character.h
generator/syntx/concatenation.cc
generator/syntx/concatenation.h
generator/syntx/debug_action.h
generator/syntx/eol.cc
generator/syntx/eol.h
generator/syntx/epsilon.h
generator/syntx/identifier.cc
generator/syntx/identifier.h
generator/syntx/integer.cc
generator/syntx/integer.h
generator/syntx/keyword.cc
generator/syntx/keyword.h
generator/syntx/option.cc
generator/syntx/option.h
generator/syntx/parser.h
generator/syntx/range.cc
generator/syntx/range.h
generator/syntx/real.cc
generator/syntx/real.h
generator/syntx/repetition.cc
generator/syntx/repetition.h
generator/syntx/repetition_or_epsilon.cc
generator/syntx/repetition_or_epsilon.h
generator/syntx/rule.cc
generator/syntx/rule.h
generator/syntx/search.cc
generator/syntx/search.h
generator/syntx/string.cc
generator/syntx/string.h
generator/syntx/substring.cc
generator/syntx/substring.h
generator/syntx/whitespace.cc
generator/syntx/whitespace.h
generator/syntx/whitespace_not_newline.cc
generator/syntx/whitespace_not_newline.h
generator/syntx/enum_set.h
generator/syntx/language.h
generator/syntx/ltl.h
generator/syntx/ltl.cc
)
target_link_libraries(
monitor_generator
${Boost_LIBRARIES}
)